u-boot/drivers/mtd/nand
Mike Dunn 956b03e180 mtd: nand: add driver for diskonchip g4 nand flash
This patch adds a driver for the diskonchip G4 nand flash device.  It is based
on the driver from the linux kernel.

This also includes a separate SPL driver.  A separate SPL driver is used because
the device operates in a different mode (reliable mode) when loading a boot
image, and also because the storage format of the boot image is different from
normal data (pages are stored redundantly).  The SPL driver basically mimics how
a typical IPL reads data from the device.  The special operating mode and
storage format are used to compensate for the fact that the IPL does not contain
the BCH ecc decoding algorithm (due to size constraints).  Although the u-boot
SPL *could* use ecc, it operates like an IPL for the sake of simplicity and
uniformity, since the IPL and SPL share the task of loading the u-boot image.
As a side benefit, the SPL driver is very small.

[port from linux kernel 3.4 commit 570469f3bde7f71cc1ece07a18d54a05b6a8775d]

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2013-05-05 23:47:05 +02:00
..
am335x_spl_bch.c am33xx_spl_bch: simple SPL nand loader for AM33XX 2012-12-10 08:54:02 -07:00
atmel_nand.c atmel_nand: fix the U-Boot output information about nand flash with PMECC enable. 2012-09-13 14:28:13 +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
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
docg4.c mtd: nand: add driver for diskonchip g4 nand flash 2013-05-05 23:47:05 +02:00
docg4_spl.c mtd: nand: add driver for diskonchip g4 nand flash 2013-05-05 23:47:05 +02:00
fsl_elbc_nand.c nand/fsl: add NAND_NO_SUBPAGE_WRITE to eLBC and IFC drivers 2012-11-26 15:41:27 -06:00
fsl_elbc_spl.c spl/nand: config symbol documentation 2012-11-26 15:41:26 -06:00
fsl_ifc_nand.c driver/mtd/IFC:Wait tWB time, poll R/B before command execution 2012-12-21 15:34:54 -06:00
fsl_upm.c MPC85xx: remove support for TQM85xx boards 2012-10-05 11:07:42 -07: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 kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH 2013-04-12 21:42:01 +05:30
kmeter1_nand.c kmeter1_nand: allow uasge of NAND_ECC_SOFT_BCH 2013-02-15 17:47:20 -06:00
Makefile mtd: nand: add driver for diskonchip g4 nand flash 2013-05-05 23:47:05 +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 Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-04-12 22:07:57 +02:00
mxc_nand.h nand: mxc: Switch NAND SPL to generic SPL 2013-04-12 07:55:07 +02:00
mxc_nand_spl.c lib: consolidate hang() 2013-05-01 16:41:08 -04:00
mxs_nand.c mtd: nand: mxs: reset BCH earlier, too, to avoid NAND startup problems 2012-12-11 17:19:51 -06:00
nand.c nand: Introduce CONFIG_SYS_NAND_SELF_INIT 2012-01-26 16:09:06 -06:00
nand_base.c nand: Move the sub-page read support enable to a flag 2012-11-26 15:41:28 -06: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 drivers/mtd/nand: sparse fixes 2012-11-04 11:00:38 -07: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: Extend nand_(read|write)_skip_bad with *actual and limit parameters 2013-04-10 15:22:22 +02:00
ndfc.c mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT 2013-04-12 07:55:03 +02:00
nomadik.c nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
omap_gpmc.c omap_gpmc: add support for hw assisted BCH8 2013-04-08 11:29:05 -04:00
s3c2410_nand.c GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c 2011-10-27 23:54:08 +02:00
tegra_nand.c tegra: nand: make ONFI detection work 2012-10-29 09:07:05 -07:00
tegra_nand.h tegra: nand: Add Tegra NAND driver 2012-09-07 13:54:31 -07:00