From: Mike Dunn Date: Fri, 7 Dec 2012 20:07:21 +0000 (-0800) Subject: mtd: nand/docg4: add support for writing in reliable mode X-Git-Tag: v3.8-rc1~47^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a90d41b693bda1318807a49d38ef1444f61dfdd;p=pandora-kernel.git 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 Acked-by: Robert Jarzmik Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed