aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3stalker.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3stalker.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3stalker.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c
index 2a2dad447e86..5d1ccef69164 100644
--- a/arch/arm/mach-omap2/board-omap3stalker.c
+++ b/arch/arm/mach-omap2/board-omap3stalker.c
@@ -591,12 +591,16 @@ static struct spi_board_info omap3stalker_spi_board_info[] = {
591static struct omap_board_config_kernel omap3_stalker_config[] __initdata = { 591static struct omap_board_config_kernel omap3_stalker_config[] __initdata = {
592}; 592};
593 593
594static void __init omap3_stalker_init_irq(void) 594static void __init omap3_stalker_init_early(void)
595{ 595{
596 omap_board_config = omap3_stalker_config; 596 omap_board_config = omap3_stalker_config;
597 omap_board_config_size = ARRAY_SIZE(omap3_stalker_config); 597 omap_board_config_size = ARRAY_SIZE(omap3_stalker_config);
598 omap2_init_common_infrastructure(); 598 omap2_init_common_infrastructure();
599 omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL); 599 omap2_init_common_devices(mt46h32m32lf6_sdrc_params, NULL);
600}
601
602static void __init omap3_stalker_init_irq(void)
603{
600 omap_init_irq(); 604 omap_init_irq();
601#ifdef CONFIG_OMAP_32K_TIMER 605#ifdef CONFIG_OMAP_32K_TIMER
602 omap2_gp_clockevent_set_gptimer(12); 606 omap2_gp_clockevent_set_gptimer(12);
@@ -666,6 +670,7 @@ MACHINE_START(SBC3530, "OMAP3 STALKER")
666 /* Maintainer: Jason Lam -lzg@ema-tech.com */ 670 /* Maintainer: Jason Lam -lzg@ema-tech.com */
667 .boot_params = 0x80000100, 671 .boot_params = 0x80000100,
668 .map_io = omap3_map_io, 672 .map_io = omap3_map_io,
673 .init_early = omap3_stalker_init_early,
669 .init_irq = omap3_stalker_init_irq, 674 .init_irq = omap3_stalker_init_irq,
670 .init_machine = omap3_stalker_init, 675 .init_machine = omap3_stalker_init,
671 .timer = &omap_timer, 676 .timer = &omap_timer,