summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ep93xx/include/mach/system.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 13:54:14 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 16:57:10 +0400
commit3275166e0355131aa2349bf614a32591cfe1e118 (patch)
tree0d33648897ce20c0f0a73317ea94e8f86d00091f /arch/arm/mach-ep93xx/include/mach/system.h
parentda908260f21225d6f19ab29cfa401e550000eeae (diff)
downloadlinux-3275166e0355131aa2349bf614a32591cfe1e118.tar.xz
ARM: restart: ep93xx: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ep93xx/include/mach/system.h')
-rw-r--r--arch/arm/mach-ep93xx/include/mach/system.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/system.h b/arch/arm/mach-ep93xx/include/mach/system.h
index bdf6c4f1feef..b27a6546eb41 100644
--- a/arch/arm/mach-ep93xx/include/mach/system.h
+++ b/arch/arm/mach-ep93xx/include/mach/system.h
@@ -1,9 +1,6 @@
/*
* arch/arm/mach-ep93xx/include/mach/system.h
*/
-
-#include <mach/hardware.h>
-
static inline void arch_idle(void)
{
cpu_do_idle();
@@ -11,12 +8,4 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode, const char *cmd)
{
- /*
- * Set then clear the SWRST bit to initiate a software reset
- */
- ep93xx_devcfg_set_bits(EP93XX_SYSCON_DEVCFG_SWRST);
- ep93xx_devcfg_clear_bits(EP93XX_SYSCON_DEVCFG_SWRST);
-
- while (1)
- ;
}