]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: serial: bcm6345: fix uart stop bits
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 18 May 2017 21:09:45 +0000 (23:09 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 31 May 2017 12:49:55 +0000 (14:49 +0200)
I missed this when I added support for BMIPS UART driver and it's needed to
achieve a real 115200 8N1 setup.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
drivers/serial/serial_bcm6345.c

index db270e3b21bd1cdc76b3fa9dad98b878ddc9f3f5..14c1bf26c12bf824aca60f9d9a3771e698e3529c 100644 (file)
@@ -141,6 +141,8 @@ static int bcm6345_serial_init(void __iomem *base, ulong clk, u32 baudrate)
                        UART_CTL_RXTIMEOUT_5 |
                        /* set 8 bits/symbol */
                        UART_CTL_BITSPERSYM_8 |
+                       /* set 1 stop bit */
+                       UART_CTL_STOPBITS_1 |
                        /* set parity to even */
                        UART_CTL_RXPAREVEN_MASK |
                        UART_CTL_TXPAREVEN_MASK);