[PATCH] mtd: parsers: bcm47xxpart: Fix halfblock reads

Florian Fainelli f.fainelli at gmail.com
Mon Oct 17 15:18:15 PDT 2022


On 10/13/22 15:28, Linus Walleij wrote:
> There is some code in the parser that tries to read 0x8000
> bytes into a block to "read in the middle" of the block. Well
> that only works if the block is also 0x10000 bytes all the time,
> else we get these parse errors as we reach the end of the flash:
> 
> spi-nor spi0.0: mx25l1606e (2048 Kbytes)
> mtd_read error while parsing (offset: 0x200000): -22

Is it worth a Fixes: tag so it reaches stable eventually and we have 
this reach OpenWrt directly where it is presumably the most useful?
-- 
Florian



More information about the linux-mtd mailing list