Skip to contentSkip to conversation

sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array

PATCH New Peng Fan 2 participants 2 messages May 3, 2020 – May 7, 2020 Memory technology devices (MTD)

lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/1 sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array

From: Ye Li <[email protected]>

On i.mx7ulp EVK board, we use MX25R6435F NOR flash, add its parameters and IDs to flash parameter array. Otherwise, the flash probe will fails.

---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi-nor-ids.c +1 -0
index abdf560e02..b80b25650b 100644
@@ -159,6 +159,7 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("mx66u2g45g",  0xc2253c, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("mx66l1g45g",  0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ INFO("mx25l1633e", 0xc22415, 0, 64 * 1024,   32, SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | SECT_4K) },
+	{ INFO("mx25r6435f", 0xc22817, 0, 64 * 1024,   128,  SECT_4K) },
 #endif
 
 #ifdef CONFIG_SPI_FLASH_STMICRO		/* STMICRO */
Signature · 1 line
2.16.4