From 8519c9c98ad60e9eb6f655bfa8214f53407d86fb Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Fri, 23 Mar 2018 12:08:03 +0100 Subject: tools/imximage: use 0x prefix in HAB Blocks line The u-boot-ivt.img.log file contains 0x prefixes in the HAB Blocks line, while the SPL.log does not. For consistency, and to make it easier to extract and put into a .csf file for use with NXP's code signing tool, add 0x prefixes here. Signed-off-by: Rasmus Villemoes Reviewed-by: Fabio Estevam Tested-by: Breno Lima --- tools/imximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/imximage.c b/tools/imximage.c index ed9d9359031..6dabb13520d 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -516,7 +516,7 @@ static void print_hdr_v2(struct imx_header *imx_hdr) offs = (char *)&hdr_v2->data.dcd_table - (char *)hdr_v2; - printf("HAB Blocks: %08x %08x %08x\n", + printf("HAB Blocks: 0x%08x 0x%08x 0x%08x\n", (uint32_t)fhdr_v2->self, 0, hdr_v2->boot_data.size - imximage_ivt_offset - imximage_csf_size); -- cgit v1.2.3