diff options
Diffstat (limited to 'arch/arm/mach-at91/board-kafa.c')
-rw-r--r-- | arch/arm/mach-at91/board-kafa.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-kafa.c b/arch/arm/mach-at91/board-kafa.c index 3e858edfcd2b..f46b3eb73457 100644 --- a/arch/arm/mach-at91/board-kafa.c +++ b/arch/arm/mach-at91/board-kafa.c | |||
@@ -50,12 +50,6 @@ static void __init kafa_init_early(void) | |||
50 | 50 | ||
51 | /* Set up the LEDs */ | 51 | /* Set up the LEDs */ |
52 | at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4); | 52 | at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4); |
53 | |||
54 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
55 | at91_register_uart(0, 0, 0); | ||
56 | |||
57 | /* USART0 on ttyS1 (Rx, Tx, CTS, RTS) */ | ||
58 | at91_register_uart(AT91RM9200_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
59 | } | 53 | } |
60 | 54 | ||
61 | static struct macb_platform_data __initdata kafa_eth_data = { | 55 | static struct macb_platform_data __initdata kafa_eth_data = { |
@@ -77,6 +71,11 @@ static struct at91_udc_data __initdata kafa_udc_data = { | |||
77 | static void __init kafa_board_init(void) | 71 | static void __init kafa_board_init(void) |
78 | { | 72 | { |
79 | /* Serial */ | 73 | /* Serial */ |
74 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
75 | at91_register_uart(0, 0, 0); | ||
76 | |||
77 | /* USART0 on ttyS1 (Rx, Tx, CTS, RTS) */ | ||
78 | at91_register_uart(AT91RM9200_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
80 | at91_add_device_serial(); | 79 | at91_add_device_serial(); |
81 | /* Ethernet */ | 80 | /* Ethernet */ |
82 | at91_add_device_eth(&kafa_eth_data); | 81 | at91_add_device_eth(&kafa_eth_data); |