tools/imximage: fix DCD Blocks message output order

The correct order is load address, offset, length. The order was
accidentally switched a while ago; make it match the HAB Blocks output and
what CST expects again.

Fixes: e97bdfa5da ("tools/imximage: share DCD information via Kconfig")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
This commit is contained in:
Matthias Schiffer 2020-07-28 13:32:36 +02:00 committed by Stefano Babic
parent af50d92ae7
commit 0c2b03cace

View File

@ -529,7 +529,7 @@ static void print_hdr_v2(struct imx_header *imx_hdr)
(uint32_t)fhdr_v2->self, 0, (uint32_t)fhdr_v2->self, 0,
(uint32_t)(fhdr_v2->csf - fhdr_v2->self)); (uint32_t)(fhdr_v2->csf - fhdr_v2->self));
printf("DCD Blocks: 0x%08x 0x%08x 0x%08x\n", printf("DCD Blocks: 0x%08x 0x%08x 0x%08x\n",
offs, CONFIG_IMX_DCD_ADDR, be16_to_cpu(dcdlen)); CONFIG_IMX_DCD_ADDR, offs, be16_to_cpu(dcdlen));
} }
} else { } else {
imx_header_v2_t *next_hdr_v2; imx_header_v2_t *next_hdr_v2;