ARM: orion5x: Move to ID based window creation
[deliverable/linux.git] / arch / arm / mach-orion5x / rd88f5181l-ge-setup.c
index adabe34c4fc62b1ac02e9333b90128add8809c3b..594800e1d6918a1233760b131db3b27fe23758fa 100644 (file)
@@ -130,8 +130,10 @@ static void __init rd88f5181l_ge_init(void)
        orion5x_i2c_init();
        orion5x_uart0_init();
 
-       mvebu_mbus_add_window("devbus-boot", RD88F5181L_GE_NOR_BOOT_BASE,
-                             RD88F5181L_GE_NOR_BOOT_SIZE);
+       mvebu_mbus_add_window_by_id(ORION_MBUS_DEVBUS_BOOT_TARGET,
+                                   ORION_MBUS_DEVBUS_BOOT_ATTR,
+                                   RD88F5181L_GE_NOR_BOOT_BASE,
+                                   RD88F5181L_GE_NOR_BOOT_SIZE);
        platform_device_register(&rd88f5181l_ge_nor_boot_flash);
 
        i2c_register_board_info(0, &rd88f5181l_ge_i2c_rtc, 1);
This page took 0.024585 seconds and 5 git commands to generate.