diff options
Diffstat (limited to 'arch/arm/mach-orion5x/ts209-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/ts209-setup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-orion5x/ts209-setup.c b/arch/arm/mach-orion5x/ts209-setup.c index dd657163cd8d..9d6890514199 100644 --- a/arch/arm/mach-orion5x/ts209-setup.c +++ b/arch/arm/mach-orion5x/ts209-setup.c | |||
@@ -287,6 +287,10 @@ static void __init qnap_ts209_init(void) | |||
287 | /* | 287 | /* |
288 | * Configure peripherals. | 288 | * Configure peripherals. |
289 | */ | 289 | */ |
290 | orion5x_setup_dev_boot_win(QNAP_TS209_NOR_BOOT_BASE, | ||
291 | QNAP_TS209_NOR_BOOT_SIZE); | ||
292 | platform_device_register(&qnap_ts209_nor_flash); | ||
293 | |||
290 | orion5x_ehci0_init(); | 294 | orion5x_ehci0_init(); |
291 | orion5x_ehci1_init(); | 295 | orion5x_ehci1_init(); |
292 | qnap_tsx09_find_mac_addr(QNAP_TS209_NOR_BOOT_BASE + | 296 | qnap_tsx09_find_mac_addr(QNAP_TS209_NOR_BOOT_BASE + |
@@ -296,12 +300,9 @@ static void __init qnap_ts209_init(void) | |||
296 | orion5x_i2c_init(); | 300 | orion5x_i2c_init(); |
297 | orion5x_sata_init(&qnap_ts209_sata_data); | 301 | orion5x_sata_init(&qnap_ts209_sata_data); |
298 | orion5x_uart0_init(); | 302 | orion5x_uart0_init(); |
303 | orion5x_uart1_init(); | ||
299 | orion5x_xor_init(); | 304 | orion5x_xor_init(); |
300 | 305 | ||
301 | orion5x_setup_dev_boot_win(QNAP_TS209_NOR_BOOT_BASE, | ||
302 | QNAP_TS209_NOR_BOOT_SIZE); | ||
303 | platform_device_register(&qnap_ts209_nor_flash); | ||
304 | |||
305 | platform_device_register(&qnap_ts209_button_device); | 306 | platform_device_register(&qnap_ts209_button_device); |
306 | 307 | ||
307 | /* Get RTC IRQ and register the chip */ | 308 | /* Get RTC IRQ and register the chip */ |