summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/mkimage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 8a20594..2bf9a5b 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)