[PATCH v3 1/7] binman: bintool: move version check implementation into bintool class

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


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

Version checking has nothing specific to compression/decompression tools
so let's move it to the Bintool class.

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

v3:
 - removed superfluous version_regex assignment in BintoolPacker,
 - added Rb,
 - kept original docstring from Bintool.version which was a bit more
 explicit,

added in v2

 tools/binman/bintool.py | 43 +++++++++++++++++------------------------
 1 file changed, 18 insertions(+), 25 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list