diff options
Diffstat (limited to 'arch/arm/mach-orion5x/ts409-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/ts409-setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-orion5x/ts409-setup.c b/arch/arm/mach-orion5x/ts409-setup.c index b27d2b762081..4bd8ed1d75e4 100644 --- a/arch/arm/mach-orion5x/ts409-setup.c +++ b/arch/arm/mach-orion5x/ts409-setup.c | |||
@@ -278,6 +278,10 @@ static void __init qnap_ts409_init(void) | |||
278 | /* | 278 | /* |
279 | * Configure peripherals. | 279 | * Configure peripherals. |
280 | */ | 280 | */ |
281 | orion5x_setup_dev_boot_win(QNAP_TS409_NOR_BOOT_BASE, | ||
282 | QNAP_TS409_NOR_BOOT_SIZE); | ||
283 | platform_device_register(&qnap_ts409_nor_flash); | ||
284 | |||
281 | orion5x_ehci0_init(); | 285 | orion5x_ehci0_init(); |
282 | qnap_tsx09_find_mac_addr(QNAP_TS409_NOR_BOOT_BASE + | 286 | qnap_tsx09_find_mac_addr(QNAP_TS409_NOR_BOOT_BASE + |
283 | qnap_ts409_partitions[5].offset, | 287 | qnap_ts409_partitions[5].offset, |
@@ -286,10 +290,6 @@ static void __init qnap_ts409_init(void) | |||
286 | orion5x_i2c_init(); | 290 | orion5x_i2c_init(); |
287 | orion5x_uart0_init(); | 291 | orion5x_uart0_init(); |
288 | 292 | ||
289 | orion5x_setup_dev_boot_win(QNAP_TS409_NOR_BOOT_BASE, | ||
290 | QNAP_TS409_NOR_BOOT_SIZE); | ||
291 | platform_device_register(&qnap_ts409_nor_flash); | ||
292 | |||
293 | platform_device_register(&qnap_ts409_button_device); | 293 | platform_device_register(&qnap_ts409_button_device); |
294 | 294 | ||
295 | /* Get RTC IRQ and register the chip */ | 295 | /* Get RTC IRQ and register the chip */ |