mtd: nandbiterrs: Support for NAND biterrors test on platforms without raw write
authorIwo Mergler <Iwo.Mergler@netcommwireless.com>
Wed, 11 May 2016 06:54:57 +0000 (16:54 +1000)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 11 Jul 2016 06:40:13 +0000 (08:40 +0200)
commit97b671315ec2f4f83bf0c397780692badd713fcf
tree6438460fa016fdd5484617c6f4307f906d41acd8
parent03b1d11a998b70df2ca699a9b9fb8ab5b0746d43
mtd: nandbiterrs: Support for NAND biterrors test on platforms without raw write

Support for NAND biterrors test on platforms without raw write

While the default test mode relies on raw write (mtd_write_oob) to introduce
bit errors into a page, the rewrite test mode doesn't need it.

Changed the overwrite test to use normal writes. The default test mode
is unaffected and still requires raw write as before.

Signed-off-by: Iwo Mergler <Iwo.Mergler@netcommwireless.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/tests/nandbiterrs.c