[U-Boot] [PATCH v2 10/18] bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE

Simon Glass sjg at chromium.org
Thu Apr 12 16:42:08 UTC 2018


Hi Bin,

On 11 April 2018 at 23:02, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
> Changes in v2: None
>
>  arch/x86/lib/bios.c             | 4 ++++
>  drivers/bios_emulator/atibios.c | 4 ++++
>  2 files changed, 8 insertions(+)

Could this use if() instead of #ifdef ?

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list