[PATCH v2 08/12] efi: Include GUID names with EFI app and payload

Simon Glass sjg at chromium.org
Sun Mar 19 20:28:59 CET 2023


Hi Heinrich,

On Mon, 20 Mar 2023 at 05:36, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 3/10/23 21:48, Simon Glass wrote:
> > These are currently only available when running with EFI_LOADER.
> > Expand this to include the app and payload, since it is useful to be
> > able to decode things there.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v2:
> > - Add new patch to enable GUID names with EFI app and payload
> >
> >   lib/uuid.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/uuid.c b/lib/uuid.c
> > index d86fab72626..09793fb62bc 100644
> > --- a/lib/uuid.c
> > +++ b/lib/uuid.c
> > @@ -102,7 +102,7 @@ static const struct {
> >       {"lvm",         PARTITION_LINUX_LVM_GUID},
> >       {"u-boot-env",  PARTITION_U_BOOT_ENVIRONMENT},
> >   #endif
> > -#ifdef CONFIG_CMD_EFIDEBUG
> > +#if defined(CONFIG_CMD_EFIDEBUG) || defined(CONFIG_EFI)
>
> %s/CONFIG_EFI/CONFIG_EFI_APP)/
>
> We don't need these when running EFI_STUB=y without EFI_LOADER).

Actually in that case they are needed, so that the 'efi tables'
command can work. Otherwise it just shows thes hex values.

Regards,
Simon


More information about the U-Boot mailing list