[PATCH RFC 26/26] dts: support building all dtb files for a specific vendor
Tom Rini
trini at konsulko.com
Tue Mar 5 13:42:50 CET 2024
On Tue, Mar 05, 2024 at 06:05:52PM +0530, Sumit Garg wrote:
> Hi Caleb,
>
> On Mon, 4 Mar 2024 at 22:22, Caleb Connolly <caleb.connolly at linaro.org> 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 at linaro.org>
> > ---
> > dts/Kconfig | 24 ++++++++++++++++++++++++
> > scripts/Makefile.dts | 17 ++++++++++++++++-
> > 2 files changed, 40 insertions(+), 1 deletion(-)
> >
> > diff --git a/dts/Kconfig b/dts/Kconfig
> > index b9b6367154ef..67d9dc489856 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
>
> Do we really want to build all the DTBs even if many of those aren't
> supported by U-Boot at all? I would have rather added Makefile targets
> for boards which really supports a single defconfig eg.
> qcom_defconfig.
Yes, I think this target is useful as it addresses some of Simon's
earlier concerns with the feature.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240305/872bc35a/attachment.sig>
More information about the U-Boot
mailing list