Skip to contentSkip to conversation

mtd: m25p80: modify info for Micron N25Q128

PATCH RESEND Applied Liming Wang 2 participants 2 messages Nov 22, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 mtd: m25p80: modify info for Micron N25Q128

Micron N25Q128 has two types of flash:

- One is for 1.8v supply voltage, prefixed with "n25q128a11" and the jedec code is 0x20bb18.

- Another is for 3v supply voltage, prefixed with "n25q128a13" and the jedec code is 0x20ba18.

So modify the original type info and add another type for Micron N25Q128.

---
 drivers/mtd/devices/m25p80.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/mtd/devices/m25p80.c +2 -1
index 03838ba..9945a2a 100644
@@ -664,7 +664,8 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
 
 	/* Micron */
-	{ "n25q128",  INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
+	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
+	{ "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
 	{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
 
 	/* Spansion -- single (large) sector size only, at least
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 11 lines · Liming Wang

Micron N25Q128 has two types of flash:

- One is for 1.8v supply voltage, prefixed with "n25q128a11" and the jedec code is 0x20bb18.

- Another is for 3v supply voltage, prefixed with "n25q128a13" and the jedec code is 0x20ba18.

So modify the original type info and add another type for Micron N25Q128.

Pushed to l2-mtd.git, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy