diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-05-28 10:02:17 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-02 09:01:18 +0100 |
commit | 6c49939869c20550512386610ece45aceb65e7f4 (patch) | |
tree | 0a7bec28e08a8da92121363840b673b93d31ba92 /drivers/mtd/nand/Kconfig | |
parent | a4b81ca50974051195b11ca173da073b961f94d5 (diff) | |
download | blackbird-op-linux-6c49939869c20550512386610ece45aceb65e7f4.tar.gz blackbird-op-linux-6c49939869c20550512386610ece45aceb65e7f4.zip |
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>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
0 files changed, 0 insertions, 0 deletions