[PATCH] mtd: nand: pxa3xx: Fix READOOB implementation
Robert Jarzmik
robert.jarzmik at free.fr
Mon Dec 18 09:37:08 PST 2017
Boris Brezillon <boris.brezillon at free-electrons.com> (by way of Boris Brezillon
<boris.brezillon at free-electrons.com>) writes:
> In the current driver, OOB bytes are accessed in raw mode, and when a
> page access is done with NDCR_SPARE_EN set and NDCR_ECC_EN cleared, the
> driver must read the whole spare area (64 bytes in case of a 2k page,
> 16 bytes for a 512 page). The driver was only reading the free OOB
> bytes, which was leaving some unread data in the FIFO and was somehow
> leading to a timeout.
That's a very good catch.
Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>
Cheers.
--
Robert
More information about the linux-mtd
mailing list