mtd: spinand: macronix: Add support for MX35LFxG24AD
authorYouChing Lin <ycllin@mxic.com.tw>
Thu, 10 Dec 2020 03:22:09 +0000 (11:22 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:54 +0000 (22:37 +0100)
commitee4e0eafa43cfd9008722fe15e17b8bf62fb6e8d
tree69703171816046c3779677a9780a7405c260f5ec
parent058e0e847d54944c5dc9ec6d29727e1449feb131
mtd: spinand: macronix: Add support for MX35LFxG24AD

The Macronix MX35LF1G24AD(/2G24AD/4G24AD) are 3V, 1G/2G/4Gbit serial
SLC NAND flash device (without on-die ECC).

Validated by read, erase, read back, write, read back on Xilinx Zynq
PicoZed FPGA board which included Macronix SPI Host(drivers/spi/spi-mxic.c)
& S/W BCH ecc(drivers/mtd/nand/ecc-sw-bch.c) with bug fixing patch
(mtd: nand: ecc-bch: Fix the size of calc_buf/code_buf of the BCH).

Signed-off-by: YouChing Lin <ycllin@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1607570529-22341-3-git-send-email-ycllin@mxic.com.tw
drivers/mtd/nand/spi/macronix.c