]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: bootefi: error handling bootefi selftest
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 16 Mar 2024 09:36:44 +0000 (10:36 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 21 Mar 2024 06:28:43 +0000 (07:28 +0100)
commit68fc0b877b5ddc93eb542ffa26dcf83e7e2860a8
tree563b940941e8998f717f9ed4995551054d436af4
parent46e5dd661c82a99b9ac8d302cbbc575f74b6b08b
cmd: bootefi: error handling bootefi selftest

If bootefi selftest is executed and a problem with the device-tree
installation occurs, efi_install_fdt() writes sensible error messages.
It never returns EFI_INVALID_PARAMETER. It neither makes sense to check
for EFI_INVALID_PARAMETER nor to show the usage help for the bootefi
command in this case.

Fixes: 296faf4f7ef1 ("cmd: bootefi: re-organize do_bootefi()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/bootefi.c