aboutsummaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-06-30 10:52:10 -0600
committerTom Rini <trini@konsulko.com>2016-07-14 18:22:27 -0400
commit63ef31b9efbf33071cad58a185cc616671d2af62 (patch)
tree4744ca3ed7f68562439d48b3384ea894538d1eed /tools/mkimage.c
parente324a92531e1dc092949b8a00745afd2328e178e (diff)
downloadu-boot-63ef31b9efbf33071cad58a185cc616671d2af62.zip
u-boot-63ef31b9efbf33071cad58a185cc616671d2af62.tar.gz
u-boot-63ef31b9efbf33071cad58a185cc616671d2af62.tar.bz2
mkimage: Drop premature setting of params.fit_image_type
There is no need to set params.fit_image_type while parsing the arguments. It is set up later anyway. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index a36c031..76ae09e 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -197,7 +197,6 @@ static void process_args(int argc, char **argv)
* The flattened image tree (FIT) format
* requires a flattened device tree image type
*/
- params.fit_image_type = params.type;
params.type = IH_TYPE_FLATDT;
params.fflag = 1;
break;