MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-lpc22xx / system.h
blobdd83bc2ea35153a1bc36bfcca29973c8d6fac11d
1 /*
2 * linux/include/asm-arm/arch-lpc22xx/system.h
4 * Copyright (C) 2004 Philips Semiconductors
6 */
7 #ifndef __ASM_ARCH_SYSTEM_H
8 #define __ASM_ARCH_SYSTEM_H
10 #include <asm/hardware.h>
11 #include <asm/io.h>
14 static void arch_idle(void)
16 cpu_do_idle();
19 static inline void arch_reset(char mode)
21 /* machine should reboot */
22 mdelay(5000);
23 panic("Watchdog timer reset failed!\n");
24 printk(" Jump to address 0 \n");
25 cpu_reset(0);/*will jump to cpu_arm7_reset in proc-arm67.S,since lpc22xx have no cache,we must modify the code*/
28 #endif