aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/kona.h
diff options
context:
space:
mode:
authorMarkus Mayer <markus.mayer@linaro.org>2013-06-24 15:39:33 -0700
committerChristian Daudt <csd@broadcom.com>2013-08-08 15:19:19 -0700
commit257b49e3d8cd2b8e5a67c566e6db40a52f6185c0 (patch)
treeb01a8204ffd734944c396d1372d10ee590d9c6de /arch/arm/mach-bcm/kona.h
parent6dea0df2e79850bb30f83b9e7f975a8470ca6e92 (diff)
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.h17
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 00000000000..291eca3e06f
--- /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);