aboutsummaryrefslogtreecommitdiff
path: root/tools/mkimage/patches/030-allow-to-use-different-magic.patch
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2023-11-04 09:57:48 +0100
committerNick Hainke <vincent@systemli.org>2023-11-09 12:50:04 +0100
commita82c9699c43d185af4420a013ffb976e85652f46 (patch)
treed317cf545ac0ae0696dd30e4c68d63bb0bca41f3 /tools/mkimage/patches/030-allow-to-use-different-magic.patch
parent551963662b3c2d4a740a447855da410c0f217152 (diff)
tools/mkimage: update to 2023.10
Update to latest version. Remove "100-increase-tmpfile-name-length-limit.patch" because project is now using limits.h with PATH_MAX [0]. Automatically refreshed: - 030-allow-to-use-different-magic.patch [0] - https://github.com/u-boot/u-boot/commit/99d430f344bfdb0641022fd3efa26c29c957df02 Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'tools/mkimage/patches/030-allow-to-use-different-magic.patch')
-rw-r--r--tools/mkimage/patches/030-allow-to-use-different-magic.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mkimage/patches/030-allow-to-use-different-magic.patch b/tools/mkimage/patches/030-allow-to-use-different-magic.patch
index c33b0f4327..3689fcb531 100644
--- a/tools/mkimage/patches/030-allow-to-use-different-magic.patch
+++ b/tools/mkimage/patches/030-allow-to-use-different-magic.patch
@@ -50,7 +50,7 @@ This patch makes it possible to set a custom image magic.
break;
--- a/tools/default_image.c
+++ b/tools/default_image.c
-@@ -63,7 +63,7 @@ static int image_verify_header(unsigned
+@@ -68,7 +68,7 @@ static int image_verify_header(unsigned
*/
memcpy(hdr, ptr, sizeof(struct legacy_img_hdr));
@@ -59,7 +59,7 @@ This patch makes it possible to set a custom image magic.
debug("%s: Bad Magic Number: \"%s\" is no valid image\n",
params->cmdname, params->imagefile);
return -FDT_ERR_BADMAGIC;
-@@ -142,7 +142,7 @@ static void image_set_header(void *ptr,
+@@ -147,7 +147,7 @@ static void image_set_header(void *ptr,
}
/* Build new header */