mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
tools/mkimage: Remove duplicate line of code
Recent commits1a99de2cb4
and6a590c5f5f
both fixed the same bug in the same manner. Unfortunately git was "smart" enough to merge both changes which resulted in some duplicate code. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Reordered code and comment a bit. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
df002fa6b9
commit
fbc1c8f6f6
1 changed files with 2 additions and 4 deletions
|
@ -229,15 +229,13 @@ main (int argc, char **argv)
|
|||
case 'f':
|
||||
if (--argc <= 0)
|
||||
usage ();
|
||||
params.type = IH_TYPE_FLATDT;
|
||||
params.datafile = *++argv;
|
||||
params.fflag = 1;
|
||||
|
||||
/*
|
||||
* The flattened image tree (FIT) format
|
||||
* requires a flattened device tree image type
|
||||
*/
|
||||
params.type = IH_TYPE_FLATDT;
|
||||
params.datafile = *++argv;
|
||||
params.fflag = 1;
|
||||
goto NXTARG;
|
||||
case 'n':
|
||||
if (--argc <= 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue