2012-08-14 19:32:13

by Vivien Didelot

[permalink] [raw]
Subject: [PATCH] mtd: m25p80: add support for Micron N25Q256A

The manufacturer datasheet can be found on the Micron website,
under the name n25q_256mb_3v_65nm.pdf:

http://www.micron.com/search?source=ps&q=n25q_256mb_3v_65nm

Signed-off-by: Vivien Didelot <[email protected]>
---
drivers/mtd/devices/m25p80.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 9f9982f..0a23f23 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -686,6 +686,9 @@ static const struct spi_device_id m25p_ids[] = {
{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, 0) },
{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },

+ /* Micron */
+ { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
+
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
*/
--
1.7.11.2


2012-08-24 11:59:43

by Artem Bityutskiy

[permalink] [raw]
Subject: Re: [PATCH] mtd: m25p80: add support for Micron N25Q256A

On Tue, 2012-08-14 at 15:24 -0400, Vivien Didelot wrote:
> The manufacturer datasheet can be found on the Micron website,
> under the name n25q_256mb_3v_65nm.pdf:
>
> http://www.micron.com/search?source=ps&q=n25q_256mb_3v_65nm
>
> Signed-off-by: Vivien Didelot <[email protected]>

Pushed to l2-mtd.git, thanks!

--
Best Regards,
Artem Bityutskiy


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part