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-p2001 / system.h
blob927742f4ea178260032facd53459c89297c2bd94
1 /*
2 * linux/include/asm-armnommu/arch-p2001/system.h
4 * Copyright (C) 2004 Tobias Lorenz
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H
14 #include <asm/hardware.h>
15 #include <asm/io.h>
18 static void arch_idle(void)
20 cpu_do_idle();
23 static inline void arch_reset(char mode)
25 /* machine should reboot */
26 mdelay(5000);
27 panic("Watchdog timer reset failed!\n");
28 printk(" Jump to address 0 \n");
29 cpu_reset(0);
32 #endif