]> git.sur5r.net Git - u-boot/commit - tools/mkimage.c
mkimage: fix generation of FIT image
authorAndreas Bießmann <andreas@biessmann.org>
Tue, 3 May 2016 13:17:03 +0000 (15:17 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 3 May 2016 15:28:18 +0000 (11:28 -0400)
commit8edeac86db306482b9bcb860d572320a8c3ed95d
tree80b5dbb35d1d0ca5dc440fdb4bc768fb9672b947
parenta6e7b7744e158c4c02f91fcbf991845cad4dc6e3
mkimage: fix generation of FIT image

Commit 7a439cadcf3192eb012a2432ca34670b676c74d2 broke generation of SPL
loadable FIT images (CONFIG_SPL_LOAD_FIT).
Fix it by removing the unnecessary storage of expected image type. This was a
left over of the previous implementation. It is not longer necessary since the
mkimage -b switch always has one parameter.

Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
tools/mkimage.c