From: Quentin Schulz <quentin.sch...@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.sch...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@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!

Reply via email to