[PATCH v2 3/5] test: overlay: rename overlay source files to .dtso

Simon Glass sjg at chromium.org
Fri Sep 20 18:01:27 CEST 2024


On Wed, 10 Jul 2024 at 09:17, Rasmus Villemoes
<rasmus.villemoes at prevas.dk> wrote:
>
> Distinguish more clearly between source files meant for producing .dtb
> from those meant for producing .dtbo.
>
> In this case, the files are really meant to be compiled to .dtbo ->
> .dtbo.S -> .dtbo.o that get embedded in the image, which means that
> the begin/end symbols generated by the makefile rule changes to
> __dtbo_ rather than __dtb, so the consuming .c file needs updating,
> but this should not result in any functional change.
>
> Note that in the linux tree, all device tree overlay sources have been
> renamed to .dtso, and the .dts->.dtbo rule is gone since v6.5 (commit
> 81d362732bac). So this is also a step towards staying closer to linux
> with respect to both Kbuild and device tree sources.
>
> Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> ---
>  test/overlay/Makefile                                     | 4 ++--
>  test/overlay/cmd_ut_overlay.c                             | 8 ++++----
>  ...-overlay-stacked.dts => test-fdt-overlay-stacked.dtso} | 0
>  .../{test-fdt-overlay.dts => test-fdt-overlay.dtso}       | 0
>  4 files changed, 6 insertions(+), 6 deletions(-)
>  rename test/overlay/{test-fdt-overlay-stacked.dts => test-fdt-overlay-stacked.dtso} (100%)
>  rename test/overlay/{test-fdt-overlay.dts => test-fdt-overlay.dtso} (100%)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list