* [resend] [PATCH] mtd: m25p80: modify info for Micron N25Q128
@ 2012-11-22 6:58 Liming Wang
2012-11-22 11:58 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Liming Wang @ 2012-11-22 6:58 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: linux-mtd, Jan Luebbe
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.
Signed-off-by: Liming Wang <walimisdev@gmail.com>
---
drivers/mtd/devices/m25p80.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 03838ba..9945a2a 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [resend] [PATCH] mtd: m25p80: modify info for Micron N25Q128
2012-11-22 6:58 [resend] [PATCH] mtd: m25p80: modify info for Micron N25Q128 Liming Wang
@ 2012-11-22 11:58 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2012-11-22 11:58 UTC (permalink / raw)
To: Liming Wang; +Cc: linux-mtd, Jan Luebbe
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
On Thu, 2012-11-22 at 14:58 +0800, Liming Wang wrote:
> 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.
>
> Signed-off-by: Liming Wang <walimisdev@gmail.com>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-22 11:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 6:58 [resend] [PATCH] mtd: m25p80: modify info for Micron N25Q128 Liming Wang
2012-11-22 11:58 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox