diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index fc824361430d..668e278433c2 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -41,8 +41,6 @@ | |||
41 | 41 | ||
42 | extern int omap_gpio_init(void); | 42 | extern int omap_gpio_init(void); |
43 | 43 | ||
44 | static int __initdata h3_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1}; | ||
45 | |||
46 | static struct mtd_partition h3_partitions[] = { | 44 | static struct mtd_partition h3_partitions[] = { |
47 | /* bootloader (U-Boot, etc) in first sector */ | 45 | /* bootloader (U-Boot, etc) in first sector */ |
48 | { | 46 | { |
@@ -168,9 +166,20 @@ static struct omap_mmc_config h3_mmc_config __initdata = { | |||
168 | }, | 166 | }, |
169 | }; | 167 | }; |
170 | 168 | ||
169 | static struct omap_uart_config h3_uart_config __initdata = { | ||
170 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
171 | }; | ||
172 | |||
173 | static struct omap_lcd_config h3_lcd_config __initdata = { | ||
174 | .panel_name = "h3", | ||
175 | .ctrl_name = "internal", | ||
176 | }; | ||
177 | |||
171 | static struct omap_board_config_kernel h3_config[] = { | 178 | static struct omap_board_config_kernel h3_config[] = { |
172 | { OMAP_TAG_USB, &h3_usb_config }, | 179 | { OMAP_TAG_USB, &h3_usb_config }, |
173 | { OMAP_TAG_MMC, &h3_mmc_config }, | 180 | { OMAP_TAG_MMC, &h3_mmc_config }, |
181 | { OMAP_TAG_UART, &h3_uart_config }, | ||
182 | { OMAP_TAG_LCD, &h3_lcd_config }, | ||
174 | }; | 183 | }; |
175 | 184 | ||
176 | static void __init h3_init(void) | 185 | static void __init h3_init(void) |
@@ -180,6 +189,7 @@ static void __init h3_init(void) | |||
180 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); | 189 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); |
181 | omap_board_config = h3_config; | 190 | omap_board_config = h3_config; |
182 | omap_board_config_size = ARRAY_SIZE(h3_config); | 191 | omap_board_config_size = ARRAY_SIZE(h3_config); |
192 | omap_serial_init(); | ||
183 | } | 193 | } |
184 | 194 | ||
185 | static void __init h3_init_smc91x(void) | 195 | static void __init h3_init_smc91x(void) |
@@ -201,7 +211,6 @@ void h3_init_irq(void) | |||
201 | static void __init h3_map_io(void) | 211 | static void __init h3_map_io(void) |
202 | { | 212 | { |
203 | omap_map_common_io(); | 213 | omap_map_common_io(); |
204 | omap_serial_init(h3_serial_ports); | ||
205 | } | 214 | } |
206 | 215 | ||
207 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") | 216 | MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board") |