summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt via U-Boot <[email protected]>2026-07-31 12:19:50 +0200
committerHeinrich Schuchardt <[email protected]>2026-08-29 06:41:23 +0200
commit8932bcad73ed32d276584c6619e26b2e50977ae0 (patch)
treefaab05d43a490b5b0431c0955e0e38ca2bb77267
parent67a095a6896828056e4a1a0ba0e9bb20f5595c59 (diff)
lib: correct list_guid[] array
The #endif for #if CONFIG_IS_ENABLED(EFI_PARTITION) was misplaced. CONFIG_EFI_PARTITION=n disabled all entries in list_guid[]. CONFIG_EFI_PARTITION must only control the translation of GUIDs for GPT partition tables. Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
-rw-r--r--lib/uuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uuid.c b/lib/uuid.c
index d7c164ea06b..16ca8f37751 100644
--- a/lib/uuid.c
+++ b/lib/uuid.c
@@ -95,6 +95,7 @@ static const struct {
"system", "EFI System Partition",
PARTITION_SYSTEM_GUID,
},
+#endif /* EFI_PARTITION */
#if defined(CONFIG_CMD_EFIDEBUG) || defined(CONFIG_EFI_CLIENT)
{
NULL, "Device Path",
@@ -304,7 +305,6 @@ static const struct {
{ "EFI_MEM_STATUS_CODE_REC", NULL, EFI_MEM_STATUS_CODE_REC },
{ "EFI_GUID_EFI_ACPI1", NULL, EFI_GUID_EFI_ACPI1 },
#endif
-#endif /* EFI_PARTITION */
#endif /* !USE_HOSTCC */
};