IXP4xx: Extend PCI MMIO indirect address space to 1 GB.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-ixp4xx / include / mach / hardware.h
blobf822b223b7e00f52480d21ff0d85f338622a6e56
1 /*
2 * arch/arm/mach-ixp4xx/include/mach/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 #ifdef CONFIG_IXP4XX_INDIRECT_PCI
22 #define PCIBIOS_MIN_MEM 0x10000000 /* 1 GB of indirect PCI MMIO space */
23 #define PCIBIOS_MAX_MEM 0x4FFFFFFF
24 #else
25 #define PCIBIOS_MIN_MEM 0x48000000 /* 64 MB of PCI MMIO space */
26 #define PCIBIOS_MAX_MEM 0x4BFFFFFF
27 #endif
30 * We override the standard dma-mask routines for bouncing.
32 #define HAVE_ARCH_PCI_SET_DMA_MASK
34 #define pcibios_assign_all_busses() 1
36 /* Register locations and bits */
37 #include "ixp4xx-regs.h"
39 #ifndef __ASSEMBLER__
40 #include <mach/cpu.h>
41 #endif
43 /* Platform helper functions and definitions */
44 #include "platform.h"
46 /* Platform specific details */
47 #include "ixdp425.h"
48 #include "avila.h"
49 #include "coyote.h"
50 #include "prpmc1100.h"
51 #include "nslu2.h"
52 #include "nas100d.h"
53 #include "dsmg600.h"
54 #include "fsg.h"
56 #endif /* _ASM_ARCH_HARDWARE_H */