ARM: restart: ep93xx: use new restart hook
[deliverable/linux.git] / arch / arm / mach-ep93xx / include / mach / system.h
index bdf6c4f1feef9418cf5bc58f8ee70f8cd4949222..b27a6546eb41747b4fe4530764a4ec197082db41 100644 (file)
@@ -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)
-               ;
 }
This page took 0.025049 seconds and 5 git commands to generate.