diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-04-25 10:53:14 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-28 16:49:03 -0600 |
commit | 4f60166c909f40da6aee14b810806dfa9f553bbc (patch) | |
tree | 97a41e0ed8061892d6b5a1a41c5081c4e3f27fde /drivers/serial/ns16550.c | |
parent | f0f932d620ffc8b5a93fb457efbcfb3c0a7444f2 (diff) | |
download | u-boot-imx-4f60166c909f40da6aee14b810806dfa9f553bbc.zip u-boot-imx-4f60166c909f40da6aee14b810806dfa9f553bbc.tar.gz u-boot-imx-4f60166c909f40da6aee14b810806dfa9f553bbc.tar.bz2 |
serial: ns16550: Remove hard-coded baud_divisor setting
This was accidentally added by commit dd0b0122bacc
"serial: ns16550: Add an option to specify the debug UART register shift".
Remove it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial/ns16550.c')
-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 fd110b3..3d376d7 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -255,7 +255,6 @@ void debug_uart_init(void) */ baud_divisor = calc_divisor(com_port, CONFIG_DEBUG_UART_CLOCK, CONFIG_BAUDRATE); - baud_divisor = 13; serial_out_shift(&com_port->ier, CONFIG_DEBUG_UART_SHIFT, CONFIG_SYS_NS16550_IER); serial_out_shift(&com_port->mcr, CONFIG_DEBUG_UART_SHIFT, UART_MCRVAL); |