mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
tools: mkimage: No need to verify_header for header_v2
rockchip header_v2 do not have a spl_hdr, so remove the verify. Signed-off-by: Yi Liu <liuyi@rock-chips.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
21d3e3d107
commit
3548903fc8
@ -450,6 +450,10 @@ int rkcommon_verify_header(unsigned char *buf, int size,
|
|||||||
struct spl_info *img_spl_info, *spl_info;
|
struct spl_info *img_spl_info, *spl_info;
|
||||||
int ret;
|
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);
|
ret = rkcommon_parse_header(buf, &header0, &img_spl_info);
|
||||||
|
|
||||||
/* If this is the (unimplemented) RC4 case, then rewrite the result */
|
/* If this is the (unimplemented) RC4 case, then rewrite the result */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user