mtd: nand/docg4: add support for writing in reliable mode
authorMike Dunn <mikedunn@newsguy.com>
Fri, 7 Dec 2012 20:07:21 +0000 (12:07 -0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 12 Dec 2012 15:03:21 +0000 (17:03 +0200)
commit5a90d41b693bda1318807a49d38ef1444f61dfdd
tree0561ee5b06aa18685036ab16238ff5b132fb1827
parent740bb0c4b0bbeb8970d62157685f6d4a261036a0
mtd: nand/docg4: add support for writing in reliable mode

The controller on the docg4 has a "reliable" mode, where consecutive 2k pages
are used in parallel.  The initial program loader (IPL) on my Treo 680 expects
the secondary program loader (SPL) to be written in this mode.  This patch adds
support for writing data in reliable mode, by way of a module parameter.
Support for reading in this mode (as the IPL does) is not supported yet, but
alternate (even-numbered) 2k pages written in reliable mode can be read normally
(odd-numbered pages will contain junk and generate ecc errors).

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/docg4.c
This page took 0.024658 seconds and 5 git commands to generate.