summaryrefslogtreecommitdiff
path: root/tools/mkimage.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-01 16:43:15 -0400
committerTom Rini <trini@konsulko.com>2020-05-01 16:43:15 -0400
commitc693f212c5b0433b3a49a89d87cbff28bf78eb87 (patch)
treefba202b549b53e536feb5d7b60e6313074d93a55 /tools/mkimage.h
parentb641dd3ec8dc3f6b18d2fa945ac3ab597063d191 (diff)
parent14b7004532a41cbb2dc82cc1a5687e8e88e1ba0d (diff)
Merge branch '2020-05-01-master-imports'
- Assorted bug fixes - Framework for enabling D-CACHE in SPL on ARM
Diffstat (limited to 'tools/mkimage.h')
-rw-r--r--tools/mkimage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 0254af59fb..5b096a545b 100644
--- a/tools/mkimage.h
+++ b/tools/mkimage.h
@@ -42,6 +42,6 @@ static inline ulong map_to_sysmem(void *ptr)
#define MKIMAGE_TMPFILE_SUFFIX ".tmp"
#define MKIMAGE_MAX_TMPFILE_LEN 256
#define MKIMAGE_DEFAULT_DTC_OPTIONS "-I dts -O dtb -p 500"
-#define MKIMAGE_MAX_DTC_CMDLINE_LEN 512
+#define MKIMAGE_MAX_DTC_CMDLINE_LEN 2 * MKIMAGE_MAX_TMPFILE_LEN + 35
#endif /* _MKIIMAGE_H_ */