From dd1661e27a7879d3af0024ba94e171522492dd2f Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 21:10:37 +0000 Subject: ARM: restart: spear: use new restart hook Hook these platforms restart code into the new restart hook rather than using arch_reset(). Acked-by: Viresh Kumar Signed-off-by: Russell King --- arch/arm/mach-spear6xx/include/mach/generic.h | 2 ++ arch/arm/mach-spear6xx/spear600_evb.c | 1 + 2 files changed, 3 insertions(+) (limited to 'arch/arm/mach-spear6xx') diff --git a/arch/arm/mach-spear6xx/include/mach/generic.h b/arch/arm/mach-spear6xx/include/mach/generic.h index 183f0238c5e..116b99301cf 100644 --- a/arch/arm/mach-spear6xx/include/mach/generic.h +++ b/arch/arm/mach-spear6xx/include/mach/generic.h @@ -41,6 +41,8 @@ void __init spear6xx_init(void); void __init spear600_init(void); void __init spear6xx_clk_init(void); +void spear_restart(char, const char *); + /* Add spear600 machine device structure declarations here */ #endif /* __MACH_GENERIC_H */ diff --git a/arch/arm/mach-spear6xx/spear600_evb.c b/arch/arm/mach-spear6xx/spear600_evb.c index 8238fe38e71..0a16559ba26 100644 --- a/arch/arm/mach-spear6xx/spear600_evb.c +++ b/arch/arm/mach-spear6xx/spear600_evb.c @@ -48,4 +48,5 @@ MACHINE_START(SPEAR600, "ST-SPEAR600-EVB") .init_irq = spear6xx_init_irq, .timer = &spear6xx_timer, .init_machine = spear600_evb_init, + .restart = spear_restart, MACHINE_END -- cgit v1.2.3