diff options
author | Tom Rini <trini@konsulko.com> | 2022-04-06 11:51:00 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-06 11:51:00 -0400 |
commit | 88b6b33253ce4443f23e54ef5424eeb90482ae75 (patch) | |
tree | 53172e01fd260c3e8c612429a7893b44a5953f90 /tools/rkcommon.c | |
parent | 59bffec43a657598b194b9eb30dc01eec06078c7 (diff) | |
parent | d23f29084018a3aa5ca6399a08c12eb7617ffa55 (diff) |
Merge branch '2022-04-06-assorted-updates'
- Add DM_PMIC support to TPS65217 and migrate some platforms to it.
- mkimage verification fixes
- DM rST fix, add missing flag when linking u-boot-elf.o
Diffstat (limited to 'tools/rkcommon.c')
-rw-r--r-- | tools/rkcommon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 29f2676c19..ff62c75caa 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -450,6 +450,10 @@ int rkcommon_verify_header(unsigned char *buf, int size, struct spl_info *img_spl_info, *spl_info; int ret; + /* spl_hdr is abandon on header_v2 */ + if ((*(uint32_t *)buf) == RK_MAGIC_V2) + return 0; + ret = rkcommon_parse_header(buf, &header0, &img_spl_info); /* If this is the (unimplemented) RC4 case, then rewrite the result */ |