[U-Boot] [PATCH] cmd: mem: Show 64bit addresses which are tested

Michal Simek michal.simek at xilinx.com
Wed Feb 24 08:36:02 CET 2016


Fix print message to show full 64bit addresses.

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

 cmd/mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/mem.c b/cmd/mem.c
index efa39296ef7a..a690957d0ff9 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);
 
-- 
1.9.1



More information about the U-Boot mailing list