efi: Check for failure when initing the app
authorSimon Glass <sjg@chromium.org>
Wed, 29 Dec 2021 18:57:47 +0000 (11:57 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 31 Dec 2021 05:50:40 +0000 (06:50 +0100)
commitbc53a35ac526c575a91c12af21f7106d54f7a496
treedddcde1df0825af2a9785eb2b577b3d912474c20
parent2a1cf03ea4ff9a43fd990dc9ae0110464569c59b
efi: Check for failure when initing the app

The stub checks for failure with efi_init(). Add this for the app as well.
It is unlikely that anything can be done, but we may as well stop.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi/efi_app.c