diff options
Diffstat (limited to 'arch/arm/mach-orion/dns323-setup.c')
-rw-r--r-- | arch/arm/mach-orion/dns323-setup.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-orion/dns323-setup.c b/arch/arm/mach-orion/dns323-setup.c index 38593784d76f..88991f764794 100644 --- a/arch/arm/mach-orion/dns323-setup.c +++ b/arch/arm/mach-orion/dns323-setup.c | |||
@@ -251,16 +251,13 @@ static void __init dns323_init(void) | |||
251 | /* setup flash mapping | 251 | /* setup flash mapping |
252 | * CS3 holds a 8 MB Spansion S29GL064M90TFIR4 | 252 | * CS3 holds a 8 MB Spansion S29GL064M90TFIR4 |
253 | */ | 253 | */ |
254 | orion_setup_cpu_win(ORION_DEV_BOOT, DNS323_NOR_BOOT_BASE, | 254 | orion_setup_dev_boot_win(DNS323_NOR_BOOT_BASE, DNS323_NOR_BOOT_SIZE); |
255 | DNS323_NOR_BOOT_SIZE, -1); | ||
256 | 255 | ||
257 | /* DNS-323 has a Marvell 88X7042 SATA controller attached via PCIE | 256 | /* DNS-323 has a Marvell 88X7042 SATA controller attached via PCIE |
258 | * | 257 | * |
259 | * Open a special address decode windows for the PCIE WA. | 258 | * Open a special address decode windows for the PCIE WA. |
260 | */ | 259 | */ |
261 | orion_write(ORION_REGS_VIRT_BASE | 0x20074, ORION_PCIE_WA_PHYS_BASE); | 260 | orion_setup_pcie_wa_win(ORION_PCIE_WA_PHYS_BASE, ORION_PCIE_WA_SIZE); |
262 | orion_write(ORION_REGS_VIRT_BASE | 0x20070, | ||
263 | (0x7941 | (((ORION_PCIE_WA_SIZE >> 16) - 1)) << 16)); | ||
264 | 261 | ||
265 | /* set MPP to 0 as D-Link's 2.6.12.6 kernel did */ | 262 | /* set MPP to 0 as D-Link's 2.6.12.6 kernel did */ |
266 | orion_write(MPP_0_7_CTRL, 0); | 263 | orion_write(MPP_0_7_CTRL, 0); |