Commit 42900d1b authored by Han Xu's avatar Han Xu Committed by Nitin Garg
Browse files

MLK-10245: mtd: nand: may use minimum required ecc for 744 oobsize NAND



By default, NAND driver will choose the highest ecc strength that oob
could contain, in this case, for some 8K+744 NAND flash, the ecc
strength will be up to 52bit, which is beyond the i.MX6QDL BCH
capability (40bit).

This code change allows the NAND driver try to use minimum required ecc
strength if it failed to use the highest ecc, even without explicitly
claiming "fsl,use-minimum-ecc" in dts.

Signed-off-by: default avatarHan Xu <b45815@freescale.com>
Signed-off-by: default avatarFugang Duan <B38611@freescale.com>
(cherry picked from commit: b59006033c138329472e28f58483aa5796dc81aa)
parent d770b221
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment