binman: btool: mkimage: use Bintool.version
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 1 Sep 2022 15:51:39 +0000 (17:51 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Sep 2022 17:36:36 +0000 (11:36 -0600)
commit65e2c14d5a5a406decae07e2b5a2a74e7bd69c68
tree9a8fb33b86167c5a65b266fd17d406f44cdf1145
parentf17219ad42b47921864bef25d9e058959ef87265
binman: btool: mkimage: use Bintool.version

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