Linux v2.6.15-rc7
[pohmelfs.git] / include / asm-arm / arch-cl7500 / system.h
bloba9505d6a74d7c194f96ab1d51d9828f31c8cfaab
1 /*
2 * linux/include/asm-arm/arch-cl7500/system.h
4 * Copyright (c) 1999 Nexus Electronics Ltd.
5 */
6 #ifndef __ASM_ARCH_SYSTEM_H
7 #define __ASM_ARCH_SYSTEM_H
9 #include <asm/hardware/iomd.h>
10 #include <asm/io.h>
12 static inline void arch_idle(void)
14 iomd_writeb(0, IOMD_SUSMODE);
17 #define arch_reset(mode) \
18 do { \
19 iomd_writeb(0, IOMD_ROMCR0); \
20 cpu_reset(0); \
21 } while (0)
23 #endif