MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
[linux-2.6/linux-mips.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)