aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-h4.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-h4.c')
-rw-r--r--arch/arm/mach-omap2/board-h4.c24
1 files changed, 4 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index 8fcf79628ca1..c12666ee7017 100644
--- a/arch/arm/mach-omap2/board-h4.c
+++ b/arch/arm/mach-omap2/board-h4.c
@@ -300,17 +300,6 @@ static struct omap_usb_config h4_usb_config __initdata = {
300 .hmc_mode = 0x00, /* 0:dev|otg 1:disable 2:disable */ 300 .hmc_mode = 0x00, /* 0:dev|otg 1:disable 2:disable */
301}; 301};
302 302
303static void __init omap_h4_init_early(void)
304{
305 omap2_init_common_infrastructure();
306 omap2_init_common_devices(NULL, NULL);
307}
308
309static void __init omap_h4_init_irq(void)
310{
311 omap2_init_irq();
312}
313
314static struct at24_platform_data m24c01 = { 303static struct at24_platform_data m24c01 = {
315 .byte_len = SZ_1K / 8, 304 .byte_len = SZ_1K / 8,
316 .page_size = 16, 305 .page_size = 16,
@@ -378,24 +367,19 @@ static void __init omap_h4_init(void)
378 platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices)); 367 platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices));
379 omap2_usbfs_init(&h4_usb_config); 368 omap2_usbfs_init(&h4_usb_config);
380 omap_serial_init(); 369 omap_serial_init();
370 omap_sdrc_init(NULL, NULL);
381 h4_init_flash(); 371 h4_init_flash();
382 372
383 omap_display_init(&h4_dss_data); 373 omap_display_init(&h4_dss_data);
384} 374}
385 375
386static void __init omap_h4_map_io(void)
387{
388 omap2_set_globals_242x();
389 omap242x_map_common_io();
390}
391
392MACHINE_START(OMAP_H4, "OMAP2420 H4 board") 376MACHINE_START(OMAP_H4, "OMAP2420 H4 board")
393 /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */ 377 /* Maintainer: Paul Mundt <paul.mundt@nokia.com> */
394 .atag_offset = 0x100, 378 .atag_offset = 0x100,
395 .reserve = omap_reserve, 379 .reserve = omap_reserve,
396 .map_io = omap_h4_map_io, 380 .map_io = omap242x_map_io,
397 .init_early = omap_h4_init_early, 381 .init_early = omap2420_init_early,
398 .init_irq = omap_h4_init_irq, 382 .init_irq = omap2_init_irq,
399 .init_machine = omap_h4_init, 383 .init_machine = omap_h4_init,
400 .timer = &omap2_timer, 384 .timer = &omap2_timer,
401MACHINE_END 385MACHINE_END