diff options
Diffstat (limited to 'arch/arm/mach-orion5x/pci.c')
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index 503368023bb1..7fab67053030 100644 --- a/arch/arm/mach-orion5x/pci.c +++ b/arch/arm/mach-orion5x/pci.c | |||
@@ -157,11 +157,10 @@ static int __init pcie_setup(struct pci_sys_data *sys) | |||
157 | if (dev == MV88F5181_DEV_ID || dev == MV88F5182_DEV_ID) { | 157 | if (dev == MV88F5181_DEV_ID || dev == MV88F5182_DEV_ID) { |
158 | printk(KERN_NOTICE "Applying Orion-1/Orion-NAS PCIe config " | 158 | printk(KERN_NOTICE "Applying Orion-1/Orion-NAS PCIe config " |
159 | "read transaction workaround\n"); | 159 | "read transaction workaround\n"); |
160 | mvebu_mbus_add_window_remap_flags("pcie0.0", | 160 | mvebu_mbus_add_window_by_id(ORION_MBUS_PCIE_WA_TARGET, |
161 | ORION5X_PCIE_WA_PHYS_BASE, | 161 | ORION_MBUS_PCIE_WA_ATTR, |
162 | ORION5X_PCIE_WA_SIZE, | 162 | ORION5X_PCIE_WA_PHYS_BASE, |
163 | MVEBU_MBUS_NO_REMAP, | 163 | ORION5X_PCIE_WA_SIZE); |
164 | MVEBU_MBUS_PCI_WA); | ||
165 | pcie_ops.read = pcie_rd_conf_wa; | 164 | pcie_ops.read = pcie_rd_conf_wa; |
166 | } | 165 | } |
167 | 166 | ||