From 294f10ca9ea82a15e135dcb0fc658382ab206940 Mon Sep 17 00:00:00 2001 From: Detlev Zundel Date: Thu, 23 Apr 2009 13:14:20 +0200 Subject: mips/vcth: Use generic 16550 uart driver As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by: Detlev Zundel Acked-by: Stefan Roese Acked-by: Shinya Kuribayashi --- include/configs/vct.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include/configs/vct.h') diff --git a/include/configs/vct.h b/include/configs/vct.h index d202522bd..fe679974c 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -61,7 +61,18 @@ /* * UART */ -#define CONFIG_VCT_SERIAL +#ifdef CONFIG_VCT_PLATINUMAVC +#define UART_1_BASE 0xBDC30000 +#else +#define UART_1_BASE 0xBF89C000 +#endif + +#define CONFIG_SYS_NS16550_SERIAL +#define CONFIG_SYS_NS16550 +#define CONFIG_SYS_NS16550_REG_SIZE -4 +#define CONFIG_SYS_NS16550_COM1 UART_1_BASE +#define CONFIG_CONS_INDEX 1 +#define CONFIG_SYS_NS16550_CLK 921600 #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } -- cgit v1.2.3