ARM: tegra: fix compilation error due to mach/hardware.h removal
[linux-btrfs-devel.git] / arch / arm / mach-mv78xx0 / include / mach / system.h
blob66e7ce4e90bd260fd037930633e71db9a52a6b02
1 /*
2 * arch/arm/mach-mv78xx0/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