[PATCH] tb0219: convert to the new platform device interface
[linux-2.6/verdex.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;