Commit f9b4677dc176a5afc5c6a87c0715318f73abf9a0
1 parent
ca6530da25
Exists in
smarc_8mq_lf_v2020.04
and in
4 other branches
MLK-25182 tools: imximage: Fix HAB log for signing dcd block
The values printed for DCD block have wrong order. To follow CSF authenticate data format, the first value should be load address, second value is file offset. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit f3fd88408eb14a337b74ba4428c6e9df92934ecb)
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
tools/imximage.c
... | ... | @@ -529,7 +529,7 @@ |
529 | 529 | (uint32_t)fhdr_v2->self, 0, |
530 | 530 | (uint32_t)(fhdr_v2->csf - fhdr_v2->self)); |
531 | 531 | printf("DCD Blocks: 0x%08x 0x%08x 0x%08x\n", |
532 | - offs, CONFIG_IMX_DCD_ADDR, be16_to_cpu(dcdlen)); | |
532 | + CONFIG_IMX_DCD_ADDR, offs, be16_to_cpu(dcdlen)); | |
533 | 533 | } |
534 | 534 | } else { |
535 | 535 | imx_header_v2_t *next_hdr_v2; |