diff options
-rw-r--r-- | arch/arm/mach-at91/board-csb337.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c index 0e2a11fc5bbd..26fea4dcc3a0 100644 --- a/arch/arm/mach-at91/board-csb337.c +++ b/arch/arm/mach-at91/board-csb337.c | |||
@@ -43,17 +43,6 @@ | |||
43 | #include "generic.h" | 43 | #include "generic.h" |
44 | 44 | ||
45 | 45 | ||
46 | /* | ||
47 | * Serial port configuration. | ||
48 | * 0 .. 3 = USART0 .. USART3 | ||
49 | * 4 = DBGU | ||
50 | */ | ||
51 | static struct at91_uart_config __initdata csb337_uart_config = { | ||
52 | .console_tty = 0, /* ttyS0 */ | ||
53 | .nr_tty = 2, | ||
54 | .tty_map = { 4, 1, -1, -1, -1 } /* ttyS0, ..., ttyS4 */ | ||
55 | }; | ||
56 | |||
57 | static void __init csb337_map_io(void) | 46 | static void __init csb337_map_io(void) |
58 | { | 47 | { |
59 | /* Initialize processor: 3.6864 MHz crystal */ | 48 | /* Initialize processor: 3.6864 MHz crystal */ |
@@ -62,8 +51,11 @@ static void __init csb337_map_io(void) | |||
62 | /* Setup the LEDs */ | 51 | /* Setup the LEDs */ |
63 | at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1); | 52 | at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1); |
64 | 53 | ||
65 | /* Setup the serial ports and console */ | 54 | /* DBGU on ttyS0 */ |
66 | at91_init_serial(&csb337_uart_config); | 55 | at91_register_uart(0, 0, 0); |
56 | |||
57 | /* make console=ttyS0 the default */ | ||
58 | at91_set_serial_console(0); | ||
67 | } | 59 | } |
68 | 60 | ||
69 | static void __init csb337_init_irq(void) | 61 | static void __init csb337_init_irq(void) |