提交 3548903f 编写于 作者: Y Yi Liu 提交者: Tom Rini

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: NYi Liu <liuyi@rock-chips.com>
Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
上级 21d3e3d1
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册