Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b8b0e465 authored by Han Xu's avatar Han Xu Committed by Brian Norris
Browse files

mtd: nand: gpmi: 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 beyonds the i.MX6QDL BCH capability
(40bit).

This patch 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>
Acked-by: default avatarHuang Shijie <shijie.huang@arm.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 026918e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment