diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-21 06:51:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-21 06:51:42 -0400 |
commit | ae82bfd61ca7e57cc2d914add9ab0873e260f2f5 (patch) | |
tree | a7f862ad8b0ae4f2e8953e6aa613eb702b484ecf /arch/arm/mach-omap2/board-omap3evm.c | |
parent | cd74c86bdf705f824d494a2bbda393d1d562b40a (diff) | |
parent | ebc79c4f8da0f92efa968e0328f32334a2ce80cf (diff) |
Merge branch 'linus' into perfcounters/rename
Merge reason: pull in all the latest code before doing the rename.
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)); |