On 2026-07-31T10:19:50, Heinrich Schuchardt
<[email protected]> wrote:
> 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.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> Reviewed-by: Ilias Apalodimas <[email protected]>
>
> lib/uuid.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> diff --git a/lib/uuid.c b/lib/uuid.c
> @@ -68,60 +68,61 @@ int uuid_str_valid(const char *uuid)
> +#endif /* EFI_PARTITION */
> #if defined(CONFIG_CMD_EFIDEBUG) || defined(CONFIG_EFI_CLIENT)
> {
> NULL, "Device Path",
> PARTITION_SYSTEM_GUID,
> },
> {
> NULL, "Device Path",
> EFI_DEVICE_PATH_PROTOCOL_GUID,
> },
Reviewed-by: Simon Glass <[email protected]>