2 * Copied from linux/include/asm-arm/arch-sa1100/system.h
3 * Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
5 #ifndef __ASM_ARCH_SYSTEM_H
6 #define __ASM_ARCH_SYSTEM_H
7 #include <linux/config.h>
8 #include <asm/mach-types.h>
9 #include <asm/arch/hardware.h>
10 #include <asm/mach-types.h>
12 static inline void arch_idle(void)
17 static inline void arch_reset(char mode
)
20 #ifdef CONFIG_ARCH_OMAP16XX
22 * Workaround for 5912/1611b bug mentioned in sprz209d.pdf p. 28
23 * "Global Software Reset Affects Traffic Controller Frequency".
25 if (cpu_is_omap5912()) {
26 omap_writew(omap_readw(DPLL_CTL
) & ~(1 << 4),
28 omap_writew(0x8, ARM_RSTCT1
);
31 #ifdef CONFIG_MACH_VOICEBLUE
32 if (machine_is_voiceblue())
36 omap_writew(1, ARM_RSTCT1
);