]> git.sur5r.net Git - u-boot/commitdiff
efi_loader: always check parameters in efi_cout_query_mode()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 29 Apr 2018 18:02:46 +0000 (20:02 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:20 +0000 (15:27 +0200)
If we cannot determine the size of the serial terminal we still have
to check the parameters of efi_cout_query_mode().

Querying the size of the serial terminal drains the keyboard buffer.
So make sure we do this during the initialization and not in the midst
of an EFI application.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found