]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Avoid overwriting previous outputs on console screen clearing
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 18 Jan 2023 21:24:59 +0000 (22:24 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 20 Jan 2023 15:38:52 +0000 (16:38 +0100)
commit07a0f215c406c713dd1dc43dc27331dcf18054cd
tree52b9af31a40e52fb829777340acdf36fc5dc3f30
parentdd014430b96302daf6e6a17128b54c651edaa1a1
efi_loader: Avoid overwriting previous outputs on console screen clearing

Before clearing the screen, ensure that no previous output of firmware
or UEFI programs will be overwritten on serial devices or other
streaming consoles. This helps generating complete boot logs.

Tested regarding multi-output against qemu-x86_defconfig. Still, there
were remaining concerns about side effects, so this is provided as an
opt-in feature.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/Kconfig
lib/efi_loader/efi_console.c