diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-27 22:06:28 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-22 20:04:18 -0600 |
commit | ab9fd2e83a0f781534fbb8a2b88c724a29b7f20a (patch) | |
tree | 658a0c3fe20b05c831f940002d8c02a79a839bcd /drivers | |
parent | 363e6da10313edb9ab7bffd8ee9000f72af11290 (diff) |
serial: ns16550: Remove unnecessary init on UART setup
It is not necessary to write a zero baud rate to the device, and for some
chips this will cause problems. Drop this code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/ns16550.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 61312995fb..fd110b3ddc 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -175,7 +175,6 @@ void NS16550_init(NS16550_t com_port, int baud_divisor) defined(CONFIG_TI81XX) || defined(CONFIG_AM43XX) serial_out(0x7, &com_port->mdr1); /* mode select reset TL16C750*/ #endif - NS16550_setbrg(com_port, 0); serial_out(UART_MCRVAL, &com_port->mcr); serial_out(UART_FCRVAL, &com_port->fcr); if (baud_divisor != -1) |