binman: Convert to using the mkimage bintool
authorSimon Glass <sjg@chromium.org>
Mon, 10 Jan 2022 03:14:02 +0000 (20:14 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 19:36:11 +0000 (12:36 -0700)
commitf75db1e9960bca5b287d3471819e451f03cd4bd7
treeb54130de97f4b48f6d50cb0cf5a55a0329b7c248
parent532ae7043005fb05a7bfa708fdf3fef5c637dd38
binman: Convert to using the mkimage bintool

Update the fit and mkimage entry types to use this bintool, instead of
running mkimage directly. This simplifies the code and provides more
consistency as well as supporting missing bintools.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/fit.py
tools/binman/etype/mkimage.py