Sfoglia il codice sorgente

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 anni fa
parent
commit
6a590c5f5f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;