projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e324a92
)
mkimage: Drop premature setting of params.fit_image_type
author
Simon Glass
<sjg@chromium.org>
Thu, 30 Jun 2016 16:52:10 +0000
(10:52 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 14 Jul 2016 22:22:27 +0000
(18:22 -0400)
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>
tools/mkimage.c
patch
|
blob
|
history
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index a36c031159f1c156749b1207759016090a570b38..76ae09e2b7f0873c33357a48d578630653c945a8 100644
(file)
--- 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;