]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: fit: Refine handling of devicetrees for OF_UPSTREAM
authorSimon Glass <sjg@chromium.org>
Mon, 26 Aug 2024 19:11:37 +0000 (13:11 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Sep 2024 10:40:30 +0000 (12:40 +0200)
commitc8b7d72b43c649070d29228899277ac3b39ccf29
treeb923990ba1ee869135570bc5f1dc4775729d7bfc
parent6fac8e4883d59e78b7195bf75c174544a4ccfa2d
binman: fit: Refine handling of devicetrees for OF_UPSTREAM

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@chromium.org>
tools/binman/etype/fit.py
tools/binman/ftest.py