diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-osk.c')
-rw-r--r-- | arch/arm/mach-omap1/board-osk.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index a88524e7c315..e990e1bc1669 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -46,8 +46,6 @@ | |||
46 | #include <asm/arch/tc.h> | 46 | #include <asm/arch/tc.h> |
47 | #include <asm/arch/common.h> | 47 | #include <asm/arch/common.h> |
48 | 48 | ||
49 | static int __initdata osk_serial_ports[OMAP_MAX_NR_PORTS] = {1, 0, 0}; | ||
50 | |||
51 | static struct mtd_partition osk_partitions[] = { | 49 | static struct mtd_partition osk_partitions[] = { |
52 | /* bootloader (U-Boot, etc) in first sector */ | 50 | /* bootloader (U-Boot, etc) in first sector */ |
53 | { | 51 | { |
@@ -155,7 +153,7 @@ static void __init osk_init_smc91x(void) | |||
155 | } | 153 | } |
156 | 154 | ||
157 | /* Check EMIFS wait states to fix errors with SMC_GET_PKT_HDR */ | 155 | /* Check EMIFS wait states to fix errors with SMC_GET_PKT_HDR */ |
158 | EMIFS_CCS(1) |= 0x2; | 156 | EMIFS_CCS(1) |= 0x3; |
159 | } | 157 | } |
160 | 158 | ||
161 | static void __init osk_init_cf(void) | 159 | static void __init osk_init_cf(void) |
@@ -193,8 +191,19 @@ static struct omap_usb_config osk_usb_config __initdata = { | |||
193 | .pins[0] = 2, | 191 | .pins[0] = 2, |
194 | }; | 192 | }; |
195 | 193 | ||
194 | static struct omap_uart_config osk_uart_config __initdata = { | ||
195 | .enabled_uarts = (1 << 0), | ||
196 | }; | ||
197 | |||
198 | static struct omap_lcd_config osk_lcd_config __initdata = { | ||
199 | .panel_name = "osk", | ||
200 | .ctrl_name = "internal", | ||
201 | }; | ||
202 | |||
196 | static struct omap_board_config_kernel osk_config[] = { | 203 | static struct omap_board_config_kernel osk_config[] = { |
197 | { OMAP_TAG_USB, &osk_usb_config }, | 204 | { OMAP_TAG_USB, &osk_usb_config }, |
205 | { OMAP_TAG_UART, &osk_uart_config }, | ||
206 | { OMAP_TAG_LCD, &osk_lcd_config }, | ||
198 | }; | 207 | }; |
199 | 208 | ||
200 | #ifdef CONFIG_OMAP_OSK_MISTRAL | 209 | #ifdef CONFIG_OMAP_OSK_MISTRAL |
@@ -254,13 +263,13 @@ static void __init osk_init(void) | |||
254 | omap_board_config_size = ARRAY_SIZE(osk_config); | 263 | omap_board_config_size = ARRAY_SIZE(osk_config); |
255 | USB_TRANSCEIVER_CTRL_REG |= (3 << 1); | 264 | USB_TRANSCEIVER_CTRL_REG |= (3 << 1); |
256 | 265 | ||
266 | omap_serial_init(); | ||
257 | osk_mistral_init(); | 267 | osk_mistral_init(); |
258 | } | 268 | } |
259 | 269 | ||
260 | static void __init osk_map_io(void) | 270 | static void __init osk_map_io(void) |
261 | { | 271 | { |
262 | omap_map_common_io(); | 272 | omap_map_common_io(); |
263 | omap_serial_init(osk_serial_ports); | ||
264 | } | 273 | } |
265 | 274 | ||
266 | MACHINE_START(OMAP_OSK, "TI-OSK") | 275 | MACHINE_START(OMAP_OSK, "TI-OSK") |