From: Simon Glass Date: Sun, 16 Jul 2023 03:38:51 +0000 (-0600) Subject: efi: Show all known UUIDs with CONFIG_CMD_EFIDEBUG X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3710802ebfc42e24fa6b7f8b78f3d668dac1363e;p=u-boot.git efi: Show all known UUIDs with CONFIG_CMD_EFIDEBUG The CMD_EFIDEBUG option enables debugging so it is reasonable to assume that all effects should be made to decode the dreaded UUIDs favoured by UEFI. Update the table to show them all when CONFIG_CMD_EFIDEBUG is enabled. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/lib/uuid.c b/lib/uuid.c index 96e1af3c8b..ab30fbf915 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -255,7 +255,7 @@ static const struct { EFI_CERT_TYPE_PKCS7_GUID, }, #endif -#ifdef CONFIG_EFI +#if defined(CONFIG_CMD_EFIDEBUG) || defined(CONFIG_EFI) { "EFI_LZMA_COMPRESSED", EFI_LZMA_COMPRESSED }, { "EFI_DXE_SERVICES", EFI_DXE_SERVICES }, { "EFI_HOB_LIST", EFI_HOB_LIST },