diff options
author | Markus Mayer <markus.mayer@linaro.org> | 2013-06-25 00:39:33 +0200 |
---|---|---|
committer | Christian Daudt <csd@broadcom.com> | 2013-08-09 00:19:19 +0200 |
commit | 257b49e3d8cd2b8e5a67c566e6db40a52f6185c0 (patch) | |
tree | b01a8204ffd734944c396d1372d10ee590d9c6de /arch/arm/mach-bcm/kona.h | |
parent | ARM bcm281xx: Turn on socket & network support. (diff) | |
download | linux-257b49e3d8cd2b8e5a67c566e6db40a52f6185c0.tar.xz linux-257b49e3d8cd2b8e5a67c566e6db40a52f6185c0.zip |
ARM: bcm281xx: Board specific reboot code
This patch adds the code needed to trigger a reboot on the bcm281xx
family.
Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Reviewed-by: Alex Elder <alex.elder@linaro.org>
Acked-by: Christian Daudt <csd@broadcom.com>
Diffstat (limited to 'arch/arm/mach-bcm/kona.h')
-rw-r--r-- | arch/arm/mach-bcm/kona.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/kona.h b/arch/arm/mach-bcm/kona.h new file mode 100644 index 000000000000..291eca3e06ff --- /dev/null +++ b/arch/arm/mach-bcm/kona.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2013 Broadcom Corporation + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include <linux/reboot.h> + +void bcm_kona_setup_restart(void); +void bcm_kona_restart(enum reboot_mode mode, const char *cmd); |