aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/board-csb637.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/arch/arm/mach-at91/board-csb637.c b/arch/arm/mach-at91/board-csb637.c
index c5c721d27f42..26cda4301674 100644
--- a/arch/arm/mach-at91/board-csb637.c
+++ b/arch/arm/mach-at91/board-csb637.c
@@ -40,17 +40,6 @@
40#include "generic.h" 40#include "generic.h"
41 41
42 42
43/*
44 * Serial port configuration.
45 * 0 .. 3 = USART0 .. USART3
46 * 4 = DBGU
47 */
48static struct at91_uart_config __initdata csb637_uart_config = {
49 .console_tty = 0, /* ttyS0 */
50 .nr_tty = 2,
51 .tty_map = { 4, 1, -1, -1, -1 } /* ttyS0, ..., ttyS4 */
52};
53
54static void __init csb637_map_io(void) 43static void __init csb637_map_io(void)
55{ 44{
56 /* Initialize processor: 3.6864 MHz crystal */ 45 /* Initialize processor: 3.6864 MHz crystal */
@@ -59,8 +48,11 @@ static void __init csb637_map_io(void)
59 /* Setup the LEDs */ 48 /* Setup the LEDs */
60 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2); 49 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);
61 50
62 /* Setup the serial ports and console */ 51 /* DBGU on ttyS0 */
63 at91_init_serial(&csb637_uart_config); 52 at91_register_uart(0, 0, 0);
53
54 /* make console=ttyS0 the default */
55 at91_set_serial_console(0);
64} 56}
65 57
66static void __init csb637_init_irq(void) 58static void __init csb637_init_irq(void)