]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: fix mtest on 64 bit systems
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 26 Jan 2023 23:38:50 +0000 (00:38 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 27 Jan 2023 17:31:58 +0000 (18:31 +0100)
commit0a266b9d462eaffde3f0a8f26aa30f2b911be122
tree2713427761779f85e63c946cb36ff49aa7259790
parenta11af768072ce551792646855669f56230d65f6b
cmd: fix mtest on 64 bit systems

* Use 16 digits on 64 bit systems.
* Use 64 bit patterns on 64 bit systems.
* Expect the sign bit in bit 63 on 64 bit systems.
* Adjust the formatting of a constant.
* Always print result on new line

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/mem.c