[PATCH v3 3/7] binman: btool: mkimage: use Bintool.version

Simon Glass sjg at chromium.org
Wed Sep 7 14:30:05 CEST 2022


From: Quentin Schulz <quentin.schulz at theobroma-systems.com>

Bintool.version already contains everything required to get the version
out of mkimage binary so let's not override it with its own
implementation.

Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---

v3:
 - added Rb,
 - removed version positional parameter for run() so that coverage still
 is 100%,

added in v2

 tools/binman/btool/mkimage.py | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list