rockchip: rkcommon: don't set image head for signed image
Reserve "RSAK" tag Change-Id: Ibfe2e6d83bd89ce75dfa0b7fc97038037a181cab Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
9b4285f197
commit
6520ac9cab
|
|
@ -202,6 +202,7 @@ int rkcommon_set_header(void *buf, uint file_size, uint max_size,
|
|||
rkcommon_set_header0(buf, file_size, max_size, params);
|
||||
|
||||
/* Set up the SPL name (i.e. copy spl_hdr over) */
|
||||
if (memcmp(&hdr->magic, "RSAK", 4))
|
||||
memcpy(&hdr->magic, rkcommon_get_spl_hdr(params), RK_SPL_HDR_SIZE);
|
||||
|
||||
if (rkcommon_need_rc4_spl(params))
|
||||
|
|
|
|||
Loading…
Reference in New Issue