Sascha Hauer 5ea32021c1 mxc_nand: Fix OOB handling
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>
Reported-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Baruch Siach <baruch@tkos.co.il>
2010-07-26 14:17:52 +02:00
..
2009-10-20 10:07:23 +09:00
2010-05-13 16:12:45 +01:00
2010-05-19 17:21:52 +01:00
2010-07-26 14:17:52 +02:00
2009-10-20 10:07:23 +09:00
2010-05-19 17:21:52 +01:00
2008-06-04 17:50:17 +01:00
2010-05-13 21:21:38 +01:00
2008-06-04 17:50:17 +01:00