[PATCH] RFC: mtd/spi-nor: add checking for the spi_nor_read

Michal Suchanek hramrach at gmail.com
Thu Aug 13 10:51:33 PDT 2015


On 13 August 2015 at 17:38, Bean Huo 霍斌斌 (beanhuo) <beanhuo at micron.com> wrote:
>
> Hi,
> Is it convenient to tell me that which vendor's spi nor?
> For current spi nor structure, write operation has been already split transaction length
> By page size(256 Bytes). But seems "retlen" not reasonable.
>

I was working with SPI controller which had limit of 63 bytes per
transfer which is smaller than the page size.

This limitation was due to driver deficiency. Adding the limit to
m25p80 allowed full access to the flash content, though.

Thanks

Michal



More information about the linux-mtd mailing list