u-boot-amlogic.groups.io archive mirror
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: Caleb Connolly <caleb.connolly@linaro.org>,
	Tom Rini <trini@konsulko.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Sumit Garg <sumit.garg@linaro.org>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Sam Protsenko <semen.protsenko@linaro.org>,
	Matthias Brugger <mbrugger@suse.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>,
	Thierry Reding <treding@nvidia.com>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Michal Simek <michal.simek@amd.com>,
	Paul Barker <paul.barker.ct@bp.renesas.com>,
	Weijie Gao <weijie.gao@mediatek.com>,
	GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	Ryder Lee <ryder.lee@mediatek.com>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Eugen Hristev <eugen.hristev@collabora.com>,
	Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
	Ryan Chen <ryan_chen@aspeedtech.com>,
	Chia-Wei Wang <chiawei_wang@aspeedtech.com>,
	Aspeed BMC SW team <BMC-SW@aspeedtech.com>,
	Joel Stanley <joel@jms.id.au>,
	Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,
	Dai Okamura <okamura.dai@socionext.com>,
	Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: u-boot@lists.denx.de, u-boot-amlogic@groups.io,
	uboot-stm32@st-md-mailman.stormreply.com,
	uboot-snps-arc@synopsys.com
Subject: Re: [PATCH v2 24/24] dts: support building all dtb files for a specific vendor
Date: Fri, 22 Mar 2024 08:17:40 +0100	[thread overview]
Message-ID: <db1febc0-508a-4a1f-a373-c76d38a8f4d7@amd.com> (raw)
In-Reply-To: <20240321-b4-upstream-dt-headers-v2-24-1eac0df875fe@linaro.org>



On 3/21/24 22:04, Caleb Connolly wrote:
> This adjusts OF_UPSTREAM to behave more like the kernel by allowing for
> all the devicetree files for a given vendor to be compiled. This is
> useful for Qualcomm in particular as most boards are supported by a
> single U-Boot build just provided with a different DT.
> 
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>   dts/Kconfig          | 24 ++++++++++++++++++++++++
>   scripts/Makefile.dts | 13 +++++++++++++
>   2 files changed, 37 insertions(+)
> 
> diff --git a/dts/Kconfig b/dts/Kconfig
> index b9b6367154ef..6883a000a052 100644
> --- a/dts/Kconfig
> +++ b/dts/Kconfig
> @@ -100,8 +100,32 @@ config OF_UPSTREAM
>   	  However, newer boards whose devicetree source files haven't landed in
>   	  the dts/upstream subtree, they can override this option to have the
>   	  DT build from existing U-Boot tree location instead.
>   
> +config OF_UPSTREAM_BUILD_VENDOR
> +	bool "Build all devicetree files for a particular vendor"
> +	depends on OF_UPSTREAM
> +	help
> +	  Enable building all devicetree files for a particular vendor. This
> +	  is useful for generic U-Boot configurations where many boards can
> +	  be supported with a single binary.
> +
> +	  This is only available for platforms using upstream devicetree.
> +
> +config OF_UPSTREAM_VENDOR
> +	string "Vendor to build all upstream devicetree files for"
> +	depends on OF_UPSTREAM_BUILD_VENDOR
> +	default "qcom" if ARCH_SNAPDRAGON
> +	default "rockchip" if ARCH_ROCKCHIP
> +	default "amlogic" if ARCH_MESON
> +	default "allwinner" if ARCH_SUNXI
> +	default "mediatek" if ARCH_MEDIATEK
> +	default "marvell" if ARCH_MVEBU || ARCH_KIRKWOOD
> +	default "xilinx" if ARCH_VERSAL || ARCH_ZYNQ

This is not enough it should be

ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET

Thanks,
Michal


      reply	other threads:[~2024-03-22 15:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21 21:03 [PATCH v2 00/24] Drop DT upstream compatible dt-binding headers Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 01/24] qcom: drop clock " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 02/24] qcom: drop remaining " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 03/24] sunxi: drop clock " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 04/24] sunxi: drop remaining " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 05/24] imx: drop clock " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 06/24] imx: drop " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 07/24] amlogic: " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 08/24] stm: " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 09/24] rockchip: drop clock " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 10/24] rockchip: drop remaining " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 11/24] exynos: drop " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 12/24] bcm: " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 13/24] ti: " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 14/24] tegra: drop clock " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 15/24] tegra: drop " Caleb Connolly
2024-03-21 21:03 ` [PATCH v2 16/24] xlnx: " Caleb Connolly
2024-03-22  7:16   ` Michal Simek
2024-03-21 21:04 ` [PATCH v2 17/24] mtk: " Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 18/24] microchip: " Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 19/24] hisi: " Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 20/24] sifive: drop clock headers Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 21/24] dt-bindings: " Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 22/24] dt-bindings: drop remaining device headers Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 23/24] dt-bindings: drop generic headers Caleb Connolly
2024-03-21 21:04 ` [PATCH v2 24/24] dts: support building all dtb files for a specific vendor Caleb Connolly
2024-03-22  7:17   ` Michal Simek [this message]

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=db1febc0-508a-4a1f-a373-c76d38a8f4d7@amd.com \
    --to=michal.simek@amd.com \
    --cc=BMC-SW@aspeedtech.com \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=caleb.connolly@linaro.org \
    --cc=chiawei_wang@aspeedtech.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=clamor95@gmail.com \
    --cc=eugen.hristev@collabora.com \
    --cc=hayashi.kunihiko@socionext.com \
    --cc=jagan@amarulasolutions.com \
    --cc=joe.hershberger@ni.com \
    --cc=joel@jms.id.au \
    --cc=kever.yang@rock-chips.com \
    --cc=lukma@denx.de \
    --cc=mbrugger@suse.com \
    --cc=neil.armstrong@linaro.org \
    --cc=okamura.dai@socionext.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=paul.barker.ct@bp.renesas.com \
    --cc=pbrobinson@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=ryan_chen@aspeedtech.com \
    --cc=ryder.lee@mediatek.com \
    --cc=seanga2@gmail.com \
    --cc=semen.protsenko@linaro.org \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=treding@nvidia.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-amlogic@groups.io \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-snps-arc@synopsys.com \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    --cc=weijie.gao@mediatek.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).