mtd: nand: enable software BCH ECC in nand simulator
authorIvan Djelic <ivan.djelic@parrot.com>
Fri, 11 Mar 2011 10:05:34 +0000 (11:05 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 17:49:31 +0000 (17:49 +0000)
commitfc2ff592b5b41f3f32e790dd124eeb3bc80706c8
tree528a614b1765a5aac90c1c55ba7a017b2f097b67
parent193bd40026443835e1b96c79d5efe559d01509ae
mtd: nand: enable software BCH ECC in nand simulator

This patch adds option 'bch' to nandsim, which can be used to enable
software BCH ECC (introduced in previous patches) and select BCH error
correction capability.

Signed-off-by: Ivan Djelic <ivan.djelic@parrot.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c