linux/drivers/mtd/nand
David Woodhouse 031e2777e0 mtd: gpmi: fix ECC regression
The "legacy" ECC layout used until 3.12-rc1 uses all the OOB area by
computing the ECC strength and ECC step size ourselves.

Commit 2febcdf84b ("mtd: gpmi: set the BCHs geometry with the ecc info")
makes the driver use the ECC info (ECC strength and ECC step size)
provided by the MTD code, and creates a different NAND ECC layout
for the BCH, and use the new ECC layout. This causes a regression:

   We can not mount the ubifs which was created by the old NAND ECC layout.

This patch fixes this issue by reverting to the legacy ECC layout.

We will probably introduce a new device-tree property to indicate that
the new ECC layout can be used. For now though, for the imminent 3.12
release, we just unconditionally revert to the 3.11 behaviour.

This leaves a harmless cosmetic warning about an unused function. At
this point in the cycle I really don't care.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
2013-10-25 10:09:43 -07:00
..
bcm47xxnflash
gpmi-nand mtd: gpmi: fix ECC regression 2013-10-25 10:09:43 -07:00
ams-delta.c mtd: nand: ams-delta: remove unnecessary platform_set_drvdata() 2013-08-05 20:58:30 +01:00
atmel_nand_ecc.h
atmel_nand_nfc.h mtd: atmel_nand: add Nand Flash Controller (NFC) support 2013-08-05 21:07:41 +01:00
atmel_nand.c mtd: atmel_nand: fix error return code in atmel_nand_probe() 2013-08-30 21:52:44 +01:00
au1550nd.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
bf5xx_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
cafe_nand.c
cmx270_nand.c
cs553x_nand.c mtd cs553x_nand: use kzalloc() instead of memset 2013-08-30 21:52:48 +01:00
davinci_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
denali_dt.c
denali_pci.c
denali.c mtd: denali: use NAND_CI_CELLTYPE_MSK instead of hardcoded constant 2013-08-30 21:34:29 +01:00
denali.h
diskonchip.c mtd: diskonchip: remove unused entries in Kconfig 2013-08-05 21:01:55 +01:00
docg4.c mtd: nand: refactor chip->block_markbad interface 2013-08-30 16:47:52 +01:00
fsl_elbc_nand.c
fsl_ifc_nand.c
fsl_upm.c
fsmc_nand.c mtd: fsmc_nand: simplify platform_get_resource_byname/devm_ioremap_resource 2013-08-30 21:42:20 +01:00
gpio.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
jz4740_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
Kconfig mtd: remove alauda driver 2013-08-30 21:51:57 +01:00
lpc32xx_mlc.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
lpc32xx_slc.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
Makefile mtd: remove alauda driver 2013-08-30 21:51:57 +01:00
mpc5121_nfc.c mtd: mpc5121_nfc: cleanup clock API use 2013-08-23 23:07:46 +02:00
mxc_nand.c mtd: nand: mxc_nand: mark 'const' properly 2013-08-30 21:51:52 +01:00
nand_base.c mtd: nand: fix memory leak in ONFI extended parameter page 2013-09-27 05:48:02 -05:00
nand_bbt.c mtd: nand: remove NAND_BBT_SCANEMPTY 2013-08-30 16:48:37 +01:00
nand_bch.c
nand_ecc.c
nand_ids.c mtd: add the ecc info for some full-id nand chips 2013-08-30 21:34:47 +01:00
nandsim.c mtd: nandsim: Staticize local symbols 2013-08-30 21:51:43 +01:00
ndfc.c
nuc900_nand.c mtd: nand: nuc900_nand: remove unnecessary platform_set_drvdata() 2013-08-05 20:59:09 +01:00
omap2.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
orion_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
pasemi_nand.c
plat_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
pxa3xx_nand.c mtd: nand: pxa3xx: Fix registered MTD name 2013-10-24 14:44:28 -07:00
r852.c mtd: r852: Staticize local symbols 2013-08-30 21:51:45 +01:00
r852.h
s3c2410.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
sh_flctl.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
sharpsl.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
sm_common.c mtd: nand: refactor chip->block_markbad interface 2013-08-30 16:47:52 +01:00
sm_common.h
socrates_nand.c
tmio_nand.c mtd: nand: use dev_get_platdata() 2013-08-30 21:34:33 +01:00
txx9ndfmc.c mtd: simplify use of devm_ioremap_resource 2013-08-30 21:36:15 +01:00
xway_nand.c