diff options
Diffstat (limited to 'arch/arm/mach-orion5x/d2net-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/d2net-setup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-orion5x/d2net-setup.c b/arch/arm/mach-orion5x/d2net-setup.c index 16c88bbabc98..8f68b745c1d5 100644 --- a/arch/arm/mach-orion5x/d2net-setup.c +++ b/arch/arm/mach-orion5x/d2net-setup.c | |||
@@ -317,8 +317,10 @@ static void __init d2net_init(void) | |||
317 | d2net_sata_power_init(); | 317 | d2net_sata_power_init(); |
318 | orion5x_sata_init(&d2net_sata_data); | 318 | orion5x_sata_init(&d2net_sata_data); |
319 | 319 | ||
320 | mvebu_mbus_add_window("devbus-boot", D2NET_NOR_BOOT_BASE, | 320 | mvebu_mbus_add_window_by_id(ORION_MBUS_DEVBUS_BOOT_TARGET, |
321 | D2NET_NOR_BOOT_SIZE); | 321 | ORION_MBUS_DEVBUS_BOOT_ATTR, |
322 | D2NET_NOR_BOOT_BASE, | ||
323 | D2NET_NOR_BOOT_SIZE); | ||
322 | platform_device_register(&d2net_nor_flash); | 324 | platform_device_register(&d2net_nor_flash); |
323 | 325 | ||
324 | platform_device_register(&d2net_gpio_buttons); | 326 | platform_device_register(&d2net_gpio_buttons); |