]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: Improve EFI variable load message
authorPranav Tilak <pranav.vinaytilak@amd.com>
Mon, 2 Feb 2026 11:37:17 +0000 (17:07 +0530)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 6 Feb 2026 08:56:45 +0000 (09:56 +0100)
commit32b835ccf3db8ae393c1ff27a9a367f7b6edd78f
tree93618090530fcfd6c0dfb46dbac6fd1124fb6834
parentbeec6834544d8288d34ef0cd8e3c40aa890a8a10
efi_loader: Improve EFI variable load message

Change the EFI variable load message from log_err() to log_info() with
neutral wording. The previous "Failed to load" message caused customer
confusion as it appeared to indicate an error condition.

The efi_var_from_file() function deliberately returns EFI_SUCCESS in
this case to allow the boot process to continue normally. This is
documented in the function's comment block but was not reflected in
the log message level or content.

The message now uses informational wording to reflect that this is
normal behavior when the ubootefi.var file does not yet exist.

Signed-off-by: Pranav Tilak <pranav.vinaytilak@amd.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_var_file.c