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 <s...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot