mtd: mtd_oobtest: add bitflip_limit parameter
authorRoger Quadros <rogerq@ti.com>
Tue, 21 Oct 2014 13:53:28 +0000 (16:53 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Nov 2014 07:25:49 +0000 (23:25 -0800)
commitafc0ea1b8e1e27b2cb77e7023d917f3aa5971d17
treef9d775ea06825e101ad82258fa8cf61e4ab56ff2
parent5a66088bffd9a5251e96ca5d0d46456ab9196287
mtd: mtd_oobtest: add bitflip_limit parameter

It is common for NAND devices to have bitflip errors.
Add a bitflip_limit parameter to specify how many bitflips per
page we can tolerate without flagging an error.
By default zero bitflips are tolerated.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/tests/oobtest.c