diff options
author | Simon Glass <sjg@chromium.org> | 2016-06-30 10:52:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:27 -0400 |
commit | 63ef31b9efbf33071cad58a185cc616671d2af62 (patch) | |
tree | 4744ca3ed7f68562439d48b3384ea894538d1eed | |
parent | e324a92531e1dc092949b8a00745afd2328e178e (diff) | |
download | u-boot-63ef31b9efbf33071cad58a185cc616671d2af62.tar.gz u-boot-63ef31b9efbf33071cad58a185cc616671d2af62.tar.bz2 u-boot-63ef31b9efbf33071cad58a185cc616671d2af62.zip |
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>
-rw-r--r-- | tools/mkimage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c index a36c031159..76ae09e2b7 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; |