summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcdde04)
raw | patch | inline | side by side (parent: fcdde04)
author | Joshua Housh <joshua.housh@calxeda.com> | |
Sun, 2 Dec 2012 17:09:26 +0000 (17:09 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Fri, 7 Dec 2012 15:47:52 +0000 (08:47 -0700) |
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.
This is in line with how Linux behaves.
Signed-off-by: Joshua Housh <joshua.housh@calxeda.com>
Tested-by: Marek Vasut <marex@denx.de>
flow-control on, characters are never received by the pl011.
Asserting RTS when flow-control is off will have no effect.
This is in line with how Linux behaves.
Signed-off-by: Joshua Housh <joshua.housh@calxeda.com>
Tested-by: Marek Vasut <marex@denx.de>
drivers/serial/serial_pl01x.c | patch | blob | history |
index b331be794badb8f5d84710ba693348ca9600bc2e..dfdba9f64eb8031144d6be6b2722f070df3cf047 100644 (file)
}
#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;
}