summaryrefslogtreecommitdiff
path: root/disk/Kconfig
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 /disk/Kconfig
parent4ac96345b22cc8dcd299c6012cc5c80e44058bae (diff)
downloadu-boot-imx-b331cd6204ffdc568cd6c06bd18e72aa9bc61f22.zip
u-boot-imx-b331cd6204ffdc568cd6c06bd18e72aa9bc61f22.tar.gz
u-boot-imx-b331cd6204ffdc568cd6c06bd18e72aa9bc61f22.tar.bz2
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 'disk/Kconfig')
-rw-r--r--disk/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/disk/Kconfig b/disk/Kconfig
index 03bf05d..268fb83 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -84,4 +84,17 @@ config SPL_EFI_PARTITION
depends on SPL && PARTITIONS
default y if EFI_PARTITION
+config PARTITION_UUIDS
+ bool "Enable support of UUID for partition"
+ depends on PARTITIONS
+ default y if DISTRO_DEFAULTS
+ default y if EFI_PARTITION
+ help
+ Activate the configuration of UUID for partition
+
+config SPL_PARTITION_UUIDS
+ bool "Enable support of UUID for partition in SPL"
+ depends on SPL && PARTITIONS
+ default y if SPL_EFI_PARTITION
+
endmenu