aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-28 19:29:47 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-29 10:23:40 +0100
commit8d4c4265327263191a3b9d42bb3e5321a1b61f20 (patch)
tree8296e4bf19d83694fd57d9552efe716c27d14dff /lib
parent1ccf87165e38cb32f2444d8fd4b3e4d8ea13928e (diff)
downloadu-boot-8d4c4265327263191a3b9d42bb3e5321a1b61f20.zip
u-boot-8d4c4265327263191a3b9d42bb3e5321a1b61f20.tar.gz
u-boot-8d4c4265327263191a3b9d42bb3e5321a1b61f20.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/uuid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/uuid.c b/lib/uuid.c
index 24571ef..284f811 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 */
{