[PATCH 2/2] nand: pxa3xx: Increase initial buffer size

Robert Jarzmik robert.jarzmik at free.fr
Sat Aug 8 12:19:36 PDT 2015


Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> writes:

> The initial buffer is used for the initial commands used to detect
> a flash device (STATUS, READID and PARAM).
>
> ONFI param page is 256 bytes, and there are three redundant copies
> to be read. JEDEC param page is 512 bytes, and there are also three
> redundant copies to be read. Hence this buffer should be at least
> 512 x 3. This commits rounds the buffer size to 2048.
>
> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>

Cheers.

-
Robert



More information about the linux-mtd mailing list