summaryrefslogtreecommitdiffstats
path: root/include/configs/vct.h
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2009-04-23 13:14:20 +0200
committerWolfgang Denk <wd@denx.de>2009-04-28 01:10:24 +0200
commit294f10ca9ea82a15e135dcb0fc658382ab206940 (patch)
tree7871a07282a4b4026bed819f86be6d9e91c1973f /include/configs/vct.h
parent0c8a84916c5dacccdc5b27b63fc463e9f3b04f07 (diff)
downloadtalos-obmc-uboot-294f10ca9ea82a15e135dcb0fc658382ab206940.tar.gz
talos-obmc-uboot-294f10ca9ea82a15e135dcb0fc658382ab206940.zip
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 <dzu@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Diffstat (limited to 'include/configs/vct.h')
-rw-r--r--include/configs/vct.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/vct.h b/include/configs/vct.h
index d202522bd5..fe679974c0 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 }
OpenPOWER on IntegriCloud