Skip to contentSkip to conversation

m25p80: Add Micron n25q032a

PATCH Applied Ed Maste 3 participants 4 messages May 29, 2013 – Jun 4, 2013

lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 m25p80: Add Micron n25q032a

Based on the datasheet at
http://www.micron.com/~/media/Documents/Products/Data%20Sheet/NOR%20Flash/Serial%20NOR/N25Q/n25q_32mb_1_8v_65nm.pdf

---
 hw/block/m25p80.c | 1 +
 1 file changed, 1 insertion(+)
hw/block/m25p80.c +1 -0
index 759c84d..a927a6b 100644
@@ -123,6 +123,7 @@ static const FlashPartInfo known_devices[] = {
     { INFO("mx25l25655e", 0xc22619,      0,  64 << 10, 512, 0) },
 
     /* Micron */
+    { INFO("n25q032a",    0x20bb16,      0,  64 << 10,  64, ER_4K) },
     { INFO("n25q128a11",  0x20bb18,      0,  64 << 10, 256, 0) },
     { INFO("n25q128a13",  0x20ba18,      0,  64 << 10, 256, 0) },
     { INFO("n25q256a",    0x20ba19,      0,  64 << 10, 512, ER_4K) },
Signature · 1 line
1.7.11.5
#2 lore raw
In reply to Ed Maste

Hi Ed,

Quoted 13 lines · Ed Maste

Based on the datasheet at
http://www.micron.com/~/media/Documents/Products/Data%20Sheet/NOR%20Flash/Serial%20NOR/N25Q/n25q_32mb_1_8v_65nm.pdf

---
 hw/block/m25p80.c | 1 +
 1 file changed, 1 insertion(+)
hw/block/m25p80.c +0 -0
index 759c84d..a927a6b 100644

hw/block/m25p80.c static const FlashPartInfo known_devices[] = { · line 126

Quoted 4 lines
hw/block/m25p80.c +1 -0
@@ -123,6 +123,7 @@ static const FlashPartInfo known_devices[] = {
     { INFO("mx25l25655e", 0xc22619,      0,  64 << 10, 512, 0) },
 
     /* Micron */
+    { INFO("n25q032a",    0x20bb16,      0,  64 << 10,  64, ER_4K) },

Does this have a11 and a13 variants as well?

hw/block/m25p80.c static const FlashPartInfo known_devices[] = { · line 128

Quoted 2 lines
hw/block/m25p80.c +0 -0
     { INFO("n25q128a11",  0x20bb18,      0,  64 << 10, 256, 0) },
     { INFO("n25q128a13",  0x20ba18,      0,  64 << 10, 256, 0) },

And this looks odd, these parts don't support 4K erase as well?

Regards,
Peter

Quoted 5 lines
hw/block/m25p80.c +0 -1
     { INFO("n25q256a",    0x20ba19,      0,  64 << 10, 512, ER_4K) },
--

1.7.11.5

author
#3 lore raw
Quoted 9 lines · Peter Crosthwaite
Quoted 2 lines
     /* Micron */

+ { INFO("n25q032a", 0x20bb16, 0, 64 << 10, 64, ER_4K) },

Does this have a11 and a13 variants as well?

Quoted 2 lines
     { INFO("n25q128a11",  0x20bb18,      0,  64 << 10, 256, 0) },
     { INFO("n25q128a13",  0x20ba18,      0,  64 << 10, 256, 0) },

And this looks odd, these parts don't support 4K erase as well?

You're correct on both counts - I originally added the n25q032a based on the n25q256a entry, then sync'd the list with the one from the Linux kernel, and it's missing the 4K sector erase flag. I'll send a followup patch to update all of the Micron entries.