aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion/ts209-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-orion/ts209-setup.c')
-rw-r--r--arch/arm/mach-orion/ts209-setup.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-orion/ts209-setup.c b/arch/arm/mach-orion/ts209-setup.c
index 86583e4856a1..8eca070006f1 100644
--- a/arch/arm/mach-orion/ts209-setup.c
+++ b/arch/arm/mach-orion/ts209-setup.c
@@ -288,15 +288,13 @@ static void __init qnap_ts209_init(void)
288 /* 288 /*
289 * Setup flash mapping 289 * Setup flash mapping
290 */ 290 */
291 orion_setup_cpu_win(ORION_DEV_BOOT, QNAP_TS209_NOR_BOOT_BASE, 291 orion_setup_dev_boot_win(QNAP_TS209_NOR_BOOT_BASE,
292 QNAP_TS209_NOR_BOOT_SIZE, -1); 292 QNAP_TS209_NOR_BOOT_SIZE);
293 293
294 /* 294 /*
295 * Open a special address decode windows for the PCIE WA. 295 * Open a special address decode windows for the PCIE WA.
296 */ 296 */
297 orion_write(ORION_REGS_VIRT_BASE | 0x20074, ORION_PCIE_WA_PHYS_BASE); 297 orion_setup_pcie_wa_win(ORION_PCIE_WA_PHYS_BASE, ORION_PCIE_WA_SIZE);
298 orion_write(ORION_REGS_VIRT_BASE | 0x20070, (0x7941 |
299 (((ORION_PCIE_WA_SIZE >> 16) - 1)) << 16));
300 298
301 /* 299 /*
302 * Setup Multiplexing Pins -- 300 * Setup Multiplexing Pins --