From: John Jacques <john.jacq...@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.jacq...@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

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to