CONFIG_PARTITION_MANIPULATION is currently selected by the createnv and
parted commands, but neither is really needed to make use of the
global.system.gpt_refresh magic variable.

Adapt the dependencies in Kconfig to reflect this.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 common/partitions/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/partitions/Kconfig b/common/partitions/Kconfig
index 1007dbbe19d2..9d037b02e257 100644
--- a/common/partitions/Kconfig
+++ b/common/partitions/Kconfig
@@ -25,7 +25,8 @@ config PARTITION_DISK_EFI
          Add support to handle partitions in GUID Partition Table style.
 
 config PARTITION_DISK_EFI_REFRESH
-       depends on PARTITION_DISK_EFI && PARTITION_MANIPULATION
+       depends on PARTITION_DISK_EFI
+       select PARTITION_MANIPULATION
        bool "refresh GPT partition on demand"
        help
          The GPT alternative header must be at the end of the device. When disk
-- 
2.47.3


Reply via email to