]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi: Include GUID names with EFI app and payload
authorSimon Glass <sjg@chromium.org>
Sun, 19 Mar 2023 19:30:12 +0000 (08:30 +1300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:07:22 +0000 (11:07 +0100)
These are currently only available when running with EFI_LOADER.
Expand this to include the app and payload, since it is useful to be
able to decode things there.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/uuid.c

index 5ea30a66f5d099b8be0a87394bb8be3a86b9f396..96e1af3c8b00ddfbecb0b2b44e19e09b557d35a6 100644 (file)
@@ -102,7 +102,7 @@ static const struct {
        {"lvm",         PARTITION_LINUX_LVM_GUID},
        {"u-boot-env",  PARTITION_U_BOOT_ENVIRONMENT},
 #endif
-#ifdef CONFIG_CMD_EFIDEBUG
+#if defined(CONFIG_CMD_EFIDEBUG) || defined(CONFIG_EFI)
        {
                "Device Path",
                EFI_DEVICE_PATH_PROTOCOL_GUID,