pl011: preserve RTS and DTR signal on UART init
authorAndre Przywara <andre.przywara@linaro.org>
Tue, 3 Sep 2013 14:00:52 +0000 (16:00 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 3 Sep 2013 15:33:15 +0000 (16:33 +0100)
commit4b272d61e8ac507ec98d075d41b56eb9ff83b596
treeeb058caa01d754f53b3e4945879c9777d6a05fbd
parentec3f60c9d609703cce2fca30edbc6e72cd18e492
pl011: preserve RTS and DTR signal on UART init

Although we do not support hardware flow control in the Xen driver
for the PL011 UART, the other end may be configured to use it.
In this case it waits in vain for the RTS signal to be asserted by
the host and will never transmit any characters.
So we leave RTS and DTR as they had been setup before.
This fixes the UART input on Calxeda Midway, which uses hardware
flow control for the serial-over-LAN functionality.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/char/pl011.c
xen/include/asm-arm/pl011-uart.h