Sascha Hauer 6c49939869 mtd: mxc_nand: fix OOB accesses on i.MX27
The OOB handling in the mxc_nand driver is broken for v1 type
controllers (i.MX27/31) with 512 byte page size. This perhaps
did not show up because ubi does not use OOB.
Update the driver to always read/write a whole page even if
only OOB is requested. With this patch the driver passes the
mtd_oobtest on i.MX27 with 512 byte page size. Also tested
with 2048 byte page size and on i.MX35 (v2 type controller)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-08-02 09:01:18 +01:00
..
2010-05-13 21:23:06 +01:00
2010-05-13 21:23:06 +01:00
2010-05-07 08:33:32 +03:00
2009-09-04 09:38:14 +01:00
2010-02-26 17:05:26 +00:00
2010-05-22 11:49:37 +01:00
2010-05-15 23:07:01 +01:00
2010-05-19 17:21:52 +01:00
2010-02-26 17:05:26 +00:00
2010-02-26 17:05:26 +00:00
2010-02-26 19:06:50 +00:00
2010-02-26 17:05:26 +00:00