Re: [PATCH v5] mtd: spi-nor: Add support for S3AN spi-nor devices

From: Ricardo Ribalda Delgado
Date: Tue Sep 20 2016 - 14:01:52 EST


Hi Boris

On Tue, Sep 20, 2016 at 6:25 PM, Boris Brezillon
<boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote:

>> while (len) {
>> - ret = nor->read(nor, from, len, buf);
>> + loff_t addr = from;
>> +
>> + if (nor->flags & SNOR_F_S3AN_ADDR_DEFAULT)
>> + addr = spi_nor_s3an_addr_convert(nor, addr);

That should not be an issue, the bigest s3an is less than 4 MBytes :)

Thanks for your review



--
Ricardo Ribalda