]> git.proxmox.com Git - mirror_qemu.git/commit
escc: implement hard reset as described in the datasheet
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 3 Sep 2021 11:32:20 +0000 (12:32 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 8 Sep 2021 10:09:45 +0000 (11:09 +0100)
commit160509aebecded2051bd74d00022d052c7c769be
tree16d7582abadadd9413e0448581e863d764a0f9f5
parent1f476e78a80b72d668f82cc7fe01cf2166f8c352
escc: implement hard reset as described in the datasheet

The hardware reset differs from a device reset in that it only changes the contents
of specific registers. Remove the code that resets all the registers to zero during
hardware reset and implement the default values using the existing soft reset code
with the additional changes listed in the table in the "Z85C30 Reset" section.

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