[PATCH v5 21/28] efi: Support the efi command in the app

Simon Glass sjg at chromium.org
Fri Dec 17 17:37:21 CET 2021


Hi Heinrich,

On Thu, 9 Dec 2021 at 13:27, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 12/4/21 07:56, Simon Glass wrote:
> > At present the 'efi' command only works in the EFI payload. Update it to
> > work in the app too, so the memory map can be examined.
>
> cmd/efi.c seems to be duplicating function do_efi_show_memmap(). In a
> future patch we should try to move to using common code for commands efi
> and efidebug.

Yes and that depends on EFI_LOADER. Perhaps one day we can have a
common helper for this, e.g. in lib/efi ?

Regards,
Simon


More information about the U-Boot mailing list