]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: do not set invalid screen mode
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Sep 2019 20:46:13 +0000 (22:46 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Sep 2019 21:18:51 +0000 (23:18 +0200)
commit03446987c5008fd1e3732b01fd63a29c7a6d9246
treeb15c17a6cddd9b0290e32db73bd3b3522f8a2f7e
parent97ea0690f4ea8b30f66fab7dc3bd439714647989
efi_loader: do not set invalid screen mode

EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.SetMode() should return EFI_UNDEFINED if a
screen mode is not available.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Alexander Graf <agraf@csgraf.de>
lib/efi_loader/efi_console.c