summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiming Wang <walimisdev@gmail.com>2012-11-22 14:58:09 +0800
committerJavier Jardón <jjardon@gnome.org>2015-05-06 16:15:37 +0100
commit3dd2b66d7e41e2e0c42cd4e0d9e260569082462d (patch)
treea02299a1db5585cc11b64108ed3e40ea7ce5450b
parentfcb62d7f22d311e302a09d9d69d4a909ab93dcce (diff)
downloadlinux-stable-3dd2b66d7e41e2e0c42cd4e0d9e260569082462d.tar.gz
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> (cherry picked from commit 98a9e2450667e497246449f96eab06eb3fb4d24b)
-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 2bd7e095f7b9..abb536685134 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -666,7 +666,8 @@ static struct flash_info __devinitdata m25p_data [] = {
{ "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