[U-Boot] [PATCH v2 09/11] efi_loader: check initialization of EFI subsystem is successful

Simon Glass sjg at chromium.org
Fri Mar 23 14:30:16 UTC 2018


On 15 February 2018 at 00:31, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> Up to now errors in the initialization of the EFI subsystems was not
> checked.
>
> If any initialization fails, leave the bootefi command.
>
> We do not retry initialization because this would require to undo all prior
> initalization steps.

Also, why would it succeed on the second try?
>
> Suggested-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
>         no change, patch resent
> ---
>  cmd/bootefi.c | 67 +++++++++++++++++++++++++++++++++++++++++------------------
>  1 file changed, 47 insertions(+), 20 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list