Browse Source

[PATCH] ARM: 2658/1: start ixp2000 pci memory resource at 0xe0000000

Patch from Lennert Buytenhek

On the IXDP2800, the bootloader does an awful job of configuring
the PCI bus, so we make linux reconfigure everything.  Having a 1:1
pci:phys address mapping generally simplifies everything, so try to
allocate PCI addresses from the [e0000000..ffffffff] range, which is
the physical address range of the outbound PCI window on the IXP2000.
This does not affect any of the other IXP2000 platforms since they
all use their bootloader's PCI resource assignment.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Lennert Buytenhek 20 years ago
parent
commit
ae36bf5861
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-ixp2000/pci.c

+ 1 - 1
arch/arm/mach-ixp2000/pci.c

@@ -208,7 +208,7 @@ ixp2000_pci_preinit(void)
  * use our own resource space.
  * use our own resource space.
  */
  */
 static struct resource ixp2000_pci_mem_space = {
 static struct resource ixp2000_pci_mem_space = {
-	.start	= 0x00000000,
+	.start	= 0xe0000000,
 	.end	= 0xffffffff,
 	.end	= 0xffffffff,
 	.flags	= IORESOURCE_MEM,
 	.flags	= IORESOURCE_MEM,
 	.name	= "PCI Mem Space"
 	.name	= "PCI Mem Space"