aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/serial.c')
-rw-r--r--arch/arm/mach-omap1/serial.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/serial.c b/arch/arm/mach-omap1/serial.c
index b78d0749f13d..c73d1b77b364 100644
--- a/arch/arm/mach-omap1/serial.c
+++ b/arch/arm/mach-omap1/serial.c
@@ -52,9 +52,11 @@ static inline void omap_serial_outp(struct plat_serial8250_port *p, int offset,
52 */ 52 */
53static void __init omap_serial_reset(struct plat_serial8250_port *p) 53static void __init omap_serial_reset(struct plat_serial8250_port *p)
54{ 54{
55 omap_serial_outp(p, UART_OMAP_MDR1, 0x07); /* disable UART */ 55 omap_serial_outp(p, UART_OMAP_MDR1,
56 UART_OMAP_MDR1_DISABLE); /* disable UART */
56 omap_serial_outp(p, UART_OMAP_SCR, 0x08); /* TX watermark */ 57 omap_serial_outp(p, UART_OMAP_SCR, 0x08); /* TX watermark */
57 omap_serial_outp(p, UART_OMAP_MDR1, 0x00); /* enable UART */ 58 omap_serial_outp(p, UART_OMAP_MDR1,
59 UART_OMAP_MDR1_16X_MODE); /* enable UART */
58 60
59 if (!cpu_is_omap15xx()) { 61 if (!cpu_is_omap15xx()) {
60 omap_serial_outp(p, UART_OMAP_SYSC, 0x01); 62 omap_serial_outp(p, UART_OMAP_SYSC, 0x01);