[PATCH 09/15] binman: fit: Refine handling of devicetrees for OF_UPSTREAM

Simon Glass sjg at chromium.org
Fri Sep 27 00:07:23 CEST 2024


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 <sjg at chromium.org>
---

 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!


More information about the U-Boot mailing list