diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-04-27 15:24:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-07-26 14:17:52 +0200 |
commit | 5ea32021c173c0c97482a1342a9069733032b647 (patch) | |
tree | 5ecf2451861422270319dcbd2ccde0af4d5e7eb4 /drivers/tc | |
parent | d2195d52aa5c638be74b396da00624a32d1c5a86 (diff) |
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>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions