mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
90d6176333
The code is doing monolithic reads for all chunks except the last one
which is wrong since a monolithic read will issue the
READ0+ADDRS+READ_START sequence. It not only takes longer because it
forces the NAND chip to reload the page content into its internal
cache, but by doing that we also reset the column pointer to 0, which
means we'll always read the first chunk instead of moving to the next
one.
Rework the code to do a monolithic read only for the first chunk,
then switch to naked reads for all intermediate chunks and finally
issue a last naked read for the last chunk.
Fixes:
|
||
---|---|---|
.. | ||
onenand | ||
raw | ||
bbt.c | ||
core.c | ||
Kconfig | ||
Makefile |