All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 5/7] dts: Correct entry for OF_OMIT_DTB
Date: Tue,  7 Jul 2026 19:25:15 -0600	[thread overview]
Message-ID: <20260708013019.288985-6-trini@konsulko.com> (raw)
In-Reply-To: <20260708013019.288985-1-trini@konsulko.com>

When we omit writing a device tree file is not something that should be
prompted for but rather it should be selected when needed, and the
"default y if ..." conditions should be used for when this should be
enabled without being selected.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 dts/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dts/Kconfig b/dts/Kconfig
index 2eb48223de2b..7457e0a5bb2e 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -205,8 +205,7 @@ config OF_HAS_PRIOR_STAGE
 	  disabled in the board's defconfig file.
 
 config OF_OMIT_DTB
-	bool "Omit the device tree output when building"
-	default y if OF_HAS_PRIOR_STAGE && !BINMAN
+	def_bool y if OF_HAS_PRIOR_STAGE && !BINMAN
 	help
 	  As a special case, avoid writing a device tree file u-boot.dtb when
 	  building. Also don't include that file in u-boot.bin
-- 
2.43.0


  parent reply	other threads:[~2026-07-08  1:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08  1:25 [PATCH 0/7] Correct behavior of OF_OMIT_DTB Tom Rini
2026-07-08  1:25 ` [PATCH 1/7] lib/fdtdec.c: Disallow overriding the fdt address with mandatory passage Tom Rini
2026-07-08 16:26   ` Raymond Mao
2026-07-08 16:32     ` Tom Rini
2026-07-08 17:00       ` Tom Rini
2026-07-08  1:25 ` [PATCH 2/7] vexpress64: Correct CONFIG symbol logic around device tree passage Tom Rini
2026-07-08 16:27   ` Raymond Mao
2026-07-10  7:11   ` Ilias Apalodimas
2026-07-08  1:25 ` [PATCH 3/7] dts: Correct behavior of OF_OMIT_DTB Tom Rini
2026-07-08  1:25 ` [PATCH 4/7] dts: Make DEFAULT_DEVICE_TREE depend on !OF_OMIT_DTB Tom Rini
2026-07-08  1:25 ` Tom Rini [this message]
2026-07-08  1:25 ` [PATCH 6/7] powerpc: drop qemu-ppce500 dts Tom Rini
2026-07-08  1:25 ` [PATCH 7/7] arm: Drop unused dts files 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=20260708013019.288985-6-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.