diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-09-13 16:07:21 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-09-13 16:07:21 +0100 |
commit | 9834ecaaea8dfe1def47431f096a2b77de3583a1 (patch) | |
tree | 15c87aae019bdfc27e0626a7150bfeafada0640b /gdb-xml | |
parent | 7956a8f5dd702adf351575b2aee9dbd99001b61f (diff) | |
download | qemu-9834ecaaea8dfe1def47431f096a2b77de3583a1.zip qemu-9834ecaaea8dfe1def47431f096a2b77de3583a1.tar.gz qemu-9834ecaaea8dfe1def47431f096a2b77de3583a1.tar.bz2 |
hw/char: cadence_uart: Ignore access when unclocked or in reset for uart_{read, write}()
Read or write to uart registers when unclocked or in reset should be
ignored. Add the check there, and as a result of this, the check in
uart_write_tx_fifo() is now unnecessary.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210901124521.30599-6-bmeng.cn@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions