commit | caae795a1c6a205498470e9dfc2725ae3052ad12 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng@tinylab.org> | Sun Jul 23 12:40:26 2023 +0800 |
committer | Anatolij Gustschin <agust@denx.de> | Tue Aug 01 13:30:41 2023 +0200 |
tree | 9c08e5ddfe2de360684b8e5880acdbd732dee737 | |
parent | 5ee029a190d5c0bf5dcba2f2138d3fa8466e16d6 [diff] |
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