diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 17:01:18 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 22:44:46 +0200 |
commit | 386a048a1ea42ff9ac87ffa344c4c19a5cc59678 (patch) | |
tree | fd6cab0e6bf41c5b112ce00f8cc36cc30ab6edfd /arch/arm/mach-orion5x/pci.c | |
parent | 044f6c7c449ae8ba0353b032706b098a7ad5e304 (diff) | |
download | linux-386a048a1ea42ff9ac87ffa344c4c19a5cc59678.tar.gz linux-386a048a1ea42ff9ac87ffa344c4c19a5cc59678.tar.bz2 linux-386a048a1ea42ff9ac87ffa344c4c19a5cc59678.zip |
[ARM] Orion: move setting up PCIe WA window into PCIe setup path
It makes no sense to do PCIe WA window setup in the individual
board support files while the decision whether or not to use the
PCIe WA access method is made in a different place, in the PCIe
support code.
This patch moves the configuration of a PCIe WA window from the
individual Orion board support files to the central Orion PCIe
support code.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion5x/pci.c')
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index 1bbfe24607b0..275a50046c1f 100644 --- a/arch/arm/mach-orion5x/pci.c +++ b/arch/arm/mach-orion5x/pci.c @@ -152,6 +152,8 @@ static int __init pcie_setup(struct pci_sys_data *sys) if (dev == MV88F5181_DEV_ID || dev == MV88F5182_DEV_ID) { printk(KERN_NOTICE "Applying Orion-1/Orion-NAS PCIe config " "read transaction workaround\n"); + orion5x_setup_pcie_wa_win(ORION5X_PCIE_WA_PHYS_BASE, + ORION5X_PCIE_WA_SIZE); pcie_ops.read = pcie_rd_conf_wa; } |