[ARM] 3817/1: iop3xx: split the iop3xx mach into iop32x and iop33x
[linux-2.6/libata-dev.git] / include / asm-arm / arch-iop32x / system.h
blobd4c8d691e1b077cf99095265124f04af74ce8077
1 /*
2 * linux/include/asm-arm/arch-iop32x/system.h
4 * Copyright (C) 2001 MontaVista Software, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 static inline void arch_idle(void)
13 cpu_do_idle();
17 static inline void arch_reset(char mode)
19 *IOP321_PCSR = 0x30;
21 if ( 1 && mode == 's') {
22 /* Jump into ROM at address 0 */
23 cpu_reset(0);
24 } else {
25 /* No on-chip reset capability */
26 cpu_reset(0);