u-boot-brain/drivers/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
..
nand mtd: nand: add driver for diskonchip g4 nand flash 2013-05-05 23:47:05 +02:00
onenand arm: Remove support for unused s3c64xx 2013-04-12 07:55:08 +02:00
spi Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-03-28 18:50:01 +01:00
ubi ubi: ubifs: Turn off verbose prints 2013-04-11 15:52:54 -04:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c Revert "mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support" 2013-04-12 19:04:54 +02:00
cfi_mtd.c CFI: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
dataflash.c drivers/mtd/dataflash.c: Fix GCC 4.6 warning 2011-11-16 21:28:47 +01:00
ftsmc020.c ftsmc020: fix relocation 2011-05-12 23:43:27 +02:00
jedec_flash.c add STM29F400BB to table of supported legacy flashs 2012-02-09 09:45:53 +01:00
Makefile st_smi: Add support for SPEAr SMI driver 2012-07-07 14:07:38 +02:00
mtdconcat.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mtdcore.c linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
mtdpart.c ubi: ubifs: Turn off verbose prints 2013-04-11 15:52:54 -04:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
st_smi.c MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00