summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-20 14:53:37 -0600
committerTom Rini <[email protected]>2026-04-03 13:42:32 -0600
commit0a0c3a400180a9d17d50bb9b29921b5c898104c2 (patch)
treedf8846c0b5c77c3f3060ba2e627e99f7b9ba9e73
parent99bc9d07b7304f9db08abd6c86229043441ea0b8 (diff)
env: Correct dependency for ENV_IS_IN_NAND
In order to have ENV_IS_IN_NAND be valid we must have MTD_RAW_NAND enabled as a minimum, express this dependency in Kconfig. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--env/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 2feff0b382e..5979f7faa99 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -259,6 +259,7 @@ config ENV_IS_IN_MMC
config ENV_IS_IN_NAND
bool "Environment in a NAND device"
depends on !CHAIN_OF_TRUST
+ depends on MTD_RAW_NAND
help
Define this if you have a NAND device which you want to use for the
environment.