diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-voiceblue.c')
-rw-r--r-- | arch/arm/mach-omap1/board-voiceblue.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index 3f018b296861..6f9a6220e78a 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -150,9 +150,14 @@ static struct omap_mmc_config voiceblue_mmc_config __initdata = { | |||
150 | }, | 150 | }, |
151 | }; | 151 | }; |
152 | 152 | ||
153 | static struct omap_uart_config voiceblue_uart_config __initdata = { | ||
154 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
155 | }; | ||
156 | |||
153 | static struct omap_board_config_kernel voiceblue_config[] = { | 157 | static struct omap_board_config_kernel voiceblue_config[] = { |
154 | { OMAP_TAG_USB, &voiceblue_usb_config }, | 158 | { OMAP_TAG_USB, &voiceblue_usb_config }, |
155 | { OMAP_TAG_MMC, &voiceblue_mmc_config }, | 159 | { OMAP_TAG_MMC, &voiceblue_mmc_config }, |
160 | { OMAP_TAG_UART, &voiceblue_uart_config }, | ||
156 | }; | 161 | }; |
157 | 162 | ||
158 | static void __init voiceblue_init_irq(void) | 163 | static void __init voiceblue_init_irq(void) |
@@ -191,6 +196,7 @@ static void __init voiceblue_init(void) | |||
191 | platform_add_devices(voiceblue_devices, ARRAY_SIZE(voiceblue_devices)); | 196 | platform_add_devices(voiceblue_devices, ARRAY_SIZE(voiceblue_devices)); |
192 | omap_board_config = voiceblue_config; | 197 | omap_board_config = voiceblue_config; |
193 | omap_board_config_size = ARRAY_SIZE(voiceblue_config); | 198 | omap_board_config_size = ARRAY_SIZE(voiceblue_config); |
199 | omap_serial_init(); | ||
194 | 200 | ||
195 | /* There is a good chance board is going up, so enable power LED | 201 | /* There is a good chance board is going up, so enable power LED |
196 | * (it is connected through invertor) */ | 202 | * (it is connected through invertor) */ |
@@ -198,12 +204,9 @@ static void __init voiceblue_init(void) | |||
198 | omap_writeb(0x00, OMAP_LPG1_PMR); /* Disable clock */ | 204 | omap_writeb(0x00, OMAP_LPG1_PMR); /* Disable clock */ |
199 | } | 205 | } |
200 | 206 | ||
201 | static int __initdata omap_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1}; | ||
202 | |||
203 | static void __init voiceblue_map_io(void) | 207 | static void __init voiceblue_map_io(void) |
204 | { | 208 | { |
205 | omap_map_common_io(); | 209 | omap_map_common_io(); |
206 | omap_serial_init(omap_serial_ports); | ||
207 | } | 210 | } |
208 | 211 | ||
209 | #define MACHINE_PANICED 1 | 212 | #define MACHINE_PANICED 1 |