diff options
author | Jean-Sebastien A. Beaudry <jsabeaudry@handyem.com> | 2013-01-23 16:02:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-02-01 14:50:18 -0800 |
commit | 14e067c1a5280fe6fe5d3348a0bae87bc4da16db (patch) | |
tree | 3f612a3c8f9bc0e33c0ab977fa45e9868e933f31 /arch/arm/mach-omap2/common.h | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) |
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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 948bcaa82eb..0c3a991a240 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 |