1 /* 2 * arch/arm/mach-vt8500/include/mach/system.h 3 * 4 */ 5 #include <asm/io.h> 6 7 /* PM Software Reset request register */ 8 #define VT8500_PMSR_VIRT 0xf8130060 9 arch_idle(void)10static inline void arch_idle(void) 11 { 12 cpu_do_idle(); 13 } 14 arch_reset(char mode,const char * cmd)15static inline void arch_reset(char mode, const char *cmd) 16 { 17 writel(1, VT8500_PMSR_VIRT); 18 } 19