diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index b109ce2ba864..be3239f13daa 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -42,15 +42,6 @@ static void __init ek_init_early(void) | |||
42 | { | 42 | { |
43 | /* Initialize processor: 12.000 MHz crystal */ | 43 | /* Initialize processor: 12.000 MHz crystal */ |
44 | at91_initialize(12000000); | 44 | at91_initialize(12000000); |
45 | |||
46 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
47 | at91_register_uart(0, 0, 0); | ||
48 | |||
49 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS) */ | ||
50 | at91_register_uart(AT91SAM9RL_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
51 | |||
52 | /* set serial console to ttyS0 (ie, DBGU) */ | ||
53 | at91_set_serial_console(0); | ||
54 | } | 45 | } |
55 | 46 | ||
56 | /* | 47 | /* |
@@ -296,6 +287,11 @@ static void __init ek_add_device_buttons(void) {} | |||
296 | static void __init ek_board_init(void) | 287 | static void __init ek_board_init(void) |
297 | { | 288 | { |
298 | /* Serial */ | 289 | /* Serial */ |
290 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
291 | at91_register_uart(0, 0, 0); | ||
292 | |||
293 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS) */ | ||
294 | at91_register_uart(AT91SAM9RL_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
299 | at91_add_device_serial(); | 295 | at91_add_device_serial(); |
300 | /* USB HS */ | 296 | /* USB HS */ |
301 | at91_add_device_usba(&ek_usba_udc_data); | 297 | at91_add_device_usba(&ek_usba_udc_data); |