Skip to content
Commit 44ed2697 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Tom Rini
Browse files

efi_loader: initialize console size late



If CONFIG_VIDEO_DM=n we query the display size from the serial console.
Especially when using a remote console the response can be so late that
it interferes with autoboot.

Only query the console size when running an EFI binary.

Add debug output showing the determined console size.

Reported-by: default avatarFabio Estevam <festevam@gmail.com>
Fixes: a9bf024b ("efi_loader: disk: a helper function to create efi_disk objects from udevice")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: default avatarFabio Estevam <festevam@denx.de>
Tested-by: default avatarHeiko Thiery <heiko.thiery@gmail.com>
parent 7e41abad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment