mtd: spi-nor: macronix: Add support for mx66l2g45g
Subsystems (2)
PATCH 1/1 mtd: spi-nor: macronix: Add support for mx66l2g45g
The Macronix mx66l2g45g is a 1.8V, 2Gbit (256MB) device that supports x1, x2, or x4 operation.
Tested on zynqmp SoC hardware with a cadence quadspi controller
- random data write, erase, read - verified erase operations
- random data write, read/compare - verified write/read operations
Signed-off-by Chun-Ma <[email protected]>
--- drivers/mtd/spi-nor/macronix.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/macronix.c +3 -0
@@ -87,6 +87,9 @@ static const struct flash_info macronix_parts[] = { {"mx66u2g45g" ,INFO (0xc2253c ,0 ,64 *1024 ,4096 ,SECT_4K |SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, + { "mx66l2g45g", INFO(0xc2201c, 0, 64 * 1024, 4096, +SECT_4K |SPI_NOR_DUAL_READ | + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, };static void macronix_default_init (struct spi_nor *nor)
Signature · 6 lines
2.32.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/