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 <trini@konsulko.com>
This commit is contained in:
Tom Rini
2026-03-20 14:53:37 -06:00
parent 99bc9d07b7
commit 0a0c3a4001

1
env/Kconfig vendored
View File

@@ -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.