Skip to content
Commit 68edbed4 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Heinrich Schuchardt
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: a57ad20d ("efi_loader: split efi_init_obj_list() into two stages")
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 e05bd68e
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