Mark Cave-Ayland c29cd47e82 escc: always set STATUS_TXEMPTY in R_STATUS on device reset
The "Transmit Interrupts and Transmit Buffer Empty Bit" section of the ESCC
datasheet states the following about the STATUS_TXEMPTY bit: "After a hardware
reset (including a hardware reset by software), or a channel reset, this bit
is set to 1".

Update escc_reset() to set the STATUS_TXEMPTY bit in the R_STATUS register
on device reset as described which fixes a regression whereby the Sun PROM
checks this bit early on startup and gets stuck in an infinite loop if it is
not set.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20211118181835.18497-2-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2021-11-21 09:56:52 +00:00
..
2021-10-27 14:45:22 +02:00
2021-10-12 08:20:08 +02:00
2021-10-12 08:20:08 +02:00
2021-11-15 21:56:15 +01:00
2021-11-09 13:16:56 +01:00
2021-10-18 00:41:36 +02:00
2021-11-17 19:10:44 +01:00
2021-11-15 11:10:11 -05:00
2021-11-02 14:14:55 -04:00
2021-11-17 11:25:55 -07:00
2020-08-21 06:30:33 -04:00