
1 Aug
2023
1 Aug
'23
2:59 p.m.
On Sun, 23 Jul 2023 12:40:27 +0800 Bin Meng bmeng@tinylab.org wrote:
At present the driver uses IO instructions to access the legacy VGA IO ports, which unfortunately limits the driver to work only on x86. It turns out the IO instruction is not necessary as Bochs VGA card remaps the legacy VGA IO ports (0x3c0 -> 0x3df) to its memory mapped register space from offset 0x400.
Update the driver to use MMIO access for VGA IO port.
Signed-off-by: Bin Meng bmeng@tinylab.org
drivers/video/bochs.c | 6 +++--- drivers/video/bochs.h | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-)
applied to u-boot-video/master, thanks!
-- Anatolij