aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/include/mach
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 06:23:27 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 07:57:17 -0500
commit125c4033f0187d7264f08d7cf1474252df4f4c17 (patch)
tree95056d3c895c9b1245a9a340ec4dd7cd1cb48c06 /arch/arm/mach-prima2/include/mach
parenta1c1cee9adac4d2ab2d989cf83ada063cbd426d0 (diff)
ARM: restart: prima2: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Reviewed-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-prima2/include/mach')
-rw-r--r--arch/arm/mach-prima2/include/mach/system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-prima2/include/mach/system.h b/arch/arm/mach-prima2/include/mach/system.h
index 0dbd257ad16d..eb16b4bf570b 100644
--- a/arch/arm/mach-prima2/include/mach/system.h
+++ b/arch/arm/mach-prima2/include/mach/system.h
@@ -9,13 +9,6 @@
9#ifndef __MACH_SYSTEM_H__ 9#ifndef __MACH_SYSTEM_H__
10#define __MACH_SYSTEM_H__ 10#define __MACH_SYSTEM_H__
11 11
12#include <linux/bitops.h>
13#include <mach/hardware.h>
14
15#define SIRFSOC_SYS_RST_BIT BIT(31)
16
17extern void __iomem *sirfsoc_rstc_base;
18
19static inline void arch_idle(void) 12static inline void arch_idle(void)
20{ 13{
21 cpu_do_idle(); 14 cpu_do_idle();
@@ -23,7 +16,6 @@ static inline void arch_idle(void)
23 16
24static inline void arch_reset(char mode, const char *cmd) 17static inline void arch_reset(char mode, const char *cmd)
25{ 18{
26 writel(SIRFSOC_SYS_RST_BIT, sirfsoc_rstc_base);
27} 19}
28 20
29#endif 21#endif