summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common.h
diff options
context:
space:
mode:
authorJean-Sebastien A. Beaudry <jsabeaudry@handyem.com>2013-01-23 16:02:40 -0500
committerTony Lindgren <tony@atomide.com>2013-02-01 14:50:18 -0800
commit14e067c1a5280fe6fe5d3348a0bae87bc4da16db (patch)
tree3f612a3c8f9bc0e33c0ab977fa45e9868e933f31 /arch/arm/mach-omap2/common.h
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
downloadtalos-obmc-linux-14e067c1a5280fe6fe5d3348a0bae87bc4da16db.tar.gz
talos-obmc-linux-14e067c1a5280fe6fe5d3348a0bae87bc4da16db.zip
ARM: OMAP2+: AM33xx: Add SoC specific restart hook
Add restart hook so that DTS based AM33xx builds can restart the platform. Tested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Jean-Sebastien A. Beaudry <jsabeaudry@handyem.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index 948bcaa82eb6..0c3a991a240e 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -119,6 +119,14 @@ static inline void omap2xxx_restart(char mode, const char *cmd)
}
#endif
+#ifdef CONFIG_SOC_AM33XX
+void am33xx_restart(char mode, const char *cmd);
+#else
+static inline void am33xx_restart(char mode, const char *cmd)
+{
+}
+#endif
+
#ifdef CONFIG_ARCH_OMAP3
void omap3xxx_restart(char mode, const char *cmd);
#else
OpenPOWER on IntegriCloud