summaryrefslogtreecommitdiff
path: root/tools/fit_info.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-02 22:04:53 -0600
committerTom Rini <trini@ti.com>2014-06-11 16:25:46 -0400
commita9468115699de562f08796bf2eabd832435bedec (patch)
treea5c4ad46d6492738cdb1f7dd867f88ba4368fd90 /tools/fit_info.c
parentef0af64b1c45b8ee28db12c16c4ee881ee328e44 (diff)
mkimage: Automatically make space in FDT when full
When adding hashes or signatures, the target FDT may be full. Detect this and automatically try again after making 1KB of space. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/fit_info.c')
-rw-r--r--tools/fit_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_info.c b/tools/fit_info.c
index 9442ff1072..afbed7b599 100644
--- a/tools/fit_info.c
+++ b/tools/fit_info.c
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
break;
}
- ffd = mmap_fdt(cmdname, fdtfile, &fit_blob, &fsbuf, false);
+ ffd = mmap_fdt(cmdname, fdtfile, 0, &fit_blob, &fsbuf, false);
if (ffd < 0) {
printf("Could not open %s\n", fdtfile);