]> git.baikalelectronics.ru Git - uboot.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)
commit8c5cc70db60f2993cda190223df8e33729f59adb
treeb15c17a6cddd9b0290e32db73bd3b3522f8a2f7e
parent2a66335351307bfba8e9016dd9e90507faa97229
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