Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91144
b: refs/heads/master
c: c8fc191
h: refs/heads/master
v: v3
  • Loading branch information
Bill Gatliff authored and Russell King committed Apr 10, 2008
1 parent 424f169 commit 3749fe9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1af89cb6532dff0ad26f33fe6bd548c307a92f2b
refs/heads/master: c8fc19165694a9d4bd0f80c9f167e4b41d0db1a0
18 changes: 5 additions & 13 deletions trunk/arch/arm/mach-at91/board-csb337.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@
#include "generic.h"


/*
* Serial port configuration.
* 0 .. 3 = USART0 .. USART3
* 4 = DBGU
*/
static struct at91_uart_config __initdata csb337_uart_config = {
.console_tty = 0, /* ttyS0 */
.nr_tty = 2,
.tty_map = { 4, 1, -1, -1, -1 } /* ttyS0, ..., ttyS4 */
};

static void __init csb337_map_io(void)
{
/* Initialize processor: 3.6864 MHz crystal */
Expand All @@ -62,8 +51,11 @@ static void __init csb337_map_io(void)
/* Setup the LEDs */
at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);

/* Setup the serial ports and console */
at91_init_serial(&csb337_uart_config);
/* DBGU on ttyS0 */
at91_register_uart(0, 0, 0);

/* make console=ttyS0 the default */
at91_set_serial_console(0);
}

static void __init csb337_init_irq(void)
Expand Down

0 comments on commit 3749fe9

Please sign in to comment.