An upcoming change to QEMU's ESCC device reset mechanism exposed a bug
that OpenBIOS's ESCC driver doesn't actually reset the port before
attempting to configure it. Whilst this has no effect for now, once the
QEMU ESCC changes have been merged (which implement the reset as
documented in the datasheet), this port reset must be sent so that the
registers are set to their default values after power-on.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland(a)ilande.co.uk>
Mark Cave-Ayland (2):
escc: add port index to uart_init_line()
escc: send software reset command before configuring the port
drivers/escc.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
--
2.20.1