u-boot-brain/drivers/mtd/nand
Wu, Josh bdfd59aa0f at91: atmel_nand: Update driver to support Programmable Multibit ECC controller
The Programmable Multibit ECC (PMECC) controller is a programmable binary
BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller
can be used to support both SLC and MLC NAND Flash devices. It supports to
generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.

To use PMECC in this driver, the user needs to set the PMECC correction
capability, the sector size and ROM lookup table offsets in board config file.

This driver is ported from Linux kernel atmel_nand PMECC patch. The main difference
is in this version it uses registers structure access hardware instead of using macros.
It is tested in 9x5 serial boards.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
[rebase]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2012-09-01 17:06:14 +02:00
..
atmel_nand_ecc.h at91: atmel_nand: Update driver to support Programmable Multibit ECC controller 2012-09-01 17:06:14 +02:00
atmel_nand.c at91: atmel_nand: Update driver to support Programmable Multibit ECC controller 2012-09-01 17:06:14 +02:00
bfin_nand.c Blackfin: bfin_nand: mark local func static 2012-02-12 15:03:26 -05:00
davinci_nand.c NAND: davinci: choose correct 1-bit h/w ECC reg 2011-10-10 15:28:05 -05:00
diskonchip.c Remove legacy NAND and disk on chip code. 2009-07-16 19:07:47 -05:00
fsl_elbc_nand.c nand/fsl_elbc: Convert to self-init 2012-01-26 16:09:06 -06:00
fsl_ifc_nand.c driver/mtd:IFC: Fix possible memory leak 2012-05-18 18:15:24 -05:00
fsl_upm.c PPC: Fix fsl_upm.c by renaming nand handling functions 2011-10-03 18:41:02 -05:00
fsmc_nand.c mtd/NAND: Add FSMC driver support 2012-07-07 14:07:38 +02:00
jz4740_nand.c MIPS: Jz4740: Add NAND driver 2011-10-12 23:28:37 +09:00
kb9202_nand.c KB9202: Add NAND support 2009-08-26 15:37:01 -05:00
kirkwood_nand.c nand: increase chip_delay in mv kirkwood nand driver 2011-10-03 18:35:11 -05:00
kmeter1_nand.c 83xx, kmeter1: added NAND support 2009-08-26 15:37:02 -05:00
Makefile mtd/NAND: Add FSMC driver support 2012-07-07 14:07:38 +02:00
mpc5121_nfc.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mxc_nand.c imx: nand: Support flash based BBT 2012-05-15 08:31:33 +02:00
mxs_nand.c mxs: Convert sys_proto.h prefixes to 'mxs' 2012-09-01 14:58:25 +02:00
nand_base.c NAND: Remove ONFI detection message to from bootup log 2012-05-18 18:17:06 -05:00
nand_bbt.c mtd, nand: move some printfs to debug output. 2012-05-18 18:11:37 -05:00
nand_bch.c nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
nand_ecc.c nand_spl_simple: add support for software ECC 2011-12-06 23:59:36 +01:00
nand_ids.c nand: Add more NAND types from Linux nand driver 2012-01-26 16:09:02 -06: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 drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning 2011-12-07 16:02:07 -06:00
nand_spl_simple.c nand_spl_simple: store ecc data on the stack 2012-01-26 16:06:21 -06:00
nand_util.c nand_util: correct YAFFS image write function 2012-05-18 18:08:45 -05:00
nand.c nand: Introduce CONFIG_SYS_NAND_SELF_INIT 2012-01-26 16:09:06 -06:00
ndfc.c NAND: Add 16bit NAND support for the NDFC 2011-07-01 15:56:52 -05:00
nomadik.c nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
omap_gpmc.c arm: omap: Fix switching back to nandecc sw. 2012-09-01 14:58:19 +02:00
s3c64xx.c Fix regression in SMDK6400 2011-12-06 23:59:31 +01:00
s3c2410_nand.c GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c 2011-10-27 23:54:08 +02:00