mtd: nand: add support for diskonchip G4 nand flash device
authorMike Dunn <mikedunn@newsguy.com>
Wed, 4 Jan 2012 00:05:44 +0000 (16:05 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:18:31 +0000 (00:18 +0100)
commit570469f3bde7f71cc1ece07a18d54a05b6a8775d
treeecffa4007f035e9b720e71597fa4768f26de1e5a
parent58edc904bb7ce940cb5ab7905ddda01aa7f0fa7a
mtd: nand: add support for diskonchip G4 nand flash device

This patch adds a driver for the M-Sys / Sandisk diskonchip G4 nand flash found
in various smartphones and PDAs, among them the Palm Treo680, HTC Prophet and
Wizard, Toshiba Portege G900, Asus P526, and O2 XDA Zinc.  It was tested on the
Treo 680, but should work generically.

Since v3, this patch adds power management functions, a scan of the factory bad
block table during initialization, several fixes, and more extensive testing.
Also, the platform data header file, which only contained partitioning
information, was removed.  Command-line partitioning can be used, at least until
an mtd parser is written for the saftl format with which these chips are
shipped.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/docg4.c [new file with mode: 0644]