]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spinand: macronix: Add support for serial NAND flash
authorJaime Liao <jaimeliao@mxic.com.tw>
Mon, 7 Jun 2021 08:19:15 +0000 (16:19 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:12:52 +0000 (11:42 +0530)
commit9a0a30cbef73c4259f4e3c10a2b8e8f1f8b7d404
tree03058b0f6840cf5b9193fbb139a884644f15791e
parent72039ffb8c671ad9984b58a91fb28daff67c2ded
mtd: spinand: macronix: Add support for serial NAND flash

Macronix NAND Flash devices are available in different configurations
and densities.

MX"35" means SPI NAND
MX35"UF" , UF meands 1.8V
MX35LF"2G" , 2G means 2Gbits
MX35LF2G"E4" , E4 means internal ECC and Quad I/O(x4)

MX35UF4GE4AD/MX35UF2GE4AD/MX35UF1GE4AD are 1.8V 4G/2Gbit serial
NAND flash device with 8-bit on-die ECC
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7983/MX35UF4GE4AD,%201.8V,%204Gb,%20v0.00.pdf

MX35UF2GE4AC/MX35UF1GE4AC are 1.8V 2G/1Gbit serial
NAND flash device with 8-bit on-die ECC
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7974/MX35UF2GE4AC,%201.8V,%202Gb,%20v1.0.pdf

Validated via normal(default) and QUAD mode by read, erase, read back,
on Xilinx Zynq PicoZed FPGA board which included Macronix
SPI Host(drivers/spi/spi-mxic.c).

Signed-off-by: Jaime Liao <jaimeliao@mxic.com.tw>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/spi/macronix.c