diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-netstar.c')
-rw-r--r-- | arch/arm/mach-omap1/board-netstar.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-netstar.c b/arch/arm/mach-omap1/board-netstar.c index c851c2e4dfcb..0448fa7de8a4 100644 --- a/arch/arm/mach-omap1/board-netstar.c +++ b/arch/arm/mach-omap1/board-netstar.c | |||
@@ -55,6 +55,14 @@ static struct platform_device *netstar_devices[] __initdata = { | |||
55 | &netstar_smc91x_device, | 55 | &netstar_smc91x_device, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static struct omap_uart_config netstar_uart_config __initdata = { | ||
59 | .enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)), | ||
60 | }; | ||
61 | |||
62 | static struct omap_board_config_kernel netstar_config[] = { | ||
63 | { OMAP_TAG_UART, &netstar_uart_config }, | ||
64 | }; | ||
65 | |||
58 | static void __init netstar_init_irq(void) | 66 | static void __init netstar_init_irq(void) |
59 | { | 67 | { |
60 | omap_init_irq(); | 68 | omap_init_irq(); |
@@ -92,14 +100,15 @@ static void __init netstar_init(void) | |||
92 | /* Switch off red LED */ | 100 | /* Switch off red LED */ |
93 | omap_writeb(0x00, OMAP_LPG1_PMR); /* Disable clock */ | 101 | omap_writeb(0x00, OMAP_LPG1_PMR); /* Disable clock */ |
94 | omap_writeb(0x80, OMAP_LPG1_LCR); | 102 | omap_writeb(0x80, OMAP_LPG1_LCR); |
95 | } | ||
96 | 103 | ||
97 | static int __initdata omap_serial_ports[OMAP_MAX_NR_PORTS] = {1, 1, 1}; | 104 | omap_board_config = netstar_config; |
105 | omap_board_config_size = ARRAY_SIZE(netstar_config); | ||
106 | omap_serial_init(); | ||
107 | } | ||
98 | 108 | ||
99 | static void __init netstar_map_io(void) | 109 | static void __init netstar_map_io(void) |
100 | { | 110 | { |
101 | omap_map_common_io(); | 111 | omap_map_common_io(); |
102 | omap_serial_init(omap_serial_ports); | ||
103 | } | 112 | } |
104 | 113 | ||
105 | #define MACHINE_PANICED 1 | 114 | #define MACHINE_PANICED 1 |