With OF_UPSTREAM the dts files are in an SoC-specific subdirectory, meaning that the resulting dtb files all end up in a similar subdirectory.
We don't want the subdirectory name to appear as a node name in the FIT, so handle this as a special case. Also the default devicetree may have a directory-name prefix, so handle that when searching through the available devicetree files. Signed-off-by: Simon Glass <[email protected]> --- tools/binman/etype/fit.py | 19 ++++++++++++------- tools/binman/ftest.py | 15 ++++++++++++++- 2 files changed, 26 insertions(+), 8 deletions(-) Applied to u-boot-dm/next, thanks!

