diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-3630sdp.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-am3517crane.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t3517.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-ti8168evm.c | 4 |
18 files changed, 50 insertions, 47 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index cc42d474c443..59de1dc5d6b4 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -142,8 +142,6 @@ static struct omap_board_config_kernel sdp2430_config[] __initdata = { | |||
142 | 142 | ||
143 | static void __init omap_2430sdp_init_early(void) | 143 | static void __init omap_2430sdp_init_early(void) |
144 | { | 144 | { |
145 | omap_board_config = sdp2430_config; | ||
146 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); | ||
147 | omap2_init_common_infrastructure(); | 145 | omap2_init_common_infrastructure(); |
148 | omap2_init_common_devices(NULL, NULL); | 146 | omap2_init_common_devices(NULL, NULL); |
149 | } | 147 | } |
@@ -246,6 +244,9 @@ static void __init omap_2430sdp_init(void) | |||
246 | 244 | ||
247 | omap2430_mux_init(board_mux, OMAP_PACKAGE_ZAC); | 245 | omap2430_mux_init(board_mux, OMAP_PACKAGE_ZAC); |
248 | 246 | ||
247 | omap_board_config = sdp2430_config; | ||
248 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); | ||
249 | |||
249 | omap2430_i2c_init(); | 250 | omap2430_i2c_init(); |
250 | 251 | ||
251 | platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices)); | 252 | platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices)); |
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 8950ecc9b940..b12b62064e7c 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -315,9 +315,6 @@ static struct omap_board_config_kernel sdp3430_config[] __initdata = { | |||
315 | 315 | ||
316 | static void __init omap_3430sdp_init_early(void) | 316 | static void __init omap_3430sdp_init_early(void) |
317 | { | 317 | { |
318 | omap_board_config = sdp3430_config; | ||
319 | omap_board_config_size = ARRAY_SIZE(sdp3430_config); | ||
320 | omap3_pm_init_cpuidle(omap3_cpuidle_params_table); | ||
321 | omap2_init_common_infrastructure(); | 318 | omap2_init_common_infrastructure(); |
322 | omap2_init_common_devices(hyb18m512160af6_sdrc_params, NULL); | 319 | omap2_init_common_devices(hyb18m512160af6_sdrc_params, NULL); |
323 | } | 320 | } |
@@ -788,6 +785,9 @@ static struct omap_musb_board_data musb_board_data = { | |||
788 | static void __init omap_3430sdp_init(void) | 785 | static void __init omap_3430sdp_init(void) |
789 | { | 786 | { |
790 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 787 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
788 | omap_board_config = sdp3430_config; | ||
789 | omap_board_config_size = ARRAY_SIZE(sdp3430_config); | ||
790 | omap3_pm_init_cpuidle(omap3_cpuidle_params_table); | ||
791 | omap3430_i2c_init(); | 791 | omap3430_i2c_init(); |
792 | omap_display_init(&sdp3430_dss_data); | 792 | omap_display_init(&sdp3430_dss_data); |
793 | if (omap_rev() > OMAP3430_REV_ES1_0) | 793 | if (omap_rev() > OMAP3430_REV_ES1_0) |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 8d1c4358ecf9..c4e22b32e47f 100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
@@ -72,8 +72,6 @@ static struct omap_board_config_kernel sdp_config[] __initdata = { | |||
72 | 72 | ||
73 | static void __init omap_sdp_init_early(void) | 73 | static void __init omap_sdp_init_early(void) |
74 | { | 74 | { |
75 | omap_board_config = sdp_config; | ||
76 | omap_board_config_size = ARRAY_SIZE(sdp_config); | ||
77 | omap2_init_common_infrastructure(); | 75 | omap2_init_common_infrastructure(); |
78 | omap2_init_common_devices(h8mbx00u0mer0em_sdrc_params, | 76 | omap2_init_common_devices(h8mbx00u0mer0em_sdrc_params, |
79 | h8mbx00u0mer0em_sdrc_params); | 77 | h8mbx00u0mer0em_sdrc_params); |
@@ -206,6 +204,8 @@ static struct flash_partitions sdp_flash_partitions[] = { | |||
206 | static void __init omap_sdp_init(void) | 204 | static void __init omap_sdp_init(void) |
207 | { | 205 | { |
208 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBP); | 206 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBP); |
207 | omap_board_config = sdp_config; | ||
208 | omap_board_config_size = ARRAY_SIZE(sdp_config); | ||
209 | zoom_peripherals_init(); | 209 | zoom_peripherals_init(); |
210 | zoom_display_init(); | 210 | zoom_display_init(); |
211 | board_smc91x_init(); | 211 | board_smc91x_init(); |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 1a943be822c3..81ef97961eda 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -325,8 +325,6 @@ static struct omap_board_config_kernel sdp4430_config[] __initdata = { | |||
325 | 325 | ||
326 | static void __init omap_4430sdp_init_early(void) | 326 | static void __init omap_4430sdp_init_early(void) |
327 | { | 327 | { |
328 | omap_board_config = sdp4430_config; | ||
329 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
330 | omap2_init_common_infrastructure(); | 328 | omap2_init_common_infrastructure(); |
331 | omap2_init_common_devices(NULL, NULL); | 329 | omap2_init_common_devices(NULL, NULL); |
332 | #ifdef CONFIG_OMAP_32K_TIMER | 330 | #ifdef CONFIG_OMAP_32K_TIMER |
@@ -640,6 +638,9 @@ static void __init omap_4430sdp_init(void) | |||
640 | package = OMAP_PACKAGE_CBL; | 638 | package = OMAP_PACKAGE_CBL; |
641 | omap4_mux_init(board_mux, package); | 639 | omap4_mux_init(board_mux, package); |
642 | 640 | ||
641 | omap_board_config = sdp4430_config; | ||
642 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
643 | |||
643 | omap4_i2c_init(); | 644 | omap4_i2c_init(); |
644 | omap_sfh7741prox_init(); | 645 | omap_sfh7741prox_init(); |
645 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); | 646 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); |
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index ae3a83d47dab..f53bbb2c3478 100644 --- a/arch/arm/mach-omap2/board-am3517crane.c +++ b/arch/arm/mach-omap2/board-am3517crane.c | |||
@@ -51,9 +51,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
51 | 51 | ||
52 | static void __init am3517_crane_init_early(void) | 52 | static void __init am3517_crane_init_early(void) |
53 | { | 53 | { |
54 | omap_board_config = am3517_crane_config; | ||
55 | omap_board_config_size = ARRAY_SIZE(am3517_crane_config); | ||
56 | |||
57 | omap2_init_common_infrastructure(); | 54 | omap2_init_common_infrastructure(); |
58 | omap2_init_common_devices(NULL, NULL); | 55 | omap2_init_common_devices(NULL, NULL); |
59 | } | 56 | } |
@@ -76,6 +73,9 @@ static void __init am3517_crane_init(void) | |||
76 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 73 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
77 | omap_serial_init(); | 74 | omap_serial_init(); |
78 | 75 | ||
76 | omap_board_config = am3517_crane_config; | ||
77 | omap_board_config_size = ARRAY_SIZE(am3517_crane_config); | ||
78 | |||
79 | /* Configure GPIO for EHCI port */ | 79 | /* Configure GPIO for EHCI port */ |
80 | if (omap_mux_init_gpio(GPIO_USB_NRESET, OMAP_PIN_OUTPUT)) { | 80 | if (omap_mux_init_gpio(GPIO_USB_NRESET, OMAP_PIN_OUTPUT)) { |
81 | pr_err("Can not configure mux for GPIO_USB_NRESET %d\n", | 81 | pr_err("Can not configure mux for GPIO_USB_NRESET %d\n", |
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 634fe65b33c8..30ec45193268 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -381,13 +381,8 @@ static struct omap_dss_board_info am3517_evm_dss_data = { | |||
381 | /* | 381 | /* |
382 | * Board initialization | 382 | * Board initialization |
383 | */ | 383 | */ |
384 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | ||
385 | }; | ||
386 | |||
387 | static void __init am3517_evm_init_early(void) | 384 | static void __init am3517_evm_init_early(void) |
388 | { | 385 | { |
389 | omap_board_config = am3517_evm_config; | ||
390 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
391 | omap2_init_common_infrastructure(); | 386 | omap2_init_common_infrastructure(); |
392 | omap2_init_common_devices(NULL, NULL); | 387 | omap2_init_common_devices(NULL, NULL); |
393 | } | 388 | } |
@@ -481,8 +476,13 @@ static void am3517_evm_hecc_init(struct ti_hecc_platform_data *pdata) | |||
481 | platform_device_register(&am3517_hecc_device); | 476 | platform_device_register(&am3517_hecc_device); |
482 | } | 477 | } |
483 | 478 | ||
479 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | ||
480 | }; | ||
481 | |||
484 | static void __init am3517_evm_init(void) | 482 | static void __init am3517_evm_init(void) |
485 | { | 483 | { |
484 | omap_board_config = am3517_evm_config; | ||
485 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
486 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 486 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
487 | 487 | ||
488 | am3517_evm_i2c_init(); | 488 | am3517_evm_i2c_init(); |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 4ef4aad4e719..f4f8374a0298 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -276,8 +276,6 @@ static struct omap_board_config_kernel apollon_config[] __initdata = { | |||
276 | 276 | ||
277 | static void __init omap_apollon_init_early(void) | 277 | static void __init omap_apollon_init_early(void) |
278 | { | 278 | { |
279 | omap_board_config = apollon_config; | ||
280 | omap_board_config_size = ARRAY_SIZE(apollon_config); | ||
281 | omap2_init_common_infrastructure(); | 279 | omap2_init_common_infrastructure(); |
282 | omap2_init_common_devices(NULL, NULL); | 280 | omap2_init_common_devices(NULL, NULL); |
283 | } | 281 | } |
@@ -319,6 +317,8 @@ static void __init omap_apollon_init(void) | |||
319 | u32 v; | 317 | u32 v; |
320 | 318 | ||
321 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); | 319 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); |
320 | omap_board_config = apollon_config; | ||
321 | omap_board_config_size = ARRAY_SIZE(apollon_config); | ||
322 | 322 | ||
323 | apollon_init_smc91x(); | 323 | apollon_init_smc91x(); |
324 | apollon_led_init(); | 324 | apollon_led_init(); |
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 7311824be993..27bea540ccbb 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -668,14 +668,8 @@ static void __init cm_t35_init_i2c(void) | |||
668 | ARRAY_SIZE(cm_t35_i2c_boardinfo)); | 668 | ARRAY_SIZE(cm_t35_i2c_boardinfo)); |
669 | } | 669 | } |
670 | 670 | ||
671 | static struct omap_board_config_kernel cm_t35_config[] __initdata = { | ||
672 | }; | ||
673 | |||
674 | static void __init cm_t35_init_early(void) | 671 | static void __init cm_t35_init_early(void) |
675 | { | 672 | { |
676 | omap_board_config = cm_t35_config; | ||
677 | omap_board_config_size = ARRAY_SIZE(cm_t35_config); | ||
678 | |||
679 | omap2_init_common_infrastructure(); | 673 | omap2_init_common_infrastructure(); |
680 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, | 674 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, |
681 | mt46h32m32lf6_sdrc_params); | 675 | mt46h32m32lf6_sdrc_params); |
@@ -785,8 +779,13 @@ static struct omap_musb_board_data musb_board_data = { | |||
785 | .power = 100, | 779 | .power = 100, |
786 | }; | 780 | }; |
787 | 781 | ||
782 | static struct omap_board_config_kernel cm_t35_config[] __initdata = { | ||
783 | }; | ||
784 | |||
788 | static void __init cm_t35_init(void) | 785 | static void __init cm_t35_init(void) |
789 | { | 786 | { |
787 | omap_board_config = cm_t35_config; | ||
788 | omap_board_config_size = ARRAY_SIZE(cm_t35_config); | ||
790 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); | 789 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); |
791 | omap_serial_init(); | 790 | omap_serial_init(); |
792 | cm_t35_init_i2c(); | 791 | cm_t35_init_i2c(); |
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index 38bef6d004c9..9da6e8240e8b 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -256,9 +256,6 @@ static struct omap_board_config_kernel cm_t3517_config[] __initdata = { | |||
256 | 256 | ||
257 | static void __init cm_t3517_init_early(void) | 257 | static void __init cm_t3517_init_early(void) |
258 | { | 258 | { |
259 | omap_board_config = cm_t3517_config; | ||
260 | omap_board_config_size = ARRAY_SIZE(cm_t3517_config); | ||
261 | |||
262 | omap2_init_common_infrastructure(); | 259 | omap2_init_common_infrastructure(); |
263 | omap2_init_common_devices(NULL, NULL); | 260 | omap2_init_common_devices(NULL, NULL); |
264 | } | 261 | } |
@@ -293,6 +290,8 @@ static void __init cm_t3517_init(void) | |||
293 | { | 290 | { |
294 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 291 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
295 | omap_serial_init(); | 292 | omap_serial_init(); |
293 | omap_board_config = cm_t3517_config; | ||
294 | omap_board_config_size = ARRAY_SIZE(cm_t3517_config); | ||
296 | cm_t3517_init_leds(); | 295 | cm_t3517_init_leds(); |
297 | cm_t3517_init_nand(); | 296 | cm_t3517_init_nand(); |
298 | cm_t3517_init_rtc(); | 297 | cm_t3517_init_rtc(); |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 682da9251db6..73e3c31e8508 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -35,8 +35,6 @@ static struct omap_board_config_kernel generic_config[] = { | |||
35 | 35 | ||
36 | static void __init omap_generic_init_early(void) | 36 | static void __init omap_generic_init_early(void) |
37 | { | 37 | { |
38 | omap_board_config = generic_config; | ||
39 | omap_board_config_size = ARRAY_SIZE(generic_config); | ||
40 | omap2_init_common_infrastructure(); | 38 | omap2_init_common_infrastructure(); |
41 | omap2_init_common_devices(NULL, NULL); | 39 | omap2_init_common_devices(NULL, NULL); |
42 | } | 40 | } |
@@ -44,6 +42,8 @@ static void __init omap_generic_init_early(void) | |||
44 | static void __init omap_generic_init(void) | 42 | static void __init omap_generic_init(void) |
45 | { | 43 | { |
46 | omap_serial_init(); | 44 | omap_serial_init(); |
45 | omap_board_config = generic_config; | ||
46 | omap_board_config_size = ARRAY_SIZE(generic_config); | ||
47 | } | 47 | } |
48 | 48 | ||
49 | static void __init omap_generic_map_io(void) | 49 | static void __init omap_generic_map_io(void) |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index f6a3872f72fa..7e6bf4fa1535 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -292,8 +292,6 @@ static struct omap_board_config_kernel h4_config[] __initdata = { | |||
292 | 292 | ||
293 | static void __init omap_h4_init_early(void) | 293 | static void __init omap_h4_init_early(void) |
294 | { | 294 | { |
295 | omap_board_config = h4_config; | ||
296 | omap_board_config_size = ARRAY_SIZE(h4_config); | ||
297 | omap2_init_common_infrastructure(); | 295 | omap2_init_common_infrastructure(); |
298 | omap2_init_common_devices(NULL, NULL); | 296 | omap2_init_common_devices(NULL, NULL); |
299 | } | 297 | } |
@@ -334,6 +332,9 @@ static void __init omap_h4_init(void) | |||
334 | { | 332 | { |
335 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAF); | 333 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAF); |
336 | 334 | ||
335 | omap_board_config = h4_config; | ||
336 | omap_board_config_size = ARRAY_SIZE(h4_config); | ||
337 | |||
337 | /* | 338 | /* |
338 | * Make sure the serial ports are muxed on at this point. | 339 | * Make sure the serial ports are muxed on at this point. |
339 | * You have to mux them off in device drivers later on | 340 | * You have to mux them off in device drivers later on |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index a3fae5697a72..a69e59455eed 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -290,8 +290,6 @@ static struct omap_board_config_kernel ldp_config[] __initdata = { | |||
290 | 290 | ||
291 | static void __init omap_ldp_init_early(void) | 291 | static void __init omap_ldp_init_early(void) |
292 | { | 292 | { |
293 | omap_board_config = ldp_config; | ||
294 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
295 | omap2_init_common_infrastructure(); | 293 | omap2_init_common_infrastructure(); |
296 | omap2_init_common_devices(NULL, NULL); | 294 | omap2_init_common_devices(NULL, NULL); |
297 | } | 295 | } |
@@ -422,6 +420,8 @@ static struct mtd_partition ldp_nand_partitions[] = { | |||
422 | static void __init omap_ldp_init(void) | 420 | static void __init omap_ldp_init(void) |
423 | { | 421 | { |
424 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 422 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
423 | omap_board_config = ldp_config; | ||
424 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
425 | ldp_init_smsc911x(); | 425 | ldp_init_smsc911x(); |
426 | omap_i2c_init(); | 426 | omap_i2c_init(); |
427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); | 427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); |
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 5364147892c1..3d9b58a53c97 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -732,8 +732,6 @@ static struct omap_board_config_kernel omap3_evm_config[] __initdata = { | |||
732 | 732 | ||
733 | static void __init omap3_evm_init_early(void) | 733 | static void __init omap3_evm_init_early(void) |
734 | { | 734 | { |
735 | omap_board_config = omap3_evm_config; | ||
736 | omap_board_config_size = ARRAY_SIZE(omap3_evm_config); | ||
737 | omap2_init_common_infrastructure(); | 735 | omap2_init_common_infrastructure(); |
738 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); | 736 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); |
739 | } | 737 | } |
@@ -824,6 +822,9 @@ static void __init omap3_evm_init(void) | |||
824 | else | 822 | else |
825 | omap3_mux_init(omap35x_board_mux, OMAP_PACKAGE_CBB); | 823 | omap3_mux_init(omap35x_board_mux, OMAP_PACKAGE_CBB); |
826 | 824 | ||
825 | omap_board_config = omap3_evm_config; | ||
826 | omap_board_config_size = ARRAY_SIZE(omap3_evm_config); | ||
827 | |||
827 | omap3_evm_i2c_init(); | 828 | omap3_evm_i2c_init(); |
828 | 829 | ||
829 | omap_display_init(&omap3_evm_dss_data); | 830 | omap_display_init(&omap3_evm_dss_data); |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 07006c323fc2..fd8b7649b149 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
@@ -581,8 +581,6 @@ static struct omap_board_config_kernel omap3_stalker_config[] __initdata = { | |||
581 | 581 | ||
582 | static void __init omap3_stalker_init_early(void) | 582 | static void __init omap3_stalker_init_early(void) |
583 | { | 583 | { |
584 | omap_board_config = omap3_stalker_config; | ||
585 | omap_board_config_size = ARRAY_SIZE(omap3_stalker_config); | ||
586 | omap2_init_common_infrastructure(); | 584 | omap2_init_common_infrastructure(); |
587 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); | 585 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); |
588 | } | 586 | } |
@@ -629,6 +627,8 @@ static struct omap_musb_board_data musb_board_data = { | |||
629 | static void __init omap3_stalker_init(void) | 627 | static void __init omap3_stalker_init(void) |
630 | { | 628 | { |
631 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); | 629 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); |
630 | omap_board_config = omap3_stalker_config; | ||
631 | omap_board_config_size = ARRAY_SIZE(omap3_stalker_config); | ||
632 | 632 | ||
633 | omap3_stalker_i2c_init(); | 633 | omap3_stalker_i2c_init(); |
634 | 634 | ||
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index a35afe2227d3..8e2a7ba4153b 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -417,8 +417,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
417 | 417 | ||
418 | static void __init omap3_touchbook_init_early(void) | 418 | static void __init omap3_touchbook_init_early(void) |
419 | { | 419 | { |
420 | omap_board_config = omap3_touchbook_config; | ||
421 | omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); | ||
422 | omap2_init_common_infrastructure(); | 420 | omap2_init_common_infrastructure(); |
423 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, | 421 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, |
424 | mt46h32m32lf6_sdrc_params); | 422 | mt46h32m32lf6_sdrc_params); |
@@ -514,6 +512,9 @@ static struct omap_musb_board_data musb_board_data = { | |||
514 | static void __init omap3_touchbook_init(void) | 512 | static void __init omap3_touchbook_init(void) |
515 | { | 513 | { |
516 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 514 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
515 | omap_board_config = omap3_touchbook_config; | ||
516 | omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); | ||
517 | |||
517 | pm_power_off = omap3_touchbook_poweroff; | 518 | pm_power_off = omap3_touchbook_poweroff; |
518 | 519 | ||
519 | omap3_touchbook_i2c_init(); | 520 | omap3_touchbook_i2c_init(); |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index a33ec0edec13..d480ddb3952c 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -411,8 +411,6 @@ static struct omap_board_config_kernel overo_config[] __initdata = { | |||
411 | 411 | ||
412 | static void __init overo_init_early(void) | 412 | static void __init overo_init_early(void) |
413 | { | 413 | { |
414 | omap_board_config = overo_config; | ||
415 | omap_board_config_size = ARRAY_SIZE(overo_config); | ||
416 | omap2_init_common_infrastructure(); | 414 | omap2_init_common_infrastructure(); |
417 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, | 415 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, |
418 | mt46h32m32lf6_sdrc_params); | 416 | mt46h32m32lf6_sdrc_params); |
@@ -448,6 +446,8 @@ static struct omap_musb_board_data musb_board_data = { | |||
448 | static void __init overo_init(void) | 446 | static void __init overo_init(void) |
449 | { | 447 | { |
450 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 448 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
449 | omap_board_config = overo_config; | ||
450 | omap_board_config_size = ARRAY_SIZE(overo_config); | ||
451 | overo_i2c_init(); | 451 | overo_i2c_init(); |
452 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); | 452 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); |
453 | omap_serial_init(); | 453 | omap_serial_init(); |
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 3cf72fe6d75b..e964895b80e8 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -102,9 +102,6 @@ static void __init rx51_init_early(void) | |||
102 | { | 102 | { |
103 | struct omap_sdrc_params *sdrc_params; | 103 | struct omap_sdrc_params *sdrc_params; |
104 | 104 | ||
105 | omap_board_config = rx51_config; | ||
106 | omap_board_config_size = ARRAY_SIZE(rx51_config); | ||
107 | omap3_pm_init_cpuidle(rx51_cpuidle_params); | ||
108 | omap2_init_common_infrastructure(); | 105 | omap2_init_common_infrastructure(); |
109 | sdrc_params = nokia_get_sdram_timings(); | 106 | sdrc_params = nokia_get_sdram_timings(); |
110 | omap2_init_common_devices(sdrc_params, sdrc_params); | 107 | omap2_init_common_devices(sdrc_params, sdrc_params); |
@@ -127,6 +124,9 @@ static struct omap_musb_board_data musb_board_data = { | |||
127 | static void __init rx51_init(void) | 124 | static void __init rx51_init(void) |
128 | { | 125 | { |
129 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 126 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
127 | omap_board_config = rx51_config; | ||
128 | omap_board_config_size = ARRAY_SIZE(rx51_config); | ||
129 | omap3_pm_init_cpuidle(rx51_cpuidle_params); | ||
130 | omap_serial_init(); | 130 | omap_serial_init(); |
131 | usb_musb_init(&musb_board_data); | 131 | usb_musb_init(&musb_board_data); |
132 | rx51_peripherals_init(); | 132 | rx51_peripherals_init(); |
diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index f2b097190e07..09fa7bfff8d6 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c | |||
@@ -29,8 +29,6 @@ static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { | |||
29 | 29 | ||
30 | static void __init ti8168_init_early(void) | 30 | static void __init ti8168_init_early(void) |
31 | { | 31 | { |
32 | omap_board_config = ti8168_evm_config; | ||
33 | omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); | ||
34 | omap2_init_common_infrastructure(); | 32 | omap2_init_common_infrastructure(); |
35 | omap2_init_common_devices(NULL, NULL); | 33 | omap2_init_common_devices(NULL, NULL); |
36 | } | 34 | } |
@@ -43,6 +41,8 @@ static void __init ti8168_evm_init_irq(void) | |||
43 | static void __init ti8168_evm_init(void) | 41 | static void __init ti8168_evm_init(void) |
44 | { | 42 | { |
45 | omap_serial_init(); | 43 | omap_serial_init(); |
44 | omap_board_config = ti8168_evm_config; | ||
45 | omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); | ||
46 | } | 46 | } |
47 | 47 | ||
48 | static void __init ti8168_evm_map_io(void) | 48 | static void __init ti8168_evm_map_io(void) |