Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
6a590c5f5f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tools/mkimage.c

+ 1 - 0
tools/mkimage.c

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