summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/mkimage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 8a20594f3..2bf9a5b5e 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -232,6 +232,12 @@ main (int argc, char **argv)
params.type = IH_TYPE_FLATDT;
params.datafile = *++argv;
params.fflag = 1;
+
+ /*
+ * The flattened image tree (FIT) format
+ * requires a flattened device tree image type
+ */
+ params.type = IH_TYPE_FLATDT;
goto NXTARG;
case 'n':
if (--argc <= 0)