Add the EFI Debug Image Info Table GUID to the translation table used by
uuid_guid_get_str().

This allows to print a human readable table name with `efidebug tables'
instead of "(unknown)".

Signed-off-by: Vincent Stehlé <[email protected]>
Cc: Tom Rini <[email protected]>
---
 lib/uuid.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/uuid.c b/lib/uuid.c
index 8d99b540d9f..e0f8d55438b 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -256,6 +256,10 @@ static const struct {
                RISCV_EFI_BOOT_PROTOCOL_GUID,
        },
 #endif
+       {
+               NULL, "EFI Debug Image Info Table",
+               EFI_DEBUG_IMAGE_INFO_TABLE_GUID,
+       },
 #endif /* CONFIG_CMD_EFIDEBUG */
 #ifdef CONFIG_CMD_NVEDIT_EFI
        /* signature database */
-- 
2.51.0

Reply via email to