diff options
author | Andrew Lunn <andrew@lunn.ch> | 2011-12-07 15:48:06 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-12-13 18:46:55 -0500 |
commit | 45173d5ed4c9a397db31623bf6469efbd3a239cd (patch) | |
tree | d4efe8af8c7b23ed2a97d2686a88037ea6bc7758 /arch/arm/mach-orion5x/pci.c | |
parent | b6d1c33a31deb1784c1d34070db6e84fd6f9d870 (diff) |
ARM: Orion: mbus_dram_info consolidation
Move the *_mbus_dram_info structure into the orion platform and call it
orion_mbus_dram_info everywhere.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-orion5x/pci.c')
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index bc4a920e26ee..ddfa01acdaaa 100644 --- a/arch/arm/mach-orion5x/pci.c +++ b/arch/arm/mach-orion5x/pci.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
19 | #include <asm/mach/pci.h> | 19 | #include <asm/mach/pci.h> |
20 | #include <plat/pcie.h> | 20 | #include <plat/pcie.h> |
21 | #include <plat/addr-map.h> | ||
21 | #include "common.h" | 22 | #include "common.h" |
22 | 23 | ||
23 | /***************************************************************************** | 24 | /***************************************************************************** |
@@ -145,7 +146,7 @@ static int __init pcie_setup(struct pci_sys_data *sys) | |||
145 | /* | 146 | /* |
146 | * Generic PCIe unit setup. | 147 | * Generic PCIe unit setup. |
147 | */ | 148 | */ |
148 | orion_pcie_setup(PCIE_BASE, &orion5x_mbus_dram_info); | 149 | orion_pcie_setup(PCIE_BASE, &orion_mbus_dram_info); |
149 | 150 | ||
150 | /* | 151 | /* |
151 | * Check whether to apply Orion-1/Orion-NAS PCIe config | 152 | * Check whether to apply Orion-1/Orion-NAS PCIe config |
@@ -477,7 +478,7 @@ static int __init pci_setup(struct pci_sys_data *sys) | |||
477 | /* | 478 | /* |
478 | * Point PCI unit MBUS decode windows to DRAM space. | 479 | * Point PCI unit MBUS decode windows to DRAM space. |
479 | */ | 480 | */ |
480 | orion5x_setup_pci_wins(&orion5x_mbus_dram_info); | 481 | orion5x_setup_pci_wins(&orion_mbus_dram_info); |
481 | 482 | ||
482 | /* | 483 | /* |
483 | * Master + Slave enable | 484 | * Master + Slave enable |