Skip to contentSkip to conversation

env: Correct dependency for ENV_IS_IN_NAND

PATCH In review Tom Rini 1 participant 2 messages Mar 20 – Apr 3

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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 minumum, express this dependency in Kconfig.

---
 env/Kconfig | 1 +
 1 file changed, 1 insertion(+)
env/Kconfig +1 -0
index 2feff0b382eb..5979f7faa996 100644
@@ -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.
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

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.

Applied to u-boot/next, thanks!

[1/1] env: Correct dependency for ENV_IS_IN_NAND

      commit: 0a0c3a400180a9d17d50bb9b29921b5c898104c2
Signature · 1 line
Tom