ARM: orion5x: Move to ID based window creation
[deliverable/linux.git] / arch / arm / mach-orion5x / mv2120-setup.c
index 92600ae2b4b6e4992ff7f27311ecf9186a2b401b..e032f01da49e221df571a194e10b888195b3da6d 100644 (file)
@@ -204,8 +204,10 @@ static void __init mv2120_init(void)
        orion5x_uart0_init();
        orion5x_xor_init();
 
-       mvebu_mbus_add_window("devbus-boot", MV2120_NOR_BOOT_BASE,
-                             MV2120_NOR_BOOT_SIZE);
+       mvebu_mbus_add_window_by_id(ORION_MBUS_DEVBUS_BOOT_TARGET,
+                                   ORION_MBUS_DEVBUS_BOOT_ATTR,
+                                   MV2120_NOR_BOOT_BASE,
+                                   MV2120_NOR_BOOT_SIZE);
        platform_device_register(&mv2120_nor_flash);
 
        platform_device_register(&mv2120_button_device);
This page took 0.023739 seconds and 5 git commands to generate.