Re: [PATCH 1/1] lib: correct list_guid[] array
Simon Glass <[email protected]> Wed, 5 Aug 2026 18:34:37 -0600
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <CAFLszTiBPctpMnuqoHNWLpeYndzKxhLkJ4d6o3t-gdmLEH--2g__14385.1191898406$1785976511$gmane$org@mail.gmail.com> |
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]>