OpenCloudOS-Kernel/drivers/mtd/nand/gpmi-nand
Han Xu b8b0e465dd 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: Han Xu <b45815@freescale.com>
Acked-by: Huang Shijie <shijie.huang@arm.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2016-01-23 14:45:57 -08:00
..
Makefile mtd: add GPMI-NAND driver in the config and Makefile 2011-09-11 15:02:18 +03:00
bch-regs.h mtd: gpmi: add gpmi support for imx6sx 2014-05-28 16:02:16 -07:00
gpmi-lib.c mtd: nand: gpmi: use the mtd instance embedded in struct nand_chip 2015-12-18 10:54:41 -08:00
gpmi-nand.c mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND 2016-01-23 14:45:57 -08:00
gpmi-nand.h mtd: nand: gpmi: use the mtd instance embedded in struct nand_chip 2015-12-18 10:54:41 -08:00
gpmi-regs.h mtd: gpmi: decouple the chip select from the DMA channel 2013-11-06 23:33:01 -08:00