Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae36bf58 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8443b165
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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"