]> Gentwo Git Trees - linux/.git/commit
mtd: spinand: gigadevice: Add continuous read support
authorTeng Wu <gigadevice2025@gmail.com>
Mon, 18 Aug 2025 13:52:27 +0000 (21:52 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 28 Aug 2025 12:27:18 +0000 (14:27 +0200)
commit49b9254217048068ae1011619db60a6de5edf7e2
tree0d214eeb4d05ac3424eb1920e800a212be044446
parent5b5dc7db5a8dc2c221526acf81b323ec1f972d0f
mtd: spinand: gigadevice: Add continuous read support

GD5F1GM9 supports a high-speed Continuous Read (CR) mode which allows
the entire memory array to be read out by a single read command
without re-issuing the 13h “Page Read to Cache” command for every page.

Datasheet summary
Feature register B0[3] (NR bit)
1 = Normal Read (default)
0 = Continuous Read (CR)

ECC status register 7Ch
Normal read: bits [3:0] → ECC status of last page
Continuous read: bits [7:4] → accumulated max bit-flips over the
whole sequential read operation.

Datasheet:
https://github.com/WT-886/DATASHEET/blob/main/GD5F1GM9-v1.0.pdf

Signed-off-by: Teng Wu <gigadevice2025@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/gigadevice.c