diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-20 14:24:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-20 14:25:03 -0400 |
commit | bfefb7a0c6e08736f2d5917c468467f134bf28bb (patch) | |
tree | 7aa7084114dc083fe5b4d7b532901bdeb67188e7 /arch/arm/mach-omap2/board-overo.c | |
parent | 8d0cc631f6dd0a9283ceb7d61d8b85ecbcd355ea (diff) | |
parent | 78f28b7c555359c67c2a0d23f7436e915329421e (diff) |
Merge branch 'linus' into x86/urgent
Merge reason: Bring in changes that the next patch will depend on.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 6bce23004aa4..9917d2fddc2f 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -271,9 +271,6 @@ static void __init overo_flash_init(void) | |||
271 | printk(KERN_ERR "Unable to register NAND device\n"); | 271 | printk(KERN_ERR "Unable to register NAND device\n"); |
272 | } | 272 | } |
273 | } | 273 | } |
274 | static struct omap_uart_config overo_uart_config __initdata = { | ||
275 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
276 | }; | ||
277 | 274 | ||
278 | static struct twl4030_hsmmc_info mmc[] = { | 275 | static struct twl4030_hsmmc_info mmc[] = { |
279 | { | 276 | { |
@@ -360,14 +357,6 @@ static int __init overo_i2c_init(void) | |||
360 | return 0; | 357 | return 0; |
361 | } | 358 | } |
362 | 359 | ||
363 | static void __init overo_init_irq(void) | ||
364 | { | ||
365 | omap2_init_common_hw(mt46h32m32lf6_sdrc_params, | ||
366 | mt46h32m32lf6_sdrc_params); | ||
367 | omap_init_irq(); | ||
368 | omap_gpio_init(); | ||
369 | } | ||
370 | |||
371 | static struct platform_device overo_lcd_device = { | 360 | static struct platform_device overo_lcd_device = { |
372 | .name = "overo_lcd", | 361 | .name = "overo_lcd", |
373 | .id = -1, | 362 | .id = -1, |
@@ -378,10 +367,19 @@ static struct omap_lcd_config overo_lcd_config __initdata = { | |||
378 | }; | 367 | }; |
379 | 368 | ||
380 | static struct omap_board_config_kernel overo_config[] __initdata = { | 369 | static struct omap_board_config_kernel overo_config[] __initdata = { |
381 | { OMAP_TAG_UART, &overo_uart_config }, | ||
382 | { OMAP_TAG_LCD, &overo_lcd_config }, | 370 | { OMAP_TAG_LCD, &overo_lcd_config }, |
383 | }; | 371 | }; |
384 | 372 | ||
373 | static void __init overo_init_irq(void) | ||
374 | { | ||
375 | omap_board_config = overo_config; | ||
376 | omap_board_config_size = ARRAY_SIZE(overo_config); | ||
377 | omap2_init_common_hw(mt46h32m32lf6_sdrc_params, | ||
378 | mt46h32m32lf6_sdrc_params); | ||
379 | omap_init_irq(); | ||
380 | omap_gpio_init(); | ||
381 | } | ||
382 | |||
385 | static struct platform_device *overo_devices[] __initdata = { | 383 | static struct platform_device *overo_devices[] __initdata = { |
386 | &overo_lcd_device, | 384 | &overo_lcd_device, |
387 | }; | 385 | }; |
@@ -390,8 +388,6 @@ static void __init overo_init(void) | |||
390 | { | 388 | { |
391 | overo_i2c_init(); | 389 | overo_i2c_init(); |
392 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); | 390 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); |
393 | omap_board_config = overo_config; | ||
394 | omap_board_config_size = ARRAY_SIZE(overo_config); | ||
395 | omap_serial_init(); | 391 | omap_serial_init(); |
396 | overo_flash_init(); | 392 | overo_flash_init(); |
397 | usb_musb_init(); | 393 | usb_musb_init(); |