[PATCH 0/9] dts: Move to SoC-specific build rules

Tom Rini trini at konsulko.com
Wed Dec 27 14:21:56 CET 2023


On Wed, Dec 27, 2023 at 08:23:56AM +0000, Simon Glass wrote:

> U-Boot builds devicetree binaries from its source tree. As part of the
> Kconfig conversion, the Makefiles were updated to align with how this
> is done in Linux: a single target for each SoC is used to build all the
> .dtb files for that SoC.
> 
> Since then, the Makefiles have devolved in some cases, resulting in
> lots of target-specific build rules. Also Linux has moved to using
> subdirectories for each vendor.
> 
> Recent work aims to allow U-Boot to directly use devicetree files from
> Linux. This would be easier if the directory structure were the same.
> Another recent discussion involved dropping the build rules altogether.
> 
> This series makes a start at cleaning up some of the build rules, to
> reduce the amount of code and make it easier to add new boards for the
> same SoC.
> 
> One issue is that the ARCH_xxx Kconfig options between U-Boot and Linux
> are not always the same. Given the large number of SoCs and boards
> supported by U-Boot, it would be useful to align these where possible.

I don't know why we should start with this now, and further not being on
top of Sumit's series to remove our duplicate dts files. And that's
where we can have the conversation about for which cases it even makes
sense to build all of the dts files for a given SoC.

-- 
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/20231227/46f0ab45/attachment.sig>


More information about the U-Boot mailing list