summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-11-21 09:10:15 -0500
committerTom Rini <[email protected]>2023-11-21 09:10:15 -0500
commit9e53e45292ee2f1d9d2ccc59914b161bef9b10d7 (patch)
tree7da5c6ed1f5986e20073ec4183480110d36933c6 /tools
parent24ca49b33af98d54d6cd2e845f071f6565345ffd (diff)
parent64658007f3c61e32bf241f3048a23b1728774d57 (diff)
Merge tag 'efi-2024-01-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2024-01-rc4 Documentation * Add HiSilicon board documentation to HTML docs * Fix building with Sphinx 6.0 UEFI * Increase default variable store size to 128K * Check return value of efi_append_scrtm version * Create shortened boot options in eficonfig command Other * Avoid incorrect error message in mkimage
Diffstat (limited to 'tools')
-rw-r--r--tools/renesas_spkgimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/renesas_spkgimage.c b/tools/renesas_spkgimage.c
index 5cd81dd5bfa..ce3b2b28ae7 100644
--- a/tools/renesas_spkgimage.c
+++ b/tools/renesas_spkgimage.c
@@ -147,7 +147,8 @@ static int spkgimage_verify_header(unsigned char *ptr, int size,
/* Check the marker bytes */
if (memcmp(header->marker, marker, 4)) {
- fprintf(stderr, "Error: invalid marker bytes\n");
+ if (param->type == IH_TYPE_RENESAS_SPKG)
+ fprintf(stderr, "Error: invalid marker bytes\n");
return -EINVAL;
}