]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5746b96b311a97c752e25ab053d0ac7f0f8710c9
treeecffa4007f035e9b720e71597fa4768f26de1e5a
parent6dd323684681168b2285789ecd5260dc04e2bc35
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]