binman: bintool: move version check implementation into bintool class
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 1 Sep 2022 15:51:37 +0000 (17:51 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Sep 2022 17:36:36 +0000 (11:36 -0600)
commit723a63eeec3ee22d63006dcae593d395698fa55c
tree07cb82c8a0e29a891d7e1081bb10a435c613c010
parentdaa2da754afe1bac777f6cb0f05233e0de7b325d
binman: bintool: move version check implementation into bintool class

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@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/bintool.py