]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: add ecc_strength fields to mtd structs
authorMike Dunn <mikedunn@newsguy.com>
Sun, 11 Mar 2012 21:21:10 +0000 (14:21 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:56:36 +0000 (00:56 +0100)
commit68a7d3caa614ec18483329eeb8dfd8b9aca76fdd
tree3f32fbe2f4aa28c5cec4be31e40e9db4138e8ce8
parentb7fb175dc71b5e792e13bf729f561301b8c444a4
mtd: add ecc_strength fields to mtd structs

This adds 'ecc_strength' to struct mtd_info.  This stores the maximum number of
bit errors that can be corrected in one writesize region.

For consistency with the nand code, 'strength' is similiarly added to struct
nand_ecc_ctrl.  This stores the maximum number of bit errors that can be
corrected in one ecc step.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/mtd.h
include/linux/mtd/nand.h