diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rm680.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rm680.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c index 7dfed24ee12e..a98db616e0d4 100644 --- a/arch/arm/mach-omap2/board-rm680.c +++ b/arch/arm/mach-omap2/board-rm680.c | |||
@@ -123,15 +123,6 @@ static void __init rm680_peripherals_init(void) | |||
123 | omap2_hsmmc_init(mmc); | 123 | omap2_hsmmc_init(mmc); |
124 | } | 124 | } |
125 | 125 | ||
126 | static void __init rm680_init_early(void) | ||
127 | { | ||
128 | struct omap_sdrc_params *sdrc_params; | ||
129 | |||
130 | omap2_init_common_infrastructure(); | ||
131 | sdrc_params = nokia_get_sdram_timings(); | ||
132 | omap2_init_common_devices(sdrc_params, sdrc_params); | ||
133 | } | ||
134 | |||
135 | #ifdef CONFIG_OMAP_MUX | 126 | #ifdef CONFIG_OMAP_MUX |
136 | static struct omap_board_mux board_mux[] __initdata = { | 127 | static struct omap_board_mux board_mux[] __initdata = { |
137 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 128 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
@@ -140,23 +131,23 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
140 | 131 | ||
141 | static void __init rm680_init(void) | 132 | static void __init rm680_init(void) |
142 | { | 133 | { |
134 | struct omap_sdrc_params *sdrc_params; | ||
135 | |||
143 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 136 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
144 | omap_serial_init(); | 137 | omap_serial_init(); |
138 | |||
139 | sdrc_params = nokia_get_sdram_timings(); | ||
140 | omap_sdrc_init(sdrc_params, sdrc_params); | ||
141 | |||
145 | usb_musb_init(NULL); | 142 | usb_musb_init(NULL); |
146 | rm680_peripherals_init(); | 143 | rm680_peripherals_init(); |
147 | } | 144 | } |
148 | 145 | ||
149 | static void __init rm680_map_io(void) | ||
150 | { | ||
151 | omap2_set_globals_3xxx(); | ||
152 | omap34xx_map_common_io(); | ||
153 | } | ||
154 | |||
155 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") | 146 | MACHINE_START(NOKIA_RM680, "Nokia RM-680 board") |
156 | .boot_params = 0x80000100, | 147 | .boot_params = 0x80000100, |
157 | .reserve = omap_reserve, | 148 | .reserve = omap_reserve, |
158 | .map_io = rm680_map_io, | 149 | .map_io = omap3_map_io, |
159 | .init_early = rm680_init_early, | 150 | .init_early = omap3630_init_early, |
160 | .init_irq = omap3_init_irq, | 151 | .init_irq = omap3_init_irq, |
161 | .init_machine = rm680_init, | 152 | .init_machine = rm680_init, |
162 | .timer = &omap3_timer, | 153 | .timer = &omap3_timer, |