All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] env: Correct dependency for ENV_IS_IN_NAND
@ 2026-03-20 20:53 Tom Rini
  2026-04-03 19:47 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2026-03-20 20:53 UTC (permalink / raw)
  To: u-boot

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] env: Correct dependency for ENV_IS_IN_NAND
  2026-03-20 20:53 [PATCH] env: Correct dependency for ENV_IS_IN_NAND Tom Rini
@ 2026-04-03 19:47 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2026-04-03 19:47 UTC (permalink / raw)
  To: u-boot, Tom Rini

On Fri, 20 Mar 2026 14:53:37 -0600, Tom Rini wrote:

> 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
-- 
Tom



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-03 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 20:53 [PATCH] env: Correct dependency for ENV_IS_IN_NAND Tom Rini
2026-04-03 19:47 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.