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-omap3evm.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-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index c4b144647dc5..d50b9be90580 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -92,10 +92,6 @@ static inline void __init omap3evm_init_smc911x(void) | |||
92 | gpio_direction_input(OMAP3EVM_ETHR_GPIO_IRQ); | 92 | gpio_direction_input(OMAP3EVM_ETHR_GPIO_IRQ); |
93 | } | 93 | } |
94 | 94 | ||
95 | static struct omap_uart_config omap3_evm_uart_config __initdata = { | ||
96 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
97 | }; | ||
98 | |||
99 | static struct twl4030_hsmmc_info mmc[] = { | 95 | static struct twl4030_hsmmc_info mmc[] = { |
100 | { | 96 | { |
101 | .mmc = 1, | 97 | .mmc = 1, |
@@ -278,19 +274,20 @@ struct spi_board_info omap3evm_spi_board_info[] = { | |||
278 | }, | 274 | }, |
279 | }; | 275 | }; |
280 | 276 | ||
277 | static struct omap_board_config_kernel omap3_evm_config[] __initdata = { | ||
278 | { OMAP_TAG_LCD, &omap3_evm_lcd_config }, | ||
279 | }; | ||
280 | |||
281 | static void __init omap3_evm_init_irq(void) | 281 | static void __init omap3_evm_init_irq(void) |
282 | { | 282 | { |
283 | omap_board_config = omap3_evm_config; | ||
284 | omap_board_config_size = ARRAY_SIZE(omap3_evm_config); | ||
283 | omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL); | 285 | omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL); |
284 | omap_init_irq(); | 286 | omap_init_irq(); |
285 | omap_gpio_init(); | 287 | omap_gpio_init(); |
286 | omap3evm_init_smc911x(); | 288 | omap3evm_init_smc911x(); |
287 | } | 289 | } |
288 | 290 | ||
289 | static struct omap_board_config_kernel omap3_evm_config[] __initdata = { | ||
290 | { OMAP_TAG_UART, &omap3_evm_uart_config }, | ||
291 | { OMAP_TAG_LCD, &omap3_evm_lcd_config }, | ||
292 | }; | ||
293 | |||
294 | static struct platform_device *omap3_evm_devices[] __initdata = { | 291 | static struct platform_device *omap3_evm_devices[] __initdata = { |
295 | &omap3_evm_lcd_device, | 292 | &omap3_evm_lcd_device, |
296 | &omap3evm_smc911x_device, | 293 | &omap3evm_smc911x_device, |
@@ -301,8 +298,6 @@ static void __init omap3_evm_init(void) | |||
301 | omap3_evm_i2c_init(); | 298 | omap3_evm_i2c_init(); |
302 | 299 | ||
303 | platform_add_devices(omap3_evm_devices, ARRAY_SIZE(omap3_evm_devices)); | 300 | platform_add_devices(omap3_evm_devices, ARRAY_SIZE(omap3_evm_devices)); |
304 | omap_board_config = omap3_evm_config; | ||
305 | omap_board_config_size = ARRAY_SIZE(omap3_evm_config); | ||
306 | 301 | ||
307 | spi_register_board_info(omap3evm_spi_board_info, | 302 | spi_register_board_info(omap3evm_spi_board_info, |
308 | ARRAY_SIZE(omap3evm_spi_board_info)); | 303 | ARRAY_SIZE(omap3evm_spi_board_info)); |