aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorLiming Wang <walimisdev@gmail.com>2012-11-22 01:58:09 -0500
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-12-03 09:36:51 -0500
commit98a9e2450667e497246449f96eab06eb3fb4d24b (patch)
tree8318202e3c0916bb8449aee35ca63800caeda1ff /drivers/mtd/devices
parentd1f3b65d2d6fdb4bf0edd4b67e86e191af48daee (diff)
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. Signed-off-by: Liming Wang <walimisdev@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/m25p80.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index f402b67a5314..4eeeb2d7f6ea 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -661,7 +661,8 @@ static const struct spi_device_id m25p_ids[] = {
661 { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, 661 { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
662 662
663 /* Micron */ 663 /* Micron */
664 { "n25q128", INFO(0x20ba18, 0, 64 * 1024, 256, 0) }, 664 { "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
665 { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
665 { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) }, 666 { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
666 667
667 /* Spansion -- single (large) sector size only, at least 668 /* Spansion -- single (large) sector size only, at least