2 * linux/include/asm-arm/arch-ixp2000/system.h
4 * Copyright (C) 2002 Intel Corp.
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.
11 #include <asm/hardware.h>
12 #include <asm/mach-types.h>
14 static inline void arch_idle(void)
19 static inline void arch_reset(char mode)
23 if (machine_is_ixdp2401() || machine_is_ixdp2801()) {
24 *IXDP2X01_CPLD_FLASH_REG = ((0 >> IXDP2X01_FLASH_WINDOW_BITS) | IXDP2X01_CPLD_FLASH_INTERN);
25 *IXDP2X01_CPLD_RESET_REG = 0xffffffff;
29 * We do a reset all if we are PCI master. We could be a slave and we
30 * don't want to do anything funky on the PCI bus.
32 if (*IXP2000_STRAP_OPTIONS & CFG_PCI_BOOT_HOST) {
33 *(IXP2000_RESET0) |= (RSTALL);