diff options
| author | Holger Brunck <[email protected]> | 2011-05-31 02:12:49 +0000 |
|---|---|---|
| committer | U-Boot <uboot@lilith.(none)> | 2011-05-31 19:45:54 +0200 |
| commit | 3d3c70969762282eaf470e0e6e467dd5c733b075 (patch) | |
| tree | c60bd6da6d5fa3dc7513a2e8ae4ae49630650064 /include | |
| parent | 95e39793312ab1ce01615f2b5330382e99ed6e81 (diff) | |
arm/km: add second serial interface for kirkwood
Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/km/km_arm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 9c704fc5edc..20ee6eab856 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -91,6 +91,7 @@ #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK #define CONFIG_SYS_NS16550_COM1 KW_UART0_BASE +#define CONFIG_SYS_NS16550_COM2 KW_UART1_BASE /* * Serial Port configuration @@ -135,7 +136,12 @@ #define BOOTFLASH_START 0x0 +/* Kirkwood has two serial IF */ +#if (CONFIG_CONS_INDEX == 2) +#define CONFIG_KM_CONSOLE_TTY "ttyS1" +#else #define CONFIG_KM_CONSOLE_TTY "ttyS0" +#endif /* * Other required minimal configurations |
