Browse Source

Building of FIT images does not work.

The type is not set for generation of the FIT images, resulting
in no images being created without printing or returning an error

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Remy Bohmer 15 years ago
parent
commit
6a590c5f5f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/mkimage.c

+ 1 - 0
tools/mkimage.c

@@ -229,6 +229,7 @@ main (int argc, char **argv)
 			case 'f':
 			case 'f':
 				if (--argc <= 0)
 				if (--argc <= 0)
 					usage ();
 					usage ();
+				params.type = IH_TYPE_FLATDT;
 				params.datafile = *++argv;
 				params.datafile = *++argv;
 				params.fflag = 1;
 				params.fflag = 1;
 				goto NXTARG;
 				goto NXTARG;