On Sun, Aug 24 2025, E Shattow <e...@freeshell.de> wrote:

> Add ${CONFIG_SYS_CONFIG_NAME}-u-boot.dtsi into dtsi include search order:
> dtsi location, SYS_SOC, SYS_CPU, SYS_VENDOR, (SYS_CONFIG_NAME), no prefix
>

I tried that, with CONFIG_SYS_BOARD, but for my use case I wanted it to
have higher priority than something "just" matching SOC or CPU.

  
https://lore.kernel.org/u-boot/20230317102639.464263-1-rasmus.villem...@prevas.dk/

Can you explain what board(s) you are going to use this for? Because
this having lower priority than SOC, CPU, VENDOR seems wrong, and if
there already is some soc-dtsi file for you board, this won't have any
effect for you.

The problem with my patch was that we build a lot of completely
unnecessary .dtb files, and the build of those unneeded dtb files break
if/when the .config we're building causes an unrelated .dtsi file to be
included (most often because it refers to nodes that do not exist). I've
suggested several times that we just nuke most of that dts/Makefile
because it's really not useful, it still contains typos, and nobody
notices because we nowadays have build logic to automatically build all
the .dtbs that are actually relevant to the .config we're building.

Rasmus

Reply via email to