From: Michal Simek <michal.simek@xilinx.com>
Date: Wed, 24 Feb 2016 07:36:02 +0000 (+0100)
Subject: cmd: mem: Show 64bit addresses which are tested
X-Git-Tag: v2025.01-rc5-pxa1908~10177
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=dfe461d6b5a196c6f13ab0b4ccbeb1b16aa22cf5;p=u-boot.git

cmd: mem: Show 64bit addresses which are tested

Fix print message to show full 64bit addresses.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

diff --git a/cmd/mem.c b/cmd/mem.c
index efa39296ef..a690957d0f 100644
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -1038,7 +1038,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
 		return -1;
 	}
 
-	printf("Testing %08x ... %08x:\n", (uint)start, (uint)end);
+	printf("Testing %08lx ... %08lx:\n", start, end);
 	debug("%s:%d: start %#08lx end %#08lx\n", __func__, __LINE__,
 	      start, end);