summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/dummy.h
diff options
context:
space:
mode:
authorIvan Djelic <ivan.djelic@parrot.com>2011-03-11 11:05:33 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-03-11 18:49:08 +0100
commit193bd40026443835e1b96c79d5efe559d01509ae (patch)
tree979bace7cd9806753c95867c6df89fe2de98fc73 /drivers/regulator/dummy.h
parentmtd: fix printf format warnings, mostly lack of %zd for size_t, in mtdswap (diff)
downloadlinux-193bd40026443835e1b96c79d5efe559d01509ae.tar.xz
linux-193bd40026443835e1b96c79d5efe559d01509ae.zip
mtd: nand: add software BCH ECC support
This patch adds software BCH ECC support to mtd, in order to handle recent NAND device ecc requirements (4 bits or more). It does so by adding a new ecc mode (NAND_ECC_SOFT_BCH) for use by board drivers, and a new Kconfig option to enable BCH support. It relies on the generic BCH library introduced in a previous patch. When a board driver uses mode NAND_ECC_SOFT_BCH, it should also set fields chip->ecc.size and chip->ecc.bytes to select BCH ecc data size and required error correction capability. See nand_bch_init() documentation for details. It has been tested on the following platforms using mtd-utils, UBI and UBIFS: x86 (with nandsim), arm926ejs. Signed-off-by: Ivan Djelic <ivan.djelic@parrot.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/regulator/dummy.h')
0 files changed, 0 insertions, 0 deletions