mm: move shmem prototypes to shmem_fs.h
[linux/fpc-iii.git] / arch / arm / mach-dove / include / mach / system.h
blob356afda56853b1667ba3e61d9d79a8eb8bae64ff
1 /*
2 * arch/arm/mach-dove/include/mach/system.h
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
7 */
9 #ifndef __ASM_ARCH_SYSTEM_H
10 #define __ASM_ARCH_SYSTEM_H
12 #include <mach/bridge-regs.h>
14 static inline void arch_idle(void)
16 cpu_do_idle();
19 static inline void arch_reset(char mode, const char *cmd)
22 * Enable soft reset to assert RSTOUTn.
24 writel(SOFT_RESET_OUT_EN, RSTOUTn_MASK);
27 * Assert soft reset.
29 writel(SOFT_RESET, SYSTEM_SOFT_RESET);
31 while (1)
36 #endif