GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-w90x900 / include / mach / system.h
blob2bbcb98512e606af3e9caff36d28d01357e810ae
1 /*
2 * arch/arm/mach-w90x900/include/mach/system.h
4 * Copyright (c) 2008 Nuvoton technology corporation
5 * All rights reserved.
7 * Wan ZongShun <mcuos.com@gmail.com>
9 * Based on arch/arm/mach-s3c2410/include/mach/system.h
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
18 #include <linux/io.h>
19 #include <asm/proc-fns.h>
20 #include <mach/map.h>
21 #include <mach/regs-timer.h>
23 #define WTCR (TMR_BA + 0x1C)
24 #define WTCLK (1 << 10)
25 #define WTE (1 << 7)
26 #define WTRE (1 << 1)
28 static void arch_idle(void)
32 static void arch_reset(char mode, const char *cmd)
34 if (mode == 's') {
35 /* Jump into ROM at address 0 */
36 cpu_reset(0);
37 } else {
38 __raw_writel(WTE | WTRE | WTCLK, WTCR);