Re: [PATCH RFC 26/26] dts: support building all dtb files for a specific vendor
Tom Rini <[email protected]>
| Newsgroups | io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <20240305124250.GZ1523872@bill-the-cat> |
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 <[email protected]> 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 <[email protected]> > > --- > > 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
signature.asc
(application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmXnE0cACgkQFHw5/5Y0 tyxtGQv/Wod2EBmX5FhenEgBCfdTBzSxdGJ5+X+907CEYEwKHQ2EKUD/rLyaYBWh YoLu0e5mas2+3PSBBWdmvapYqusnc6vXxr53UYOSXkMzWuL1FeMvirhrelb1jdfC S3bB3gnPMXZukz8q6DpsjfOpeAJiWPtYmSYJPZBq7aXgWusAFIb1aGEww+Zp2R+4 AZqwEuT0g4IBCJvjVg/B+QcaH8LivpTGBATr0kTMvRHRKuuu6qD0VqOKgiUVqQnW Ls4aIfSm9ul0rUBEgkeatEVprJVO5wXxye6l1DXLCtsURyBmKpP9trV/ZLnzTDZN sakhwNI+y1A36CFSM8EVFUcXqulgFD/OV0prY4nYZswhezgT/MOg4lWisSa1xJ/d c2h1BWzsYIgNULElLCiStIZwpHI4hD09XL4T5whAEYYmX3NK4pK9gSq4M/JXhRCH aJrCz952CoPnp/t3S8LJyW34GwdbOo1XfxlUPnoLv2EGMIAZKzEl5tX3wAyu3xNn 6Hcdp7my =UZMy -----END PGP SIGNATURE-----