Full support for Ginger Console
[linux-ginger.git] / arch / arm / mach-ep93xx / include / mach / system.h
blob6d661fe9d66c00d05ec8a8f61581206a007b6646
1 /*
2 * arch/arm/mach-ep93xx/include/mach/system.h
3 */
5 #include <mach/hardware.h>
7 static inline void arch_idle(void)
9 cpu_do_idle();
12 static inline void arch_reset(char mode, const char *cmd)
14 local_irq_disable();
17 * Set then clear the SWRST bit to initiate a software reset
19 ep93xx_devcfg_set_bits(EP93XX_SYSCON_DEVCFG_SWRST);
20 ep93xx_devcfg_clear_bits(EP93XX_SYSCON_DEVCFG_SWRST);
22 while (1)