]> git.baikalelectronics.ru Git - uboot.git/commit
bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Apr 2018 05:02:15 +0000 (22:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 14:38:35 +0000 (22:38 +0800)
commit8f409956e7ccc091a7e33a9fab1c747e28ba1af8
tree09f1797eced2ef7b2f5fb8ee014563a9bd475e74
parent4d8643631cc2f39d4ab5efd6e6ace068bae7c8c6
bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE

If CONFIG_FRAMEBUFFER_SET_VESA_MODE is not set, don't switch
graphics card to VESA mode. This applies to both native mode
and emulator mode of running the VGA BIOS.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/bios.c
drivers/bios_emulator/atibios.c