On 3/10/23 21:48, Simon Glass wrote:
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 <s...@chromium.org>
---

Changes in v2:
- Add new patch to enable GUID names with EFI app and payload

  lib/uuid.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/uuid.c b/lib/uuid.c
index d86fab72626..09793fb62bc 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -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)

%s/CONFIG_EFI/CONFIG_EFI_APP)/

We don't need these when running EFI_STUB=y without EFI_LOADER).

Best regards

Heinrich

        {
                "Device Path",
                EFI_DEVICE_PATH_PROTOCOL_GUID,

Reply via email to