m25p80: Add Micron n25q032a
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
@@ -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
Michael Tokarev
AppliedQuoted 2 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
Thanks, applied to the trivial patches queue.
/mjt
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.pdfSigned-off-by Ed Maste <[email protected]>--- hw/block/m25p80.c | 1 + 1 file changed, 1 insertion(+)hw/block/m25p80.c +0
-0
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
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.