qemu-patch-raspberry4/include/hw/char
Richard Braun f6bfe45af2 hw/char/stm32f2xx_usart: fix TXE/TC bit handling
I/O currently being synchronous, there is no reason to ever clear the
SR_TXE bit. However the SR_TC bit may be cleared by software writing
to the SR register, so set it on each write.

In addition, fix the reset value of the USART status register.

Signed-off-by: Richard Braun <rbraun@sceen.net>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
[PMM: removed XXX tag from comment, since it isn't something
 we need to come back and fix in QEMU]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-02-22 15:12:51 +00:00
..
bcm2835_aux.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
cadence_uart.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
cmsdk-apb-uart.h hw/char/cmsdk-apb-uart.c: Implement CMSDK APB UART 2017-07-17 13:36:08 +01:00
digic-uart.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
escc.h hw/char: remove legacy interface escc_init() 2018-02-16 12:14:26 +11:00
imx_serial.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
lm32_juart.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
pl011.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
serial.h char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
stm32f2xx_usart.h hw/char/stm32f2xx_usart: fix TXE/TC bit handling 2018-02-22 15:12:51 +00:00
xilinx_uartlite.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00