]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: bochs: Drop the useless argument of bochs_vga_write()
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:26 +0000 (12:40 +0800)
committerAnatolij Gustschin <agust@denx.de>
Tue, 1 Aug 2023 11:30:41 +0000 (13:30 +0200)
commitcaae795a1c6a205498470e9dfc2725ae3052ad12
tree9c08e5ddfe2de360684b8e5880acdbd732dee737
parent5ee029a190d5c0bf5dcba2f2138d3fa8466e16d6
video: bochs: Drop the useless argument of bochs_vga_write()

bochs_vga_write() takes 'index' as one argument, but never uses it.

While we are here, use macros instead of magic numbers for the
VGA IO port register name and value.

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
drivers/video/bochs.c
drivers/video/bochs.h