From 35b47a405db2b26ce4e541e7add02e792b04f1fe Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 28 Nov 2011 10:48:02 +0000 Subject: ARM: restart: nomadik: use new restart hook Hook the Nomadik NHK platform restart code into the new restart hook. Signed-off-by: Russell King --- arch/arm/mach-nomadik/include/mach/system.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'arch/arm/mach-nomadik/include') diff --git a/arch/arm/mach-nomadik/include/mach/system.h b/arch/arm/mach-nomadik/include/mach/system.h index 7119f688116e..16f59f67eee1 100644 --- a/arch/arm/mach-nomadik/include/mach/system.h +++ b/arch/arm/mach-nomadik/include/mach/system.h @@ -20,9 +20,6 @@ #ifndef __ASM_ARCH_SYSTEM_H #define __ASM_ARCH_SYSTEM_H -#include -#include - static inline void arch_idle(void) { /* @@ -34,12 +31,6 @@ static inline void arch_idle(void) static inline void arch_reset(char mode, const char *cmd) { - void __iomem *src_rstsr = io_p2v(NOMADIK_SRC_BASE + 0x18); - - /* FIXME: use egpio when implemented */ - - /* Write anything to Reset status register */ - writel(1, src_rstsr); } #endif -- cgit v1.2.1