]> www.infradead.org Git - mtd-utils.git/commit
nandtest: print number of bits corrected during test
authorBen Gardiner <bengardiner@nanometrics.ca>
Tue, 9 Aug 2011 20:57:28 +0000 (16:57 -0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 25 Aug 2011 11:00:11 +0000 (14:00 +0300)
commit73c6c15a4f10f9fd437d28a7de9dc90a6ed97826
tree8319b4856364a0da02d0352da6c330c74320557b
parentd2c8ef937d0ae04ee7c81a7243e265f606ef9ce8
nandtest: print number of bits corrected during test

The nandtest program monitors the corrected ecc stat to determine if an
ECC correction has taken place during the last write-read. If so, it
prints "ECC corrected".

The mtd subsytem will store the number of bits corrected in the corrected
ecc stat so update the nandtest output to print also the number of bits
corrected when performing the test.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
nandtest.c