Skip to contentSkip to conversation

sf: Add Macronix MX25U25645G ID

PATCH Superseded Marek Vasut 2 participants 2 messages May 16, 2018 – May 17, 2018 Memory technology devices (MTD)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sf: Add Macronix MX25U25645G ID

Add ID for the Macronix MX25U25645G flash.

---
 drivers/mtd/spi/spi_flash_ids.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi_flash_ids.c +1 -0
index a46227f172..3b8f254ca2 100644
@@ -85,6 +85,7 @@ const struct spi_flash_info spi_flash_ids[] = {
 	{"mx25u6435f",	   INFO(0xc22537, 0x0, 64 * 1024,   128, RD_FULL | WR_QPP) },
 	{"mx25l12855e",	   INFO(0xc22618, 0x0, 64 * 1024,   256, RD_FULL | WR_QPP) },
 	{"mx25u1635e",     INFO(0xc22535, 0x0, 64 * 1024,  32, SECT_4K) },
+	{"mx25u25645g",    INFO(0xc22539, 0x0, 64 * 1024,   512, RD_FULL | WR_QPP) },
 	{"mx66u51235f",    INFO(0xc2253a, 0x0, 64 * 1024,  1024, RD_FULL | WR_QPP) },
 	{"mx66l1g45g",     INFO(0xc2201b, 0x0, 64 * 1024,  2048, RD_FULL | WR_QPP) },
 #endif
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 sf: Add Macronix MX25U25645G ID

Quoted 13 lines · Marek Vasut

Add ID for the Macronix MX25U25645G flash.

---
 drivers/mtd/spi/spi_flash_ids.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi/spi_flash_ids.c +0 -0
index a46227f172..3b8f254ca2 100644

drivers/mtd/spi/spi_flash_ids.c const struct spi_flash_info spi_flash_ids[] = { · line 88

Quoted 4 lines
drivers/mtd/spi/spi_flash_ids.c +1 -0
@@ -85,6 +85,7 @@ const struct spi_flash_info spi_flash_ids[] = {
        {"mx25u6435f",     INFO(0xc22537, 0x0, 64 * 1024,   128, RD_FULL | WR_QPP) },
        {"mx25l12855e",    INFO(0xc22618, 0x0, 64 * 1024,   256, RD_FULL | WR_QPP) },
        {"mx25u1635e",     INFO(0xc22535, 0x0, 64 * 1024,  32, SECT_4K) },
+       {"mx25u25645g",    INFO(0xc22539, 0x0, 64 * 1024,   512, RD_FULL | WR_QPP) },

Both mx25u25635f and mx25u25645g have similar kind of flashes with same JEDEC, better to use mx25u25635f for Linux compatibility.

Jagan.