All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/imximage: fix DCD Blocks message output order
@ 2020-07-28 11:32 Matthias Schiffer
  2020-08-18 12:34 ` sbabic at denx.de
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schiffer @ 2020-07-28 11:32 UTC (permalink / raw)
  To: u-boot

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: e97bdfa5da70 ("tools/imximage: share DCD information via Kconfig")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
 tools/imximage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/imximage.c b/tools/imximage.c
index d7edd3c52f..5c23fba3b1 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -529,7 +529,7 @@ static void print_hdr_v2(struct imx_header *imx_hdr)
 			       (uint32_t)fhdr_v2->self, 0,
 			       (uint32_t)(fhdr_v2->csf - fhdr_v2->self));
 			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 {
 		imx_header_v2_t *next_hdr_v2;
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] tools/imximage: fix DCD Blocks message output order
  2020-07-28 11:32 [PATCH] tools/imximage: fix DCD Blocks message output order Matthias Schiffer
@ 2020-08-18 12:34 ` sbabic at denx.de
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic at denx.de @ 2020-08-18 12:34 UTC (permalink / raw)
  To: u-boot

> 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: e97bdfa5da70 ("tools/imximage: share DCD information via Kconfig")
> Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-18 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 11:32 [PATCH] tools/imximage: fix DCD Blocks message output order Matthias Schiffer
2020-08-18 12:34 ` sbabic at denx.de

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.