diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/io.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index eb37c40ea83a..609a5a4a7e29 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
| @@ -58,6 +58,8 @@ static void __init gic_init_irq(void) | |||
| 58 | 58 | ||
| 59 | static void __init omap_4430sdp_init_irq(void) | 59 | static void __init omap_4430sdp_init_irq(void) |
| 60 | { | 60 | { |
| 61 | omap_board_config = sdp4430_config; | ||
| 62 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
| 61 | omap2_init_common_hw(NULL, NULL); | 63 | omap2_init_common_hw(NULL, NULL); |
| 62 | #ifdef CONFIG_OMAP_32K_TIMER | 64 | #ifdef CONFIG_OMAP_32K_TIMER |
| 63 | omap2_gp_clockevent_set_gptimer(1); | 65 | omap2_gp_clockevent_set_gptimer(1); |
| @@ -70,8 +72,6 @@ static void __init omap_4430sdp_init_irq(void) | |||
| 70 | static void __init omap_4430sdp_init(void) | 72 | static void __init omap_4430sdp_init(void) |
| 71 | { | 73 | { |
| 72 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); | 74 | platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices)); |
| 73 | omap_board_config = sdp4430_config; | ||
| 74 | omap_board_config_size = ARRAY_SIZE(sdp4430_config); | ||
| 75 | omap_serial_init(); | 75 | omap_serial_init(); |
| 76 | } | 76 | } |
| 77 | 77 | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index e3a3bad1d84f..56be87d13edb 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
| @@ -302,7 +302,9 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | |||
| 302 | pwrdm_init(powerdomains_omap); | 302 | pwrdm_init(powerdomains_omap); |
| 303 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); | 303 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); |
| 304 | omap2_clk_init(); | 304 | omap2_clk_init(); |
| 305 | #endif | ||
| 305 | omap_serial_early_init(); | 306 | omap_serial_early_init(); |
| 307 | #ifndef CONFIG_ARCH_OMAP4 | ||
| 306 | omap_hwmod_late_init(); | 308 | omap_hwmod_late_init(); |
| 307 | omap_pm_if_init(); | 309 | omap_pm_if_init(); |
| 308 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); | 310 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); |
