diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 8ec2a132904d..42217b32f835 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -139,23 +139,19 @@ static inline void board_smc91x_init(void) | |||
139 | 139 | ||
140 | #endif | 140 | #endif |
141 | 141 | ||
142 | static struct omap_board_config_kernel sdp2430_config[] = { | ||
143 | {OMAP_TAG_LCD, &sdp2430_lcd_config}, | ||
144 | }; | ||
145 | |||
142 | static void __init omap_2430sdp_init_irq(void) | 146 | static void __init omap_2430sdp_init_irq(void) |
143 | { | 147 | { |
148 | omap_board_config = sdp2430_config; | ||
149 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); | ||
144 | omap2_init_common_hw(NULL, NULL); | 150 | omap2_init_common_hw(NULL, NULL); |
145 | omap_init_irq(); | 151 | omap_init_irq(); |
146 | omap_gpio_init(); | 152 | omap_gpio_init(); |
147 | } | 153 | } |
148 | 154 | ||
149 | static struct omap_uart_config sdp2430_uart_config __initdata = { | ||
150 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
151 | }; | ||
152 | |||
153 | static struct omap_board_config_kernel sdp2430_config[] = { | ||
154 | {OMAP_TAG_UART, &sdp2430_uart_config}, | ||
155 | {OMAP_TAG_LCD, &sdp2430_lcd_config}, | ||
156 | }; | ||
157 | |||
158 | |||
159 | static struct twl4030_gpio_platform_data sdp2430_gpio_data = { | 155 | static struct twl4030_gpio_platform_data sdp2430_gpio_data = { |
160 | .gpio_base = OMAP_MAX_GPIO_LINES, | 156 | .gpio_base = OMAP_MAX_GPIO_LINES, |
161 | .irq_base = TWL4030_GPIO_IRQ_BASE, | 157 | .irq_base = TWL4030_GPIO_IRQ_BASE, |
@@ -205,8 +201,6 @@ static void __init omap_2430sdp_init(void) | |||
205 | omap2430_i2c_init(); | 201 | omap2430_i2c_init(); |
206 | 202 | ||
207 | platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices)); | 203 | platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices)); |
208 | omap_board_config = sdp2430_config; | ||
209 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); | ||
210 | omap_serial_init(); | 204 | omap_serial_init(); |
211 | twl4030_mmc_init(mmc); | 205 | twl4030_mmc_init(mmc); |
212 | usb_musb_init(); | 206 | usb_musb_init(); |