]> git.sur5r.net Git - u-boot/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)
commitca5eb0c5fb8823a480bd7caecb456407d8098488
tree09f1797eced2ef7b2f5fb8ee014563a9bd475e74
parent839c4e9c5bb09ac1ef2c129c7082a15b9cbd3a8a
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