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-s3c24a0 / system.h
blob45a6e5187802479aa00758d963dfe2a13fbe8570
1 /*
2 * include/asm-arm/arch-s3c24a0/system.h
3 *
4 * $Id: system.h,v 1.3 2006/12/12 13:13:07 gerg Exp $
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 #include <asm/arch/hardware.h>
13 static inline
14 void arch_idle(void)
16 /* TODO */
17 cpu_do_idle(/*0*/);
20 static inline
21 void arch_reset(char mode)
23 if (mode == 's') {
24 /* Jump into ROM at address 0 */
25 cpu_reset(0);
26 } else {
27 WTCNT = 0x100;
28 WTDAT = 0x100;
29 WTCON = 0x8021;