summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorVivien Didelot2012-08-14 21:24:07 +0200
committerDavid Woodhouse2012-09-29 16:00:28 +0200
commit8da28681eb1430fb6715c7aef67001acfbbbcba5 (patch)
tree1c5e7d695b162a727a3dea6288bef6d9e77f6435 /drivers/mtd/devices
parentmtd: maps: pci: remove dead code (diff)
downloadkernel-qcow2-linux-8da28681eb1430fb6715c7aef67001acfbbbcba5.tar.gz
kernel-qcow2-linux-8da28681eb1430fb6715c7aef67001acfbbbcba5.tar.xz
kernel-qcow2-linux-8da28681eb1430fb6715c7aef67001acfbbbcba5.zip
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 <vivien.didelot@savoirfairelinux.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/m25p80.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index d16f75ce16e9..980cd6dac5d7 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -662,6 +662,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).
*/