Building of FIT images does not work.
authorRemy Bohmer <linux@bohmer.net>
Wed, 28 Oct 2009 21:13:35 +0000 (22:13 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 23 Nov 2009 22:42:48 +0000 (23:42 +0100)
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>
tools/mkimage.c

index ab6ea32ad05ca282b8ac6ad4dc4af802753d45e3..8a20594f316e558a63d9511316fadc38f946846d 100644 (file)
@@ -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;