linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] MTD: add m25p80 id for mx25l2005a
@ 2012-04-30 17:30 John Crispin
  2012-04-30 17:30 ` [PATCH 2/4] OF: MTD: make plat_nand loadable from DT John Crispin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Crispin @ 2012-04-30 17:30 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-mtd, John Crispin

Add the id and sector mappings for mx25l2005a flash chips.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mtd@lists.infradead.org
---
 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 1924d24..fcd52ef 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -645,6 +645,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) },
-- 
1.7.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-02 14:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 17:30 [PATCH 1/4] MTD: add m25p80 id for mx25l2005a John Crispin
2012-04-30 17:30 ` [PATCH 2/4] OF: MTD: make plat_nand loadable from DT John Crispin
2012-04-30 17:30 ` [PATCH 3/4] MTD: add read_byte support to plat_nand John Crispin
2012-04-30 17:30 ` [PATCH 4/4] MTD: MIPS: lantiq: add xway nand support John Crispin
2012-05-02 14:06 ` [PATCH 1/4] MTD: add m25p80 id for mx25l2005a Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).