[MTD] nandsim: enhance nandsim to simulate flash errors
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Mon, 19 Mar 2007 10:47:45 +0000 (12:47 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 17 Apr 2007 17:55:08 +0000 (13:55 -0400)
commit514087e74fb401a6621e8c836f4eaab87c269f24
treea963d3669d42d0b8d3872a53ce511049c4a7363c
parent2b77a0ed54eeea61937e7f71b0487b815edfbcdf
[MTD] nandsim: enhance nandsim to simulate flash errors

New module parameters have been added to nandsim to
simulate:

        bitflips        random bit flips
        badblocks       blocks that are initially marked bad
        weakblocks      blocks that fail to erase after a
                        small number of erase cycles
        weakpages       pages that fail to write after a
                        small number of successful writes
        gravepages      pages that fail to read after a
                        small number of successful reads

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nandsim.c