lib: allow printing RISC-V EFI Boot Protocol GUID
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 28 Jan 2022 18:29:47 +0000 (19:29 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 09:23:40 +0000 (10:23 +0100)
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>
lib/uuid.c

index 24571ef..284f811 100644 (file)
@@ -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 */
        {