[linux-yocto] [PATCH 02/26] drivers/tty/serial: Remove a Bringup Change
Daniel Dragomir
daniel.dragomir at windriver.com
Wed Nov 16 08:56:38 PST 2016
From: John Jacques <john.jacques at intel.com>
During Axxia bringup, setting the baud rate was disabled because
the frequency reported for the peripheral clock was wrong.
This commits reverts that change.
Signed-off-by: John Jacques <john.jacques at intel.com>
---
drivers/tty/serial/amba-pl011.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 7a6ee2bd..3565fff 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1820,10 +1820,8 @@ pl011_set_termios(struct uart_port *port, struct ktermios *termios,
quot -= 2;
}
/* Set baud rate */
-#if 0
writew(quot & 0x3f, port->membase + UART011_FBRD);
writew(quot >> 6, port->membase + UART011_IBRD);
-#endif
/*
* ----------v----------v----------v----------v-----
--
2.7.4
More information about the linux-yocto
mailing list