[U-Boot] [PATCH] Building of FIT images does not work.

Remy Bohmer
2009-10-28T21:13:35Z

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 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/mkimage.c b/tools/mkimage.c
index ab6ea32..8a20594 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;
--
1.6.0.4