hw/char/escc: Implement loopback mode
commit02388b5925ff2411853bb69e449f1e5da76e12d4
authorThomas Huth <huth@tuxfamily.org>
Sun, 16 Jul 2023 15:35:19 +0000 (16 17:35 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 25 Jul 2023 12:40:49 +0000 (25 14:40 +0200)
treeca43919e4c6fb19ade49c25f735d70da04aaa4bd
parent5fc1a686607a40cbf0aa0b861dd8e9a642813a83
hw/char/escc: Implement loopback mode

The firmware of the m68k next-cube machine uses the loopback mode
for self-testing the hardware and currently fails during this step.
By implementing the loopback mode, we can make the firmware pass
to the next step.

Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230716153519.31722-1-huth@tuxfamily.org>
hw/char/escc.c