summaryrefslogtreecommitdiff
path: root/include/part.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-01-27 11:00:42 +0100
committerTom Rini <trini@konsulko.com>2017-01-28 08:48:03 -0500
commitb331cd6204ffdc568cd6c06bd18e72aa9bc61f22 (patch)
tree3f50e6283579b3a6a063befd7bc5698ecdfc6954 /include/part.h
parent4ac96345b22cc8dcd299c6012cc5c80e44058bae (diff)
cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT
We convert CONFIG_PARTITION_UUIDS to Kconfig first. But in order to cleanly update all of the config files we must also update CMD_PART and CMD_GPT to also be in Kconfig in order to avoid complex logic elsewhere to update all of the config files. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/part.h b/include/part.h
index 243bcfd7c1..9d0e20d041 100644
--- a/include/part.h
+++ b/include/part.h
@@ -53,7 +53,7 @@ typedef struct disk_partition {
uchar name[32]; /* partition name */
uchar type[32]; /* string type description */
int bootable; /* Active/Bootable flag is set */
-#ifdef CONFIG_PARTITION_UUIDS
+#if CONFIG_IS_ENABLED(PARTITION_UUIDS)
char uuid[37]; /* filesystem UUID as string, if exists */
#endif
#ifdef CONFIG_PARTITION_TYPE_GUID