瀏覽代碼

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 年之前
父節點
當前提交
6a590c5f5f
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;