]> git.dujemihanovic.xyz Git - u-boot.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)
commit5c3ea29e437a0b35aea82c668252d761adff2d7f
tree2713427761779f85e63c946cb36ff49aa7259790
parentb3b6cc28c240507503e471edc105e2d93a277126
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