]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[POWERPC] 86xx: Created quirk_fsl_pcie_transparent() to initialize bridge resources.
authorZhang Wei <wei.zhang@freescale.com>
Tue, 26 Jun 2007 23:22:40 +0000 (18:22 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:30 +0000 (01:58 -0500)
commit20243c72a8564ccd22437fd1bda16ca5bccd5701
tree21030a3febbc52db4c846c1b1be188a851fc6233
parent6d8ff10c3ab1e3d4a40788442f1369e868103e43
[POWERPC] 86xx: Created quirk_fsl_pcie_transparent() to initialize bridge resources.

The Freescale PCI-e RC poses as a transparent bridge, but does not
implement the IO_BASE or IO_LIMIT registers in the config space.  This
means that the code which initializes the bridge resources ends up
setting the IO resources erroneously.  Add quick_fsl_pcie_transparent()
to handle this.

This change sets RC of mpc8641 to be a transparent bridge
for legacy I/O access and initializes the RC bridge resources
from the device tree.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/pci.c