mtd: nand: add ->badblockbits for minimum number of set bits in bad block byte
authorMaxim Levitsky <maximlevitsky@gmail.com>
Mon, 22 Feb 2010 18:39:38 +0000 (20:39 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 18:02:07 +0000 (18:02 +0000)
commite0b58d0a7005cd4b9c7fa4694a437a2d86719c13
tree24eef139ef7ab9d37125f9d508a6cf712155a20e
parentb64d39d8b03fea88417d53715ccbebf71d4dcc9f
mtd: nand: add ->badblockbits for minimum number of set bits in bad block byte

This can be used to protect against bitflips in that field, but now mostly
for smartmedia.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h