aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-06-24 13:34:52 -0600
committerTom Rini <trini@konsulko.com>2024-06-24 13:34:52 -0600
commita7eada24327a40f7ef6c55c220e119839c9d4227 (patch)
treeefbea0c3cb6845fe9b5841b100c2770a60cb3f68 /tools
parentd3c610fa462a76880845920e7c535133a264448a (diff)
parent9e9f78f7aa0124ef0e622532043acf87e84008dc (diff)
downloadu-boot-a7eada24327a40f7ef6c55c220e119839c9d4227.zip
u-boot-a7eada24327a40f7ef6c55c220e119839c9d4227.tar.gz
u-boot-a7eada24327a40f7ef6c55c220e119839c9d4227.tar.bz2
Merge tag 'v2024.07-rc5' into next
Prepare v2024.07-rc5
Diffstat (limited to 'tools')
-rw-r--r--tools/rkcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 12c27b3..3e52236 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -470,7 +470,7 @@ int rkcommon_verify_header(unsigned char *buf, int size,
* If no 'imagename' is specified via the commandline (e.g. if this is
* 'dumpimage -l' w/o any further constraints), we accept any spl_info.
*/
- if (params->imagename == NULL)
+ if (params->imagename == NULL || !strlen(params->imagename))
return 0;
/* Match the 'imagename' against the 'spl_hdr' found */