summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/Kconfig4
-rw-r--r--disk/Kconfig1
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0625ee4050..e253fb7a68 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1171,8 +1171,8 @@ config CMD_OSD
config CMD_PART
bool "part"
- select HAVE_BLOCK_DEVICE
- select PARTITION_UUIDS
+ depends on PARTITION_UUIDS
+ default y if DISTRO_DEFAULTS
help
Read and display information about the partition table on
various media.
diff --git a/disk/Kconfig b/disk/Kconfig
index cee16a80bc..1dfe3a0667 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -3,6 +3,7 @@ menu "Partition Types"
config PARTITIONS
bool "Enable Partition Labels (disklabels) support"
+ depends on HAVE_BLOCK_DEVICE
default y
select SPL_SPRINTF if SPL
select TPL_SPRINTF if TPL