diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-11-15 12:02:10 -0500 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-12-05 10:58:39 -0500 |
commit | ed5b9fa0d1c5ad1e01ff56b9acd3ff52bc783f66 (patch) | |
tree | d3068a6963c1e15d039323462a399175942fc08c /arch/arm/mach-ixp4xx/common-pci.c | |
parent | cba362221b12b102dff1f21b291fdc7b93e24a18 (diff) |
IXP4xx: Extend PCI MMIO indirect address space to 1 GB.
IXP4xx CPUs can indirectly access the whole 4 GB PCI MMIO address space (using
the non-prefetch registers). Previously the available space depended on the CPU
variant, since one of the IXP43x platforms needed more than the usual 128 MB.
1 GB should be enough for everyone, and if not, we can trivially increase it.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx/common-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/common-pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-ixp4xx/common-pci.c b/arch/arm/mach-ixp4xx/common-pci.c index 70afcfe5b881..c4a01594c761 100644 --- a/arch/arm/mach-ixp4xx/common-pci.c +++ b/arch/arm/mach-ixp4xx/common-pci.c | |||
@@ -481,11 +481,7 @@ int ixp4xx_setup(int nr, struct pci_sys_data *sys) | |||
481 | 481 | ||
482 | res[1].name = "PCI Memory Space"; | 482 | res[1].name = "PCI Memory Space"; |
483 | res[1].start = PCIBIOS_MIN_MEM; | 483 | res[1].start = PCIBIOS_MIN_MEM; |
484 | #ifndef CONFIG_IXP4XX_INDIRECT_PCI | 484 | res[1].end = PCIBIOS_MAX_MEM; |
485 | res[1].end = 0x4bffffff; | ||
486 | #else | ||
487 | res[1].end = 0x4fffffff; | ||
488 | #endif | ||
489 | res[1].flags = IORESOURCE_MEM; | 485 | res[1].flags = IORESOURCE_MEM; |
490 | 486 | ||
491 | request_resource(&ioport_resource, &res[0]); | 487 | request_resource(&ioport_resource, &res[0]); |