commit | e86df262890c463c815b7a58a0fa1966b09b99f1 | [log] [tgz] |
---|---|---|
author | Abhishek Sahu <absahu@codeaurora.org> | Fri Feb 09 14:36:06 2018 +0530 |
committer | Abhishek Sahu <absahu@codeaurora.org> | Fri Feb 09 15:18:53 2018 +0530 |
tree | 26ecad9b8db1ce45fd978431ba4dd1102a2e6fca | |
parent | 4dcba1bb543e539dc701d093d1c9530b930cfdaa [diff] |
mtd: nand: ipq: init mtd ecc strength and bitflip_threshold 1. assign ecc strength in mtd structure which will be used by mtd layer 2. Initialize bitflip_threshold with 3*4 of ecc strength so that MTD layer will return EUCLEAN if number of ecc correction are more than bitflip_threshold. Change-Id: I81cfe6059375117ced7888b877705919287a7be2 Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>