summaryrefslogtreecommitdiff
path: root/drivers/ns16550.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-29 22:00:43 +0000
committerwdenk <wdenk>2003-08-29 22:00:43 +0000
commit6f21347d49b1741e4b8247f5e2d3fa83ef169c25 (patch)
tree680eaba02ba065cc99e7f75d155bc5f0b75789ea /drivers/ns16550.c
parentc29fdfc1d8cbefd2d85a354b95486a6d2b3f4a88 (diff)
downloadu-boot-imx-6f21347d49b1741e4b8247f5e2d3fa83ef169c25.zip
u-boot-imx-6f21347d49b1741e4b8247f5e2d3fa83ef169c25.tar.gz
u-boot-imx-6f21347d49b1741e4b8247f5e2d3fa83ef169c25.tar.bz2
* Patch by George G. Davis, 19 Aug 2003:
fix TI Innovator/OMAP1510 pin configs * Patches by Kshitij, 18 Aug 2003 - add support for arm926ejs cpu core - add support for TI OMAP 1610 Innovator Board
Diffstat (limited to 'drivers/ns16550.c')
-rw-r--r--drivers/ns16550.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ns16550.c b/drivers/ns16550.c
index b20ae4b..a7aa40f 100644
--- a/drivers/ns16550.c
+++ b/drivers/ns16550.c
@@ -26,10 +26,9 @@ void NS16550_init (NS16550_t com_port, int baud_divisor)
com_port->lcr = LCRVAL;
com_port->mcr = MCRVAL;
com_port->fcr = FCRVAL;
-#ifdef CONFIG_OMAP1510
- com_port->mdr1 = 0; /* select uart mode */
+#if defined(CONFIG_OMAP1510) || defined(CONFIG_OMAP1610)
+ com_port->mdr1 = 0; /* select uart mode */
#endif
-
}
void NS16550_reinit (NS16550_t com_port, int baud_divisor)