[PATCH 1/2] nand: pxa3xx: Increase READ_ID buffer and make the size static

Robert Jarzmik robert.jarzmik at free.fr
Fri Aug 14 09:18:06 PDT 2015


Jonas Gorski <jogo at openwrt.org> writes:

>>
>> -               info->data_size = 8;
>> +               info->data_size = READ_ID_BYTES;
>
> You are reducing ->data_size from 8 to 7 here, is this intentional?
I bet it's a small mistake.

The pxa3xx NFC controller requires to read at least 8 bytes, as it is one entry
FIFO (chapter 3.7.1.2 "Non-DMA Operating mode" of PXA3xx VolII developer
manual).

Same constraint applies to DMA btw.

Cheers.

-- 
Robert



More information about the linux-mtd mailing list