[U-Boot] [PATCH 04/14] mkimage: Drop premature setting of params.fit_image_type

Simon Glass sjg at chromium.org
Thu Jun 30 18:52:10 CEST 2016


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 at chromium.org>
---

 tools/mkimage.c | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list