ARM: orion5x: Move to ID based window creation
[deliverable/linux.git] / arch / arm / mach-orion5x / rd88f5181l-fxo-setup.c
index 1c4498bf650a6cbc8d109a18de761f58beb9acd0..213b3e143c5761bf2853738a1ec2d50976e9d74f 100644 (file)
@@ -123,8 +123,10 @@ static void __init rd88f5181l_fxo_init(void)
        orion5x_eth_switch_init(&rd88f5181l_fxo_switch_plat_data, NO_IRQ);
        orion5x_uart0_init();
 
-       mvebu_mbus_add_window("devbus-boot", RD88F5181L_FXO_NOR_BOOT_BASE,
-                             RD88F5181L_FXO_NOR_BOOT_SIZE);
+       mvebu_mbus_add_window_by_id(ORION_MBUS_DEVBUS_BOOT_TARGET,
+                                   ORION_MBUS_DEVBUS_BOOT_ATTR,
+                                   RD88F5181L_FXO_NOR_BOOT_BASE,
+                                   RD88F5181L_FXO_NOR_BOOT_SIZE);
        platform_device_register(&rd88f5181l_fxo_nor_boot_flash);
 }
 
This page took 0.024305 seconds and 5 git commands to generate.