aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/dns323-setup.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-05-10 11:01:18 -0400
committerLennert Buytenhek <buytenh@marvell.com>2008-06-22 16:44:46 -0400
commit386a048a1ea42ff9ac87ffa344c4c19a5cc59678 (patch)
treefd6cab0e6bf41c5b112ce00f8cc36cc30ab6edfd /arch/arm/mach-orion5x/dns323-setup.c
parent044f6c7c449ae8ba0353b032706b098a7ad5e304 (diff)
[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/dns323-setup.c')
-rw-r--r--arch/arm/mach-orion5x/dns323-setup.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
index cd200f766099..9ec53501b2a8 100644
--- a/arch/arm/mach-orion5x/dns323-setup.c
+++ b/arch/arm/mach-orion5x/dns323-setup.c
@@ -247,13 +247,6 @@ static void __init dns323_init(void)
247 /* Setup basic Orion functions. Need to be called early. */ 247 /* Setup basic Orion functions. Need to be called early. */
248 orion5x_init(); 248 orion5x_init();
249 249
250 /* DNS-323 has a Marvell 88X7042 SATA controller attached via PCIe
251 *
252 * Open a special address decode windows for the PCIe WA.
253 */
254 orion5x_setup_pcie_wa_win(ORION5X_PCIE_WA_PHYS_BASE,
255 ORION5X_PCIE_WA_SIZE);
256
257 /* set MPP to 0 as D-Link's 2.6.12.6 kernel did */ 250 /* set MPP to 0 as D-Link's 2.6.12.6 kernel did */
258 orion5x_write(MPP_0_7_CTRL, 0); 251 orion5x_write(MPP_0_7_CTRL, 0);
259 orion5x_write(MPP_8_15_CTRL, 0); 252 orion5x_write(MPP_8_15_CTRL, 0);