]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
serial: ns16550: Remove hard-coded baud_divisor setting
authorAxel Lin <axel.lin@ingics.com>
Sat, 25 Apr 2015 02:53:14 +0000 (10:53 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:31:33 +0000 (22:31 +0200)
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>
drivers/serial/ns16550.c

index fd110b3ddcdf1514a738294ebf4f423bfc254437..3d376d758085b4389a15b888638449311c5f9391 100644 (file)
@@ -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);