Skip to content

Commit

Permalink
lib: allow printing RISC-V EFI Boot Protocol GUID
Browse files Browse the repository at this point in the history
On RISC-V a new UEFI protocol has been introduced. Support printing
its GUID using %pUs.

Signed-off-by: Heinrich Schuchardt <[email protected]>
  • Loading branch information
xypron committed Jan 29, 2022
1 parent 1ccf871 commit 8d4c426
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/uuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
{
Expand Down

0 comments on commit 8d4c426

Please sign in to comment.