Rob Herring ce8f0905a5 pl011: fix UARTRSR accesses corrupting the UARTCR value
Offset 4 is UARTRSR/UARTECR, not the UARTCR. The UARTCR would be
corrupted if the UARTRSR is ever written. Fix by implementing a correct
model of the UARTRSR/UARTECR register. Reads of this register simply
reflect the error bits in data register. Only breaks can be triggered in
QEMU. With the pl011_can_receive function, we effectively have flow
control between the host and the model. Framing and parity errors simply
don't make sense in the model and will never occur.

Signed-off-by: Rob Herring <rob.herring@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1395166721-15716-3-git-send-email-robherring2@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-03-18 19:38:55 +00:00
..
2014-03-17 16:31:46 +00:00
2014-03-13 15:33:04 +00:00
2014-03-13 15:33:04 +00:00
2014-03-18 19:36:13 +00:00
2014-03-15 13:54:18 +04:00
2014-03-12 20:13:02 +01:00
2014-03-05 03:06:46 +01:00
2014-03-15 13:54:18 +04:00
2014-03-13 21:27:54 +00:00
2014-03-17 22:01:19 +01:00