diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3touchbook.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index abb68913e047..a2d0d1971e27 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -311,18 +311,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
311 | }; | 311 | }; |
312 | #endif | 312 | #endif |
313 | 313 | ||
314 | static void __init omap3_touchbook_init_early(void) | ||
315 | { | ||
316 | omap2_init_common_infrastructure(); | ||
317 | omap2_init_common_devices(mt46h32m32lf6_sdrc_params, | ||
318 | mt46h32m32lf6_sdrc_params); | ||
319 | } | ||
320 | |||
321 | static void __init omap3_touchbook_init_irq(void) | ||
322 | { | ||
323 | omap3_init_irq(); | ||
324 | } | ||
325 | |||
326 | static struct platform_device *omap3_touchbook_devices[] __initdata = { | 314 | static struct platform_device *omap3_touchbook_devices[] __initdata = { |
327 | &leds_gpio, | 315 | &leds_gpio, |
328 | &keys_gpio, | 316 | &keys_gpio, |
@@ -367,6 +355,8 @@ static void __init omap3_touchbook_init(void) | |||
367 | platform_add_devices(omap3_touchbook_devices, | 355 | platform_add_devices(omap3_touchbook_devices, |
368 | ARRAY_SIZE(omap3_touchbook_devices)); | 356 | ARRAY_SIZE(omap3_touchbook_devices)); |
369 | omap_serial_init(); | 357 | omap_serial_init(); |
358 | omap_sdrc_init(mt46h32m32lf6_sdrc_params, | ||
359 | mt46h32m32lf6_sdrc_params); | ||
370 | 360 | ||
371 | omap_mux_init_gpio(170, OMAP_PIN_INPUT); | 361 | omap_mux_init_gpio(170, OMAP_PIN_INPUT); |
372 | /* REVISIT leave DVI powered down until it's needed ... */ | 362 | /* REVISIT leave DVI powered down until it's needed ... */ |
@@ -389,8 +379,8 @@ MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | |||
389 | .atag_offset = 0x100, | 379 | .atag_offset = 0x100, |
390 | .reserve = omap_reserve, | 380 | .reserve = omap_reserve, |
391 | .map_io = omap3_map_io, | 381 | .map_io = omap3_map_io, |
392 | .init_early = omap3_touchbook_init_early, | 382 | .init_early = omap3430_init_early, |
393 | .init_irq = omap3_touchbook_init_irq, | 383 | .init_irq = omap3_init_irq, |
394 | .init_machine = omap3_touchbook_init, | 384 | .init_machine = omap3_touchbook_init, |
395 | .timer = &omap3_secure_timer, | 385 | .timer = &omap3_secure_timer, |
396 | MACHINE_END | 386 | MACHINE_END |