]> git.sur5r.net Git - u-boot/commit
efi_loader: Correctly figure out size for vidconsole
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:43 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 09:28:39 +0000 (11:28 +0200)
commita18c5a8382284037ea8fa4742736a65317476d23
treea4b819db6d2fdc15b947daa13947d561e1b25751
parent71cc25c35c34945babbd94935a0e9c4f4ee942b2
efi_loader: Correctly figure out size for vidconsole

If stdout is vidconsole, we cannot rely on ANSI escape sequences to
query the size, as vidconsole cannot reply on stdin.  Instead special-
case this if stdout is vidconsole.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_console.c