aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-nomadik/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-28 05:48:02 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 07:57:16 -0500
commit35b47a405db2b26ce4e541e7add02e792b04f1fe (patch)
tree96946eeda9923f29a8e609f5becc44e6dbe86b7d /arch/arm/mach-nomadik/include
parent8fb06b124288bf11d9fc2406864ef419c0ebce85 (diff)
ARM: restart: nomadik: use new restart hook
Hook the Nomadik NHK platform restart code into the new restart hook. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-nomadik/include')
-rw-r--r--arch/arm/mach-nomadik/include/mach/system.h9
1 files changed, 0 insertions, 9 deletions
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 @@
20#ifndef __ASM_ARCH_SYSTEM_H 20#ifndef __ASM_ARCH_SYSTEM_H
21#define __ASM_ARCH_SYSTEM_H 21#define __ASM_ARCH_SYSTEM_H
22 22
23#include <linux/io.h>
24#include <mach/hardware.h>
25
26static inline void arch_idle(void) 23static inline void arch_idle(void)
27{ 24{
28 /* 25 /*
@@ -34,12 +31,6 @@ static inline void arch_idle(void)
34 31
35static inline void arch_reset(char mode, const char *cmd) 32static inline void arch_reset(char mode, const char *cmd)
36{ 33{
37 void __iomem *src_rstsr = io_p2v(NOMADIK_SRC_BASE + 0x18);
38
39 /* FIXME: use egpio when implemented */
40
41 /* Write anything to Reset status register */
42 writel(1, src_rstsr);
43} 34}
44 35
45#endif 36#endif