]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit31688a9e0938bd6c43622f08afdd66d0812d915d
treea963d3669d42d0b8d3872a53ce511049c4a7363c
parentbd0d5797b1c59da3eff0a0654fb0b9426022e852
[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