mtd: add m25p80 id for mx25l2005a
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon May 28 07:59:09 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=bb08bc108628493fb45d02da81cd201b6a42391c
Commit: bb08bc108628493fb45d02da81cd201b6a42391c
Parent: 5ca11ca7ad950c60d4a30bbf9eb18555d537b226
Author: John Crispin <blogic at openwrt.org>
AuthorDate: Mon Apr 30 19:30:45 2012 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun May 13 23:15:57 2012 -0500
mtd: add m25p80 id for mx25l2005a
Add the id and sector mappings for mx25l2005a flash chips.
Signed-off-by: John Crispin <blogic at openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/devices/m25p80.c | 1 +
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) },
More information about the linux-mtd-cvs
mailing list