summaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2009-10-28 22:13:35 +0100
committerWolfgang Denk <wd@denx.de>2009-11-23 23:42:48 +0100
commit6a590c5f5fd12cdd27f3153522acfac3854590e7 (patch)
tree6a994ae491d404ce80240b17ddd4ee376b1efc81 /tools/mkimage.c
parentfcffb680e77fcb48598d4a9944dbe2d4503170e0 (diff)
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>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index ab6ea32ad05..8a20594f316 100644
--- a/tools/mkimage.c
+++ b/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;