projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patman: Suppress empty changelog entries
[oweals/u-boot.git]
/
tools
/
mkimage.h
diff --git
a/tools/mkimage.h
b/tools/mkimage.h
index d5491b6e60ae8eddcbbf8d6e67db8ed19ab4db5c..5b096a545b79e96dee9475eac5cd54eb53576dd7 100644
(file)
--- a/
tools/mkimage.h
+++ b/
tools/mkimage.h
@@
-1,9
+1,8
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2000-2004
* DENX Software Engineering
* Wolfgang Denk, wd@denx.de
/*
* (C) Copyright 2000-2004
* DENX Software Engineering
* Wolfgang Denk, wd@denx.de
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _MKIIMAGE_H_
*/
#ifndef _MKIIMAGE_H_
@@
-18,7
+17,7
@@
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
-#include <sha1.h>
+#include <
u-boot/
sha1.h>
#include "fdt_host.h"
#include "imagetool.h"
#include "fdt_host.h"
#include "imagetool.h"
@@
-43,7
+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_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_DTC "dtc" /* assume dtc is in $PATH */
+#define MKIMAGE_MAX_DTC_CMDLINE_LEN 2 * MKIMAGE_MAX_TMPFILE_LEN + 35
#endif /* _MKIIMAGE_H_ */
#endif /* _MKIIMAGE_H_ */