]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of PARTITION_TYPE_GUID
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:27 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:39 +0000 (07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PARTITION_TYPE_GUID defined in Kconfig

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

index 18f7e584050780c663e0d51f8f4c6691e63c8bbf..80a44dc9f072e6703e413cc51e62d4b93d90ed64 100644 (file)
@@ -242,7 +242,7 @@ void part_print_efi(struct blk_desc *dev_desc)
                        print_efiname(&gpt_pte[i]));
                printf("\tattrs:\t0x%016llx\n", gpt_pte[i].attributes.raw);
                uuid = (unsigned char *)gpt_pte[i].partition_type_guid.b;
-               if (CONFIG_IS_ENABLED(PARTITION_TYPE_GUID))
+               if (IS_ENABLED(CONFIG_PARTITION_TYPE_GUID))
                        printf("\ttype:\t%pUl\n\t\t(%pUs)\n", uuid, uuid);
                else
                        printf("\ttype:\t%pUl\n", uuid);