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)
commit1d0b95b0834087ba3653f69c24483d63a26d51a7
tree3f32fbe2f4aa28c5cec4be31e40e9db4138e8ce8
parentd107bc34f4953852834f086968fc7963125d6943
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