diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-05 11:28:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-05 11:28:55 -0400 |
commit | e80f4079b3a3db0961b73fa7a96e6c90242d8d25 (patch) | |
tree | 5352d65d18b44e0982152654dc9f8018047e65ae /tools | |
parent | 45f77b807c2f6b8da88ae897b7eb2238e25df36b (diff) | |
parent | e1bebc16e1d9aa0ddd56c53c0b781f7186dce557 (diff) | |
download | u-boot-e80f4079b3a3db0961b73fa7a96e6c90242d8d25.zip u-boot-e80f4079b3a3db0961b73fa7a96e6c90242d8d25.tar.gz u-boot-e80f4079b3a3db0961b73fa7a96e6c90242d8d25.tar.bz2 |
Merge tag 'v2023.07-rc6' into next
Prepare v2023.07-rc6
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mkimage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h index f5ca65e..d92a3ff 100644 --- a/tools/mkimage.h +++ b/tools/mkimage.h @@ -17,6 +17,7 @@ #include <sys/stat.h> #include <time.h> #include <unistd.h> +#include <limits.h> #include <u-boot/sha1.h> #include "fdt_host.h" #include "imagetool.h" @@ -44,7 +45,7 @@ static inline ulong map_to_sysmem(void *ptr) #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) type name[size] #define MKIMAGE_TMPFILE_SUFFIX ".tmp" -#define MKIMAGE_MAX_TMPFILE_LEN 256 +#define MKIMAGE_MAX_TMPFILE_LEN PATH_MAX #define MKIMAGE_DEFAULT_DTC_OPTIONS "-I dts -O dtb -p 500" #define MKIMAGE_MAX_DTC_CMDLINE_LEN 2 * MKIMAGE_MAX_TMPFILE_LEN + 35 |