Commit f9b4677dc176a5afc5c6a87c0715318f73abf9a0

Authored by Ye Li
1 parent ca6530da25

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

... ... @@ -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;