]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spinand: macronix: Use random program load
authorMason Yang <masonccyang@mxic.com.tw>
Thu, 16 Dec 2021 11:16:37 +0000 (12:16 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 23 Jan 2022 11:36:22 +0000 (12:36 +0100)
commit96d3bb711184fa91abad1243a03d7ee61196f9ba
tree69eaa5b1aa66dc962dd5b909d5e539dafa572dd8
parent0405dc9d0975d47729eda4fbb91e20749d33f2d0
mtd: spinand: macronix: Use random program load

Macronix SPI-NAND chips might benefit from an external ECC
engine. Such an engine might need to access random columns, thus needing
to use random commands (0x84 instead of 0x02).

Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-12-miquel.raynal@bootlin.com
drivers/mtd/nand/spi/macronix.c