]> git.dujemihanovic.xyz Git - u-boot.git/commit
fix always succesful memory test
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 7 Jan 2016 10:36:04 +0000 (11:36 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jan 2016 15:15:47 +0000 (10:15 -0500)
commitfea6730e1ce110dafd434e4592a0b489014de429
treef6169b2c38c6d3b1b67362c955fed48faf9ed1db
parent9d243b1481e0053aefbd53eedaee72eb8fdffd5a
fix always succesful memory test

Since 51209b1f42cb ("Use common mtest iteration counting"),
do_mem_mtest has always reported 0 errors and hence returned 0, even
if errors were detected. Fix the helpers mem_test_alt() and
mem_test_quick() to return the number of errors found.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
common/cmd_mem.c