[PATCH] mtd: spi-nor: macronix: Add support for mx66l2g45g
Chun-Ma
1181020707 at qq.com
Fri Aug 27 01:24:11 PDT 2021
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 <1181020707 at qq.com>
---
drivers/mtd/spi-nor/macronix.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index 27498ed0cc0d..4e72418fcdee 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -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)
--
2.32.0
More information about the linux-mtd
mailing list