Linux v2.6.15-rc7
[pohmelfs.git] / include / asm-arm / arch-sa1100 / system.h
blob0f0612f79b2b0924476c0433add323028aa0372e
1 /*
2 * linux/include/asm-arm/arch-sa1100/system.h
4 * Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
5 */
6 #include <linux/config.h>
7 #include <asm/hardware.h>
9 static inline void arch_idle(void)
11 cpu_do_idle();
14 static inline void arch_reset(char mode)
16 if (mode == 's') {
17 /* Jump into ROM at address 0 */
18 cpu_reset(0);
19 } else {
20 /* Use on-chip reset capability */
21 RSRR = RSRR_SWR;