diff options
author | Joshua Housh <joshua.housh@calxeda.com> | 2012-11-09 10:01:11 -0600 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-12-06 13:51:53 -0700 |
commit | 2af59c1c9412bafd441a8e472585541a3a36ae4e (patch) | |
tree | 6bdccd987f85a72c520c5bb40a259755778c6936 | |
parent | 035faf32a5cc8eb5c5880bc458d61834a0d5e4df (diff) | |
download | u-boot-linaro-stable-2af59c1c9412bafd441a8e472585541a3a36ae4e.tar.gz |
serial_pl011: Set RTS during initialization
If the pl011 is connected to another device which has hardware
flow-control on, characters are never received by the pl011.
Asserting RTS when flow-control is off will have no effect.
Signed-off-by: Joshua Housh <joshua.housh@calxeda.com>
-rw-r--r-- | drivers/serial/serial_pl01x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index b331be794..dfdba9f64 100644 --- a/drivers/serial/serial_pl01x.c +++ b/drivers/serial/serial_pl01x.c @@ -163,8 +163,8 @@ static int pl01x_serial_init(void) } #endif /* Finally, enable the UART */ - writel(UART_PL011_CR_UARTEN | UART_PL011_CR_TXE | UART_PL011_CR_RXE, - ®s->pl011_cr); + writel(UART_PL011_CR_UARTEN | UART_PL011_CR_TXE | UART_PL011_CR_RXE | + UART_PL011_CR_RTS, ®s->pl011_cr); return 0; } |