summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-04-30 19:30:45 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-05-13 23:15:57 -0500
commitbb08bc108628493fb45d02da81cd201b6a42391c (patch)
tree071f4dd77d3c74ac28f6573b39dff26a09c7467e /drivers/mtd
parent5ca11ca7ad950c60d4a30bbf9eb18555d537b226 (diff)
downloadop-kernel-dev-bb08bc108628493fb45d02da81cd201b6a42391c.zip
op-kernel-dev-bb08bc108628493fb45d02da81cd201b6a42391c.tar.gz
mtd: add m25p80 id for mx25l2005a
Add the id and sector mappings for mx25l2005a flash chips. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/m25p80.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 85ce6fd..eb1cc97 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -648,6 +648,7 @@ static const struct spi_device_id m25p_ids[] = {
{ "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
/* Macronix */
+ { "mx25l2005a", INFO(0xc22012, 0, 64 * 1024, 4, SECT_4K) },
{ "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) },
{ "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) },
{ "mx25l1606e", INFO(0xc22015, 0, 64 * 1024, 32, SECT_4K) },
OpenPOWER on IntegriCloud