summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-07-23 12:40:27 +0800
committerAnatolij Gustschin <agust@denx.de>2023-08-01 13:31:29 +0200
commitffe1c8379e824007a7341381e20e9346c7a5c1ec (patch)
tree2d7b8e62572f7a1791894182b48146c109f0c4bb /lib/string.c
parentcaae795a1c6a205498470e9dfc2725ae3052ad12 (diff)
video: bochs: Avoid using IO instructions to access VGA IO port
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> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> # qemu-x86_64
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions