]> git.ipfire.org Git - thirdparty/qemu.git/commit
escc: reset register values to zero in escc_reset()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 3 Sep 2021 11:32:16 +0000 (12:32 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 8 Sep 2021 10:09:45 +0000 (11:09 +0100)
commit9d248a4be524a6c820634e9b58e79085972cb78f
tree31adb480c7a782e7e70e5e9edf3f2dc1cd33affe
parent0e042025b9fe262316f29e4b8ec47f0b85c24e5f
escc: reset register values to zero in escc_reset()

This is to ensure that a device reset always returns the ESCC to a known state.

Note that this is currently redundant with the same code in escc_reset_chn()
but that will change shortly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210903113223.19551-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/char/escc.c