Skip to content

Commit

Permalink
Correct SPL use of PARTITION_TYPE_GUID
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Feb 10, 2023
1 parent bc2dba9 commit 0b11c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/part_efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b11c3d

Please sign in to comment.