2 * include/asm-arm/arch-ixp4xx/hardware.h
4 * Copyright (C) 2002 Intel Corporation.
5 * Copyright (C) 2003-2004 MontaVista Software, Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
14 * Hardware definitions for IXP4xx based systems
17 #ifndef __ASM_ARCH_HARDWARE_H__
18 #define __ASM_ARCH_HARDWARE_H__
20 #define PCIBIOS_MIN_IO 0x00001000
21 #define PCIBIOS_MIN_MEM 0x48000000
24 * We override the standard dma-mask routines for bouncing.
26 #define HAVE_ARCH_PCI_SET_DMA_MASK
28 #define pcibios_assign_all_busses() 1
30 #if defined(CONFIG_CPU_IXP46X) && !defined(__ASSEMBLY__)
31 extern unsigned int processor_id
;
32 #define cpu_is_ixp465() ((processor_id & 0xffffffc0) == 0x69054200)
34 #define cpu_is_ixp465() (0)
37 /* Register locations and bits */
38 #include "ixp4xx-regs.h"
40 /* Platform helper functions and definitions */
43 /* Platform specific details */
46 #include "prpmc1100.h"
51 #endif /* _ASM_ARCH_HARDWARE_H */