aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-30 09:33:31 -0500
committerTom Rini <trini@konsulko.com>2023-11-30 09:33:31 -0500
commit4a363dd516856344558034027e40d903868f67b4 (patch)
tree64f693d7178aa2d5c94e08557194ccad2cf41e77 /tools
parent6357cf0cc4eaded5326cd10bca359ade2969708a (diff)
parente22d5799dc86298ad8388ddcb3b759e166c142b7 (diff)
downloadu-boot-4a363dd516856344558034027e40d903868f67b4.zip
u-boot-4a363dd516856344558034027e40d903868f67b4.tar.gz
u-boot-4a363dd516856344558034027e40d903868f67b4.tar.bz2
Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next
Device tree improvents for Paz00 and DM PMIC convertion of recently merged Tegra boards.
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 5cd81dd..ce3b2b2 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;
}