summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorRichard Braun2018-02-22 16:12:51 +0100
committerPeter Maydell2018-02-22 16:12:51 +0100
commitf6bfe45af2a9bd1b929955ca3bf54726d1e68d88 (patch)
tree192a87b7baeb70244561b22df6442fbda77eebf4 /blockdev.c
parentraspi: Add "raspi3" machine type (diff)
downloadqemu-f6bfe45af2a9bd1b929955ca3bf54726d1e68d88.tar.gz
qemu-f6bfe45af2a9bd1b929955ca3bf54726d1e68d88.tar.xz
qemu-f6bfe45af2a9bd1b929955ca3bf54726d1e68d88.zip
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions