Hi Boris

On Tue, Sep 20, 2016 at 6:25 PM, Boris Brezillon
<boris.brezil...@free-electrons.com> 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

Reply via email to