[PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

Simon Glass sjg at chromium.org
Sun Mar 19 20:29:14 CET 2023


Hi Rasmus,

On Sun, 19 Mar 2023 at 13:34, Rasmus Villemoes
<rasmus.villemoes at prevas.dk> wrote:
>
> On 18/03/2023 21.20, Simon Glass wrote:
>
> >>
> >> Now, the only way to be really sure is to build the world
> >> with/without this patch and check if any .dtb file changes, but I
> >> don't have the means to do that. But I do notice that
> >>
> >>
> >>  doc/develop/devicetree/control.rst | 1 +
> >>  scripts/Makefile.lib               | 2 ++
> >>  2 files changed, 3 insertions(+)
> >
> > Reviewed-by: Simon Glass <sjg at chromium.org>
> >
> > There is something missing at the end of your note.
>
> Ah, sorry. I meant to say something about that it seems some existing
> in-tree cases could make use of this and thus be simplified, e.g. all
> the t8103-*-u-boot.dtsi just include t8103-u-boot.dtsi, but then I
> wasn't really sure if that was a proper example, so decided to edit that
> part out (but left that small fragment in).
>
> > What U-Boot-specific things are you using?
>
> Just the u-boot,dm-spl kind of stuff.

With the new bindings, we can put those tags (bootph-...) in the kernel DTs.

Regards,
Simon


More information about the U-Boot mailing list