[PATCH] env: Correct dependency for ENV_IS_IN_NAND
Tom Rini
trini at konsulko.com
Fri Mar 20 21:53:37 CET 2026
In order to have ENV_IS_IN_NAND be valid we must have MTD_RAW_NAND
enabled as a minumum, express this dependency in Kconfig.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
env/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/env/Kconfig b/env/Kconfig
index 2feff0b382eb..5979f7faa996 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.
--
2.43.0
More information about the U-Boot
mailing list