mkimage: Honour the default image type with auto-fit
authorSimon Glass <sjg@chromium.org>
Thu, 30 Jun 2016 16:52:07 +0000 (10:52 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:26 +0000 (18:22 -0400)
commit20deaddd465aeab6f6939fb1b660622d763791a9
tree1e23ee9a1e72af69225edcb25a692e421450bdda
parent9a387128e341debb6d7e32df8e0f72669a3a079b
mkimage: Honour the default image type with auto-fit

The default image type is supposed to be IH_TYPE_KERNEL, as set in the
'params' variable. Honour this with auto-fit also.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/mkimage.c