diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap1/board-generic.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c index 05c6e9d858f3..dc5b75de531c 100644 --- a/arch/arm/mach-omap1/board-generic.c +++ b/arch/arm/mach-omap1/board-generic.c | |||
@@ -27,12 +27,6 @@ | |||
27 | #include <plat/board.h> | 27 | #include <plat/board.h> |
28 | #include <plat/common.h> | 28 | #include <plat/common.h> |
29 | 29 | ||
30 | static void __init omap_generic_init_irq(void) | ||
31 | { | ||
32 | omap1_init_common_hw(); | ||
33 | omap1_init_irq(); | ||
34 | } | ||
35 | |||
36 | /* assume no Mini-AB port */ | 30 | /* assume no Mini-AB port */ |
37 | 31 | ||
38 | #ifdef CONFIG_ARCH_OMAP15XX | 32 | #ifdef CONFIG_ARCH_OMAP15XX |
@@ -86,17 +80,13 @@ static void __init omap_generic_init(void) | |||
86 | omap_register_i2c_bus(1, 100, NULL, 0); | 80 | omap_register_i2c_bus(1, 100, NULL, 0); |
87 | } | 81 | } |
88 | 82 | ||
89 | static void __init omap_generic_map_io(void) | ||
90 | { | ||
91 | omap1_map_common_io(); | ||
92 | } | ||
93 | |||
94 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") | 83 | MACHINE_START(OMAP_GENERIC, "Generic OMAP1510/1610/1710") |
95 | /* Maintainer: Tony Lindgren <tony@atomide.com> */ | 84 | /* Maintainer: Tony Lindgren <tony@atomide.com> */ |
96 | .atag_offset = 0x100, | 85 | .atag_offset = 0x100, |
97 | .map_io = omap_generic_map_io, | 86 | .map_io = omap16xx_map_io, |
87 | .init_early = omap1_init_early, | ||
98 | .reserve = omap_reserve, | 88 | .reserve = omap_reserve, |
99 | .init_irq = omap_generic_init_irq, | 89 | .init_irq = omap1_init_irq, |
100 | .init_machine = omap_generic_init, | 90 | .init_machine = omap_generic_init, |
101 | .timer = &omap1_timer, | 91 | .timer = &omap1_timer, |
102 | MACHINE_END | 92 | MACHINE_END |