mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
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>
This commit is contained in:
@@ -197,7 +197,6 @@ static void process_args(int argc, char **argv)
|
|||||||
* The flattened image tree (FIT) format
|
* The flattened image tree (FIT) format
|
||||||
* requires a flattened device tree image type
|
* requires a flattened device tree image type
|
||||||
*/
|
*/
|
||||||
params.fit_image_type = params.type;
|
|
||||||
params.type = IH_TYPE_FLATDT;
|
params.type = IH_TYPE_FLATDT;
|
||||||
params.fflag = 1;
|
params.fflag = 1;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user