From: E Shattow <e@freeshell.de>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>,
Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>
Cc: Minda Chen <minda.chen@starfivetech.com>,
Hal Feng <hal.feng@starfivetech.com>,
Simon Glass <sjg@chromium.org>,
Yu-Chien Peter Lin <peter.lin@sifive.com>,
Sumit Garg <sumit.garg@linaro.org>,
"Leon M . Busch-George" <leon@georgemail.eu>,
Lukas Funke <lukas.funke@weidmueller.com>,
H Bell <dmoo_dv@protonmail.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH v3 1/4] riscv: dts: add OF_LIST handling to binman.dtsi
Date: Sat, 22 Feb 2025 14:05:34 -0800 [thread overview]
Message-ID: <462cec31-bf1d-472e-bc5d-13bdac8f5ccd@freeshell.de> (raw)
In-Reply-To: <20250221095856.36530-2-heinrich.schuchardt@canonical.com>
On 2/21/25 01:58, Heinrich Schuchardt wrote:
> Binman can automatically generate device-tree and configuration entries in
> the FIT image based on CONFIG_MULTI_DTB_FIT if the binman node includes the
> right sub-nodes.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> v3:
> Use CONFIG_MULTI_DTB_FIT instead of CONFIG_OF_LIST to avoid
> build failure for QEMU defconfigs.
> v2:
> no change
> ---
> arch/riscv/dts/binman.dtsi | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi
> index 0405faca574..782ef037f7a 100644
> --- a/arch/riscv/dts/binman.dtsi
> +++ b/arch/riscv/dts/binman.dtsi
> @@ -82,8 +82,9 @@
> };
> };
>
> -#ifndef CONFIG_OF_BOARD
> +#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
> @fdt-SEQ {
> + fit,operation = "gen-fdt-nodes";
> description = "NAME";
> type = "flat_dt";
> compression = "none";
> @@ -94,7 +95,7 @@
> configurations {
> default = "conf-1";
>
> -#ifndef CONFIG_OF_BOARD
> +#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
> @conf-SEQ {
> #else
> conf-1 {
> @@ -115,7 +116,7 @@
> #endif
> #endif /* CONFIG_OPTEE */
>
> -#ifndef CONFIG_OF_BOARD
> +#if !defined(CONFIG_OF_BOARD) || defined(CONFIG_MULTI_DTB_FIT)
> fdt = "fdt-SEQ";
> #endif
> };
Reviewed-by: E Shattow <e@freeshell.de>
next prev parent reply other threads:[~2025-02-22 22:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 9:58 [PATCH v3 0/4] riscv: dts: starfive: simplify binman config Heinrich Schuchardt
2025-02-21 9:58 ` [PATCH v3 1/4] riscv: dts: add OF_LIST handling to binman.dtsi Heinrich Schuchardt
2025-02-22 22:05 ` E Shattow [this message]
2025-02-21 9:58 ` [PATCH v3 2/4] riscv: dts: no default configuration for MULTI_DTB_FIT Heinrich Schuchardt
2025-02-22 22:07 ` E Shattow
2025-02-21 9:58 ` [PATCH v3 3/4] board: starfive: spl: strip off 'starfive/' prefix Heinrich Schuchardt
2025-02-23 1:33 ` E Shattow
2025-02-23 12:55 ` Heinrich Schuchardt
2025-02-23 14:18 ` E Shattow
2025-02-23 15:39 ` Heinrich Schuchardt
2025-02-24 10:00 ` E Shattow
2025-02-24 10:13 ` Heinrich Schuchardt
2025-02-25 13:43 ` E Shattow
2025-02-21 9:58 ` [PATCH v3 4/4] riscv: dts: starfive: remove duplicate itb entries Heinrich Schuchardt
2025-02-23 1:36 ` E Shattow
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=462cec31-bf1d-472e-bc5d-13bdac8f5ccd@freeshell.de \
--to=e@freeshell.de \
--cc=dmoo_dv@protonmail.com \
--cc=hal.feng@starfivetech.com \
--cc=heinrich.schuchardt@canonical.com \
--cc=leon@georgemail.eu \
--cc=lukas.funke@weidmueller.com \
--cc=minda.chen@starfivetech.com \
--cc=peter.lin@sifive.com \
--cc=rick@andestech.com \
--cc=sjg@chromium.org \
--cc=sumit.garg@linaro.org \
--cc=u-boot@lists.denx.de \
--cc=ycliang@andestech.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox