]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Register and check bintools from FIT subentries
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 7 Feb 2022 22:08:05 +0000 (01:08 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
commite2fc57ddc610e923f37062d4eedb2661393d95ca
tree82f1b825e1817ad181307612b7ab831ae04dba07
parentbdcbc7cab7c3160c36afe522841032acfc29c567
binman: Register and check bintools from FIT subentries

Binman keeps track of binary tools each entry wants to use. The
implementation of this for the FIT entry only adds "mkimage", but not
the tools that would be used by its subentries.

Register the binary tools that FIT subentries will use in addition to
the one FIT itself uses, and check their existence by copying the
appropriate method from Section entry type. Also add tests that check if
these subentries can use and warn about binary tools.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/220_fit_subentry_bintool.dts [new file with mode: 0644]