aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-ecbat91.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/board-ecbat91.c')
-rw-r--r--arch/arm/mach-at91/board-ecbat91.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c
index 307c5304f6eb..2510825f02d6 100644
--- a/arch/arm/mach-at91/board-ecbat91.c
+++ b/arch/arm/mach-at91/board-ecbat91.c
@@ -53,12 +53,6 @@ static void __init ecb_at91init_early(void)
53 53
54 /* Setup the LEDs */ 54 /* Setup the LEDs */
55 at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7); 55 at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7);
56
57 /* DBGU on ttyS0. (Rx & Tx only) */
58 at91_register_uart(0, 0, 0);
59
60 /* USART0 on ttyS1. (Rx & Tx only) */
61 at91_register_uart(AT91RM9200_ID_US0, 1, 0);
62} 56}
63 57
64static struct macb_platform_data __initdata ecb_at91eth_data = { 58static struct macb_platform_data __initdata ecb_at91eth_data = {
@@ -149,6 +143,11 @@ static struct spi_board_info __initdata ecb_at91spi_devices[] = {
149static void __init ecb_at91board_init(void) 143static void __init ecb_at91board_init(void)
150{ 144{
151 /* Serial */ 145 /* Serial */
146 /* DBGU on ttyS0. (Rx & Tx only) */
147 at91_register_uart(0, 0, 0);
148
149 /* USART0 on ttyS1. (Rx & Tx only) */
150 at91_register_uart(AT91RM9200_ID_US0, 1, 0);
152 at91_add_device_serial(); 151 at91_add_device_serial();
153 152
154 /* Ethernet */ 153 /* Ethernet */