[PATCH 3/3] mtd: spi-nor: Add support for mx25u51279g
Vishwaroop A
va at nvidia.com
Tue Nov 26 10:58:34 PST 2024
Add support for the Macronix mx25u51279g SPI NOR flash. This device has
a 64MB size with 4K sector erase, dual/quad read capabilities and
support 4-bytes opcodes.
Erasing, reading and writing this flash device has been validated on
the Jetson AGX Orin platform using mtd_debug and dd utilities.
Change-Id: I740269c781d42781431935e593f651573e078372
Signed-off-by: Vishwaroop A <va at nvidia.com>
---
drivers/mtd/spi-nor/macronix.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index 830da21eea08..4a15984f63a8 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -154,6 +154,12 @@ static const struct flash_info macronix_nor_parts[] = {
.size = SZ_64M,
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
.fixup_flags = SPI_NOR_4B_OPCODES,
+ }, {
+ .id = SNOR_ID(0xc2, 0x95, 0x3a),
+ .name = "mx25u51279g",
+ .size = SZ_64M,
+ .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
+ .fixup_flags = SPI_NOR_4B_OPCODES,
}, {
.id = SNOR_ID(0xc2, 0x25, 0x3a),
.name = "mx66u51235f",
--
2.17.1
More information about the linux-mtd
mailing list