aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2017-05-18 23:09:45 +0200
committerDaniel Schwierzeck2017-05-31 14:49:55 +0200
commit6b7185f3eea0e176063df4ae8ed3fde9ae87d246 (patch)
treeb8ad9920a563a230bfb930d1b7200e31179fcc4a
parent9ac0b63973b70164e21bddc6e3657fc16a63fe13 (diff)
dm: serial: bcm6345: fix uart stop bits
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>
-rw-r--r--drivers/serial/serial_bcm6345.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/serial_bcm6345.c b/drivers/serial/serial_bcm6345.c
index db270e3b21b..14c1bf26c12 100644
--- a/drivers/serial/serial_bcm6345.c
+++ b/drivers/serial/serial_bcm6345.c
@@ -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);