[POWERPC] 4xx: Add endpoint support to 4xx PCIe driver
authorStefan Roese <sr@denx.de>
Mon, 21 Apr 2008 14:54:30 +0000 (00:54 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 6 May 2008 17:10:43 +0000 (12:10 -0500)
commit80daac3f86d4f5aafc9d3e79addb90fa118244e2
tree06d914e7efffd6965eaa5d552f334c50b600c14a
parenta96df496ed1496f3e52a9b3c860cf967aa48adda
[POWERPC] 4xx: Add endpoint support to 4xx PCIe driver

This patch adds basic endpoint support to the 4xx PCIe driver.

This is done by checking the device_type property of the PCIe
device node ("pci" for root-complex and "pci-endpoint" for endpoint
configuration).

Note: Currently we map a fixed 64MByte window to PLB address 0 (SDRAM).
This should probably be configurable via a dts property.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/sysdev/ppc4xx_pci.c
This page took 0.027194 seconds and 5 git commands to generate.