]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: efidebug display RNG protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Sep 2020 12:50:25 +0000 (14:50 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Sep 2020 14:10:45 +0000 (16:10 +0200)
Add the Random Number Generator (RNG) protocol to the GUIDs that the
'efidebug dh' protocol can replace by a text.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efidebug.c

index 9874838b005a0d8ef4768adfda9bef09adebf091..5288b9920b4d3c70e52ef764ca0174f60c44798e 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <command.h>
 #include <efi_loader.h>
+#include <efi_rng.h>
 #include <exports.h>
 #include <hexdump.h>
 #include <log.h>
@@ -248,6 +249,10 @@ static const struct {
                "Load File2",
                EFI_LOAD_FILE2_PROTOCOL_GUID,
        },
+       {
+               "Random Number Generator",
+               EFI_RNG_PROTOCOL_GUID,
+       },
        {
                "Simple Network",
                EFI_SIMPLE_NETWORK_PROTOCOL_GUID,