aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-n8x0.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-08-23 02:57:24 -0400
committerTony Lindgren <tony@atomide.com>2011-08-24 09:19:02 -0400
commit8f5b5a41ebc750ffcc2c410371b2b4998955709e (patch)
tree02a05adecf3ee778ec77d560524b0c2089613405 /arch/arm/mach-omap2/board-n8x0.c
parenta4ca9dbe44a167d63545c7ac2b5a36d7b0b415b6 (diff)
ARM: OMAP: Introduce SoC specific early_init
Introduce them for each omap variant and just make them all call omap2_init_common_infrastructure for now. Do this for each board-*.c file except for board-generic and board-omap3beagle as they use the same machine ID for multiple SoCs. No functional changes. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r--arch/arm/mach-omap2/board-n8x0.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 2545a4aaee5a..77a4e19222e2 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -622,11 +622,6 @@ static void __init n8x0_map_io(void)
622 omap242x_map_common_io(); 622 omap242x_map_common_io();
623} 623}
624 624
625static void __init n8x0_init_early(void)
626{
627 omap2_init_common_infrastructure();
628}
629
630#ifdef CONFIG_OMAP_MUX 625#ifdef CONFIG_OMAP_MUX
631static struct omap_board_mux board_mux[] __initdata = { 626static struct omap_board_mux board_mux[] __initdata = {
632 /* I2S codec port pins for McBSP block */ 627 /* I2S codec port pins for McBSP block */
@@ -698,7 +693,7 @@ MACHINE_START(NOKIA_N800, "Nokia N800")
698 .boot_params = 0x80000100, 693 .boot_params = 0x80000100,
699 .reserve = omap_reserve, 694 .reserve = omap_reserve,
700 .map_io = n8x0_map_io, 695 .map_io = n8x0_map_io,
701 .init_early = n8x0_init_early, 696 .init_early = omap2420_init_early,
702 .init_irq = omap2_init_irq, 697 .init_irq = omap2_init_irq,
703 .init_machine = n8x0_init_machine, 698 .init_machine = n8x0_init_machine,
704 .timer = &omap2_timer, 699 .timer = &omap2_timer,
@@ -708,7 +703,7 @@ MACHINE_START(NOKIA_N810, "Nokia N810")
708 .boot_params = 0x80000100, 703 .boot_params = 0x80000100,
709 .reserve = omap_reserve, 704 .reserve = omap_reserve,
710 .map_io = n8x0_map_io, 705 .map_io = n8x0_map_io,
711 .init_early = n8x0_init_early, 706 .init_early = omap2420_init_early,
712 .init_irq = omap2_init_irq, 707 .init_irq = omap2_init_irq,
713 .init_machine = n8x0_init_machine, 708 .init_machine = n8x0_init_machine,
714 .timer = &omap2_timer, 709 .timer = &omap2_timer,
@@ -718,7 +713,7 @@ MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX")
718 .boot_params = 0x80000100, 713 .boot_params = 0x80000100,
719 .reserve = omap_reserve, 714 .reserve = omap_reserve,
720 .map_io = n8x0_map_io, 715 .map_io = n8x0_map_io,
721 .init_early = n8x0_init_early, 716 .init_early = omap2420_init_early,
722 .init_irq = omap2_init_irq, 717 .init_irq = omap2_init_irq,
723 .init_machine = n8x0_init_machine, 718 .init_machine = n8x0_init_machine,
724 .timer = &omap2_timer, 719 .timer = &omap2_timer,