aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-02-14 18:40:20 -0500
committerTony Lindgren <tony@atomide.com>2011-02-14 18:40:20 -0500
commit3dc3bad6f1b316d79d9d1d596a590b5097cb3dc4 (patch)
tree2c8376da2652ac81bbadd08ef2ff8a28e1757c8e /arch/arm/mach-omap2/board-cm-t35.c
parent100b33c8bd8a3235fd0b7948338d6cbb3db3c63d (diff)
ARM: OMAP2: use early init hook
Move non-mapping and non-irq initialization code out of .map_io and .init_irq respectively into the new init_early hook. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r--arch/arm/mach-omap2/board-cm-t35.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
index dac141610666..9e4de92a5798 100644
--- a/arch/arm/mach-omap2/board-cm-t35.c
+++ b/arch/arm/mach-omap2/board-cm-t35.c
@@ -683,7 +683,7 @@ static void __init cm_t35_init_i2c(void)
683static struct omap_board_config_kernel cm_t35_config[] __initdata = { 683static struct omap_board_config_kernel cm_t35_config[] __initdata = {
684}; 684};
685 685
686static void __init cm_t35_init_irq(void) 686static void __init cm_t35_init_early(void)
687{ 687{
688 omap_board_config = cm_t35_config; 688 omap_board_config = cm_t35_config;
689 omap_board_config_size = ARRAY_SIZE(cm_t35_config); 689 omap_board_config_size = ARRAY_SIZE(cm_t35_config);
@@ -691,7 +691,6 @@ static void __init cm_t35_init_irq(void)
691 omap2_init_common_infrastructure(); 691 omap2_init_common_infrastructure();
692 omap2_init_common_devices(mt46h32m32lf6_sdrc_params, 692 omap2_init_common_devices(mt46h32m32lf6_sdrc_params,
693 mt46h32m32lf6_sdrc_params); 693 mt46h32m32lf6_sdrc_params);
694 omap_init_irq();
695} 694}
696 695
697static struct omap_board_mux board_mux[] __initdata = { 696static struct omap_board_mux board_mux[] __initdata = {
@@ -815,9 +814,10 @@ static void __init cm_t35_init(void)
815 814
816MACHINE_START(CM_T35, "Compulab CM-T35") 815MACHINE_START(CM_T35, "Compulab CM-T35")
817 .boot_params = 0x80000100, 816 .boot_params = 0x80000100,
818 .map_io = omap3_map_io,
819 .reserve = omap_reserve, 817 .reserve = omap_reserve,
820 .init_irq = cm_t35_init_irq, 818 .map_io = omap3_map_io,
819 .init_early = cm_t35_init_early,
820 .init_irq = omap_init_irq,
821 .init_machine = cm_t35_init, 821 .init_machine = cm_t35_init,
822 .timer = &omap_timer, 822 .timer = &omap_timer,
823MACHINE_END 823MACHINE_END