summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-23 13:52:55 -0600
committerTom Rini <[email protected]>2026-04-07 11:32:39 -0600
commitb25d864a97b986ef1038697c8f0dd73262d05220 (patch)
tree4653c6aeb783a25471ce3b5aa4988eff7b118e90 /env
parent7289867a8d73525da169e0f340686b5138b8e50a (diff)
spl: env: Correct dependencies for SPL_SAVEENV and MMC
The SPL_SAVEENV functionality, when working with an MMC device, can only work with SPL_MMC_WRITE enabled. This however only works with SPL_MMC also being enabled. Update the dependencies to show that if we have enabled SPL_ENV_IS_IN_MMC then we select SPL_MMC_WRITE and make SPL_ENV_IS_IN_MMC depends on SPL_MMC. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 5979f7faa99..532adf884da 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -847,6 +847,7 @@ config SPL_ENV_IS_IN_MMC
bool "SPL Environment in an MMC device"
depends on !SPL_ENV_IS_NOWHERE
depends on !SPL_OS_BOOT_SECURE
+ depends on SPL_MMC
depends on ENV_IS_IN_MMC
default y
help