forked from luck/tmp_suning_uos_patched
c471307437
Patch from Lennert Buytenhek This patch adds support for the Intel ixp23xx series of CPUs. The ixp23xx is an XSC3 based CPU with 512K of L2 cache, a 64bit 66MHz PCI interface, two DDR RAM interfaces, QDR RAM interfaces, two gigabit MACs, two 10/100 MACs, expansion bus, four microengines, a Media and Switch Fabric unit almost identical to the one on the ixp2400, two xscale (8250ish) UARTs and a bunch of other stuff. This patch adds the core ixp23xx support code, and support for the ADI Engineering Roadrunner, Intel IXDP2351, and IP Fabrics Double Espresso platforms. Signed-off-by: Deepak Saxena <dsaxena@plexity.net> Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
34 lines
774 B
C
34 lines
774 B
C
/*
|
|
* include/asm-arm/arch-ixp23xx/system.h
|
|
*
|
|
* Copyright (C) 2003 Intel Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <asm/hardware.h>
|
|
#include <asm/mach-types.h>
|
|
|
|
static inline void arch_idle(void)
|
|
{
|
|
#if 0
|
|
if (!hlt_counter)
|
|
cpu_do_idle();
|
|
#endif
|
|
}
|
|
|
|
static inline void arch_reset(char mode)
|
|
{
|
|
/* First try machine specific support */
|
|
if (machine_is_ixdp2351()) {
|
|
*IXDP2351_CPLD_RESET1_REG = IXDP2351_CPLD_RESET1_MAGIC;
|
|
(void) *IXDP2351_CPLD_RESET1_REG;
|
|
*IXDP2351_CPLD_RESET1_REG = IXDP2351_CPLD_RESET1_ENABLE;
|
|
}
|
|
|
|
/* Use on-chip reset capability */
|
|
*IXP23XX_RESET0 |= IXP23XX_RST_ALL;
|
|
}
|