]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Use puts() in cout so that console recording works
authorSimon Glass <sjg@chromium.org>
Mon, 2 Sep 2024 01:18:12 +0000 (19:18 -0600)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 12 Sep 2024 15:36:24 +0000 (17:36 +0200)
commit250f69274b2f9b27efd7195ba6d9159833586d6e
treeae89126917430079e3244c618870b2882e751016
parent22d3d3cd49339fb0eb70ce22276867993ada090c
efi_loader: Use puts() in cout so that console recording works

At present EFI output to the console uses fputs() which bypasses the
console-recording feature. This makes it impossible for tests to check
the output of an EFI app.

There doesn't seem to be any need to do this bypass, so adjust it to
simply use the puts() function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_console.c