05e258c6ec
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
mtd_read error while parsing (offset: 0x201000): -22
(...)
Fix the code to do what I think was intended.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
afs.c | ||
ar7part.c | ||
bcm47xxpart.c | ||
bcm63xxpart.c | ||
brcm_u-boot.c | ||
cmdlinepart.c | ||
ofpart_bcm4908.c | ||
ofpart_bcm4908.h | ||
ofpart_core.c | ||
ofpart_linksys_ns.c | ||
ofpart_linksys_ns.h | ||
parser_imagetag.c | ||
parser_trx.c | ||
qcomsmempart.c | ||
redboot.c | ||
scpart.c | ||
sharpslpart.c |