OpenCloudOS-Kernel/drivers/mtd/nand/gpmi-nand
Huang Shijie 2febcdf84b mtd: gpmi: set the BCH's geometry with the ecc info
If the nand chip provides us the ECC info, we can use it firstly.
The set_geometry_by_ecc_info() will use the ECC info, and
calculate the parameters we need.

Rename the old code to legacy_set_geometry() which will takes effect
when there is no ECC info from the nand chip or we fails in the ECC info case.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-30 21:34:48 +01: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: set the Golois Field bit for mx6q's BCH 2013-02-04 10:27:59 +02:00
gpmi-lib.c mtd: gpmi: set the Golois Field bit for mx6q's BCH 2013-02-04 10:27:59 +02:00
gpmi-nand.c mtd: gpmi: set the BCH's geometry with the ecc info 2013-08-30 21:34:48 +01:00
gpmi-nand.h mtd: gpmi: move to use generic DMA helper 2013-04-04 21:22:45 +08:00
gpmi-regs.h mtd: gpmi: add a new field for HW_GPMI_CTRL1 2012-09-29 15:55:18 +01:00