u-boot/drivers/mtd/nand
Stefan Agner e24bb2b732 mtd: nand: vf610_nfc: resync with upstream Linux version
This resyncs the driver changes with the Linux version of the
driver. The driver received some feedback in the LKML and got
recently acceppted, the latest version can be found here:
https://lkml.org/lkml/2015/9/2/678

Notable changes are:
- On ECC error, reread OOB and count bit flips in OOB too.
  If flipped bits are below threshold, also return an empty
  OOB buffer.
- Return the amount of bit flips in vf610_nfc_read_page.
- Use endianness aware vf610_nfc_read to read ECC status.
- Do not enable IDLE IRQ (since we do not operate with an
  interrupt service routine).
- Use type safe struct for buffer variants (vf610_nfc_alt_buf).
- Renamed variables in struct vf610_nfc (column and page_sz)
  to reflect better what they really representing.

The U-Boot version currently does not support RAW NAND write
when using the HW ECC engine.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Tested-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Tested-by: Stefan Agner <stefan@agner.ch>
Acked-by: Scott Wood <scottwood@freescale.com>
2015-10-15 11:10:44 +02:00
..
am335x_spl_bch.c mtd: nand: am335x: Fix 'bit-flip' errors in SPL 2014-09-25 13:43:00 -05:00
atmel_nand.c nand, atmel: remove udelay in spl_nand_erase_one() 2015-08-12 20:47:27 -04:00
atmel_nand_ecc.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
bfin_nand.c mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
davinci_nand.c nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
denali.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
denali.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
denali_spl.c mtd: denali_spl: do not allocate page_buffer in .bss section 2015-08-30 22:18:00 +09:00
docg4.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
docg4_spl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_elbc_nand.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_elbc_spl.c Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
fsl_ifc_nand.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_ifc_spl.c armv8/ls2085aqds: NAND boot support 2015-04-23 16:46:50 -07:00
fsl_upm.c nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
fsmc_nand.c mtd: nand: fsmc: Fixes and cleanup for fsmc_nand_switch_ecc() 2015-09-15 15:05:21 -04:00
jz4740_nand.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
kb9202_nand.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig 2015-08-31 08:43:42 +02:00
kirkwood_nand.c arm: marvell: Move arch/kirkwood.h to arch/soc.h 2014-10-23 09:59:20 -04:00
kmeter1_nand.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lpc32xx_nand_mlc.c lpc32xx: mtd: nand: add MLC NAND controller 2015-04-10 14:22:56 +02:00
lpc32xx_nand_slc.c nand: lpc32xx: add ECC layout for small page NAND 2015-08-18 13:45:56 -04:00
Makefile arm: Remove nhk8815 boards and nomadik arch 2015-09-11 14:56:04 -04:00
mpc5121_nfc.c nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
mxc_nand.c nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
mxc_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxc_nand_spl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxs_nand.c mtd: nand: mxs check maximum ecc that platfrom supports 2015-09-20 09:59:54 +02:00
mxs_nand_spl.c spl: nand: add support for mxs nand 2014-06-06 10:07:25 +02:00
nand.c nand: Introduce CONFIG_SYS_NAND_SELF_INIT 2012-01-26 16:09:06 -06:00
nand_base.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_bbt.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_bch.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
nand_ecc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
nand_ids.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_plat.c mtd: nand_plat: add simple GPIO framework DEV_READY option 2010-07-08 16:52:12 -05:00
nand_spl_load.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
nand_spl_simple.c spl: nand: simple: replace readb() with chip specific read_buf() 2015-08-12 20:47:33 -04:00
nand_timings.c nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
nand_util.c Move malloc_cache_aligned() to its own header 2015-09-11 17:15:16 -04:00
ndfc.c nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE 2015-03-30 23:24:39 -05:00
omap_elm.c mtd: nand: omap: fix error-codes returned from omap-elm driver 2014-06-06 17:46:00 -04:00
omap_gpmc.c mtd: OMAP: Enable GPMC prefetch mode for 16 bit access 2015-06-18 11:23:45 -04:00
pxa3xx_nand.c mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
pxa3xx_nand.h mtd: nand: Add mvebu (PXA / AXP / A38x) NAND device driver 2015-08-25 22:53:58 -05:00
s3c2410_nand.c mtd: nand: s3c: Unify the register definition and naming 2014-11-26 23:21:43 -06:00
sunxi_nand_spl.c sunxi_nand_spl: Add config parameter for 4KiB page sized NAND devices 2015-09-10 20:20:45 +02:00
tegra_nand.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
tegra_nand.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
vf610_nfc.c mtd: nand: vf610_nfc: resync with upstream Linux version 2015-10-15 11:10:44 +02:00