[U-Boot] [PATCH 1/1] efi_loader: provide meaningful status code

Alexander Graf agraf at suse.de
Mon Jul 3 12:21:02 UTC 2017


On 06/25/2017 10:56 PM, Heinrich Schuchardt wrote:
> Currenty any EFI status other than EFI_SUCCESS is reported as
> Application terminated, r = -22
>
> With the patch the status code and its mnemonic is printed.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

While I think it's very useful to have the status code, I don't want to 
waste 1kb of .rodata on every binary out there - that will only drive 
more people to disable CONFIG_EFI_LOADER which is the opposite of what 
we want.

Can you please respin without the string return for now? Maybe we can 
add a CONFIG_EFI_LOADER_DEBUG option later on which gives us verbose 
printing on demand on a few more bits.


Alex



More information about the U-Boot mailing list