]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi: Show all known UUIDs with CONFIG_CMD_EFIDEBUG
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:51 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:07 +0000 (17:12 +0800)
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/uuid.c

index 96e1af3c8b00ddfbecb0b2b44e19e09b557d35a6..ab30fbf9152fbad6667d99b378b275d8537bf48d 100644 (file)
@@ -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 },