test/py: efi_capsule: rename device tree overlay source to .dtso

Distinguish more clearly between source files meant for producing .dtb
from those meant for producing .dtbo.

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, and eventually
eliminating all .dts -> .dtbo instances.

This also matches the documentation update done in commit 4fb7e570d6.

Cc: Masahisa Kojima <kojima.masahisa@socionext.com>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
This commit is contained in:
Rasmus Villemoes 2024-07-10 09:16:11 +02:00 committed by Tom Rini
parent 03e36e38e8
commit 7c996f2443
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ def efi_capsule_data(request, u_boot_config):
# Update dtb to add the version information # Update dtb to add the version information
check_call('cd %s; ' check_call('cd %s; '
'cp %s/test/py/tests/test_efi_capsule/version.dts .' 'cp %s/test/py/tests/test_efi_capsule/version.dtso .'
% (data_dir, u_boot_config.source_dir), shell=True) % (data_dir, u_boot_config.source_dir), shell=True)
if capsule_auth_enabled: if capsule_auth_enabled:
@ -61,13 +61,13 @@ def efi_capsule_data(request, u_boot_config):
'cp %s/arch/sandbox/dts/test.dtb test_sig.dtb' 'cp %s/arch/sandbox/dts/test.dtb test_sig.dtb'
% (data_dir, u_boot_config.build_dir), shell=True) % (data_dir, u_boot_config.build_dir), shell=True)
check_call('cd %s; ' check_call('cd %s; '
'dtc -@ -I dts -O dtb -o version.dtbo version.dts; ' 'dtc -@ -I dts -O dtb -o version.dtbo version.dtso; '
'fdtoverlay -i test_sig.dtb ' 'fdtoverlay -i test_sig.dtb '
'-o test_ver.dtb version.dtbo' '-o test_ver.dtb version.dtbo'
% (data_dir), shell=True) % (data_dir), shell=True)
else: else:
check_call('cd %s; ' check_call('cd %s; '
'dtc -@ -I dts -O dtb -o version.dtbo version.dts; ' 'dtc -@ -I dts -O dtb -o version.dtbo version.dtso; '
'fdtoverlay -i %s/arch/sandbox/dts/test.dtb ' 'fdtoverlay -i %s/arch/sandbox/dts/test.dtb '
'-o test_ver.dtb version.dtbo' '-o test_ver.dtb version.dtbo'
% (data_dir, u_boot_config.build_dir), shell=True) % (data_dir, u_boot_config.build_dir), shell=True)