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-orion5x / include / mach / system.h
bloba1d6e46ab0355fd5e6410ff4449bbcca28427d81
1 /*
2 * arch/arm/mach-orion5x/include/mach/system.h
4 * Tzachi Perelstein <tzachi@marvell.com>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
11 #ifndef __ASM_ARCH_SYSTEM_H
12 #define __ASM_ARCH_SYSTEM_H
14 #include <mach/bridge-regs.h>
16 static inline void arch_idle(void)
18 cpu_do_idle();
21 static inline void arch_reset(char mode, const char *cmd)
24 * Enable and issue soft reset
26 orion5x_setbits(RSTOUTn_MASK, (1 << 2));
27 orion5x_setbits(CPU_SOFT_RESET, 1);
28 mdelay(200);
29 orion5x_clrbits(CPU_SOFT_RESET, 1);
33 #endif