Commit 9a99caf3 authored by Simon Glass's avatar Simon Glass
Browse files

x86: pci: Display vesa modes in hex

The hex value is more commonly understood, so use that instead of decimal.
Add a 0x prefix to avoid confusion.
Signed-off-by: default avatarSimon Glass <>
Reviewed-by: default avatarBin Meng <>
parent f4a6f0ae
......@@ -247,7 +247,7 @@ int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void), bool emulate)
debug("Selected vesa mode %d\b", vesa_mode);
debug("Selected vesa mode %#x\n", vesa_mode);
if (emulate) {
BE_VGAInfo *info;
......@@ -275,7 +275,7 @@ int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void), bool emulate)
return -ENOSYS;
debug("Final vesa mode %d\n", mode_info.video_mode);
debug("Final vesa mode %#x\n", mode_info.video_mode);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment