summaryrefslogtreecommitdiff
path: root/include/configs/quad100hd.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-09-20 14:05:31 (GMT)
committerStefan Roese <sr@denx.de>2010-09-23 07:02:05 (GMT)
commit550650ddd0fde00f245bc3da72d7272844198394 (patch)
tree6a9ef8ac54cfaf5ff63a047b2c66d0e058e4cd9f /include/configs/quad100hd.h
parentafabb498b749b48ca3ee7e833fe1501e2d6993cb (diff)
downloadu-boot-550650ddd0fde00f245bc3da72d7272844198394.tar.xz
ppc4xx: Use common NS16550 driver for PPC4xx UART
This patch removes the PPC4xx UART driver. Instead the common NS16550 driver is used, since all PPC4xx SoC's use this peripheral device. The file 4xx_uart.c now only implements the UART clock calculation function which also sets the SoC internal UART divisors. All PPC4xx board config headers are changed to use this common NS16550 driver now. Tested on these boards: acadia, canyonlands, katmai, kilauea, sequoia, zeus Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/quad100hd.h')
-rw-r--r--include/configs/quad100hd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/quad100hd.h b/include/configs/quad100hd.h
index b778187..0764cc8 100644
--- a/include/configs/quad100hd.h
+++ b/include/configs/quad100hd.h
@@ -105,6 +105,11 @@
/*-----------------------------------------------------------------------
* Serial Port
*----------------------------------------------------------------------*/
+#define CONFIG_CONS_INDEX 1 /* Use UART0 */
+#define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_SERIAL
+#define CONFIG_SYS_NS16550_REG_SIZE 1
+#define CONFIG_SYS_NS16550_CLK get_serial_clock()
#undef CONFIG_SYS_EXT_SERIAL_CLOCK /* external serial clock */
#define CONFIG_SYS_BASE_BAUD 691200
#define CONFIG_BAUDRATE 115200