All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] env: Correct dependency for ENV_IS_IN_NAND
Date: Fri, 20 Mar 2026 14:53:37 -0600	[thread overview]
Message-ID: <20260320205337.3788774-1-trini@konsulko.com> (raw)

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


             reply	other threads:[~2026-03-20 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-20 20:53 Tom Rini [this message]
2026-04-03 19:47 ` [PATCH] env: Correct dependency for ENV_IS_IN_NAND Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260320205337.3788774-1-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.