summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-06-16 09:08:27 -0600
committerTom Rini <[email protected]>2024-06-16 09:08:27 -0600
commitd571e8c544d0b66fbc1df97abc0eb8885f590503 (patch)
treefb6a2556af26c8985cdf2bf747cf85fa871b22b2 /tools
parent1811ed5de80a143d3a5194424b14e99ad8459a0b (diff)
parent3f9a19befe9277db2a337552912c6ddbcc0c8b10 (diff)
Merge tag 'u-boot-rockchip-20240614' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
CI: https://source.denx.de/u-boot/custodians/u-boot-rockchip/-/pipelines/21111 - pmic fix for rk8xx; - pinctrl fix for rk3188/rv1126/rk3588; - mkimage fix for rockcihp "-l" option;
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 12c27b34eaa..3e52236b15a 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 */