diff options
Diffstat (limited to 'drivers/ns16550.c')
-rw-r--r-- | drivers/ns16550.c | 5 |
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) |