aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-15 21:38:51 -0600
committerBin Meng <bmeng@tinylab.org>2023-07-17 17:12:07 +0800
commit3710802ebfc42e24fa6b7f8b78f3d668dac1363e (patch)
treed0b0093813519dcad310016a0f3c7c554c576c48 /lib
parent854624c277295fe6c2de66c08750442969b5e584 (diff)
downloadu-boot-3710802ebfc42e24fa6b7f8b78f3d668dac1363e.zip
u-boot-3710802ebfc42e24fa6b7f8b78f3d668dac1363e.tar.gz
u-boot-3710802ebfc42e24fa6b7f8b78f3d668dac1363e.tar.bz2
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/uuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uuid.c b/lib/uuid.c
index 96e1af3..ab30fbf 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 },