u-boot/include/linux/mtd
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
..
bbm.h nand: Merge changes to BBT from Linux nand driver 2012-01-26 16:09:02 -06:00
blktrans.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
concat.h Coding style cleanup; update CHANGELOG 2009-07-07 22:35:02 +02:00
doc2000.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
docg4.h mtd: nand: add driver for diskonchip g4 nand flash 2013-05-05 23:47:05 +02:00
fsl_upm.h Add wait flags to support board/chip specific delays 2009-03-23 15:53:40 -05:00
fsmc_nand.h mtd/NAND: Add FSMC driver support 2012-07-07 14:07:38 +02:00
inftl-user.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
jffs2-user.h Update MTD to that of Linux 2.6.22.1 2008-08-12 11:31:15 -05:00
mtd-abi.h include/linux/compat.h: fix warning: preprocessor token {__iomem, __user} redefined 2012-11-04 11:00:34 -07:00
mtd.h NAND: Really ignore bad blocks when scrubbing 2011-10-03 18:35:12 -05:00
nand.h Consolidate bool type 2013-04-01 16:33:52 -04:00
nand_bch.h nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
nand_ecc.h Revert "nand: make 1-bit software ECC configurable" 2012-02-28 14:03:39 -06:00
ndfc.h Add support for AMCC Sequoia PPC440EPx eval board 2006-09-07 11:51:23 +02:00
nftl-user.h Coding Style cleanup, update CHANGELOG 2008-08-14 14:41:06 +02:00
nftl.h NAND: sync with 2.6.27 2008-10-29 10:42:16 -05:00
onenand.h linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
onenand_regs.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
partitions.h NAND: Update to support 64 bit device size 2009-11-13 16:56:14 -06:00
samsung_onenand.h onenand:samsung Target dependent OneNAND chip probe function 2012-04-04 16:27:34 +02:00
st_smi.h st_smi: Change SMI timeout values 2012-07-07 14:07:38 +02:00
ubi.h Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00