From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Fri, 28 Jan 2022 18:29:47 +0000 (+0100)
Subject: lib: allow printing RISC-V EFI Boot Protocol GUID
X-Git-Tag: v2025.01-rc5-pxa1908~1559^2~2
X-Git-Url: http://git.dujemihanovic.xyz/browse.php?a=commitdiff_plain;h=8d4c4265327263191a3b9d42bb3e5321a1b61f20;p=u-boot.git

lib: allow printing RISC-V EFI Boot Protocol GUID

On RISC-V a new UEFI protocol has been introduced. Support printing
its GUID using %pUs.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---

diff --git a/lib/uuid.c b/lib/uuid.c
index 24571ef5fb..284f8113ff 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -220,7 +220,13 @@ static const struct {
 		"TCG2 Final Events Table",
 		EFI_TCG2_FINAL_EVENTS_TABLE_GUID,
 	},
+#ifdef CONFIG_EFI_RISCV_BOOT_PROTOCOL
+	{
+		"RISC-V Boot",
+		RISCV_EFI_BOOT_PROTOCOL_GUID,
+	},
 #endif
+#endif /* CONFIG_CMD_EFIDEBUG */
 #ifdef CONFIG_CMD_NVEDIT_EFI
 	/* signature database */
 	{