[PATCH] mtd: m25p80: add support for 3 Macronix flash chips

Nicolas Pitre nico at cam.org
Wed Aug 5 19:16:54 EDT 2009


From: Siddarth Gore <gores at marvell.com>
Date: Tue, 4 Aug 2009 08:42:08 +0530

Signed-off-by: Siddarth Gore <gores at marvell.com>
Signed-off-by: Nicolas Pitre <nico at marvell.com>
---
 drivers/mtd/devices/m25p80.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index ae5fe91..2bcdd83 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -501,7 +501,10 @@ static struct flash_info __devinitdata m25p_data [] = {
 	{ "at26df321",  0x1f4701, 0, 64 * 1024, 64, SECT_4K, },
 
 	/* Macronix */
+	{ "mx25l3205d", 0xc22016, 0, 64 * 1024, 64, },
+	{ "mx25l6405d", 0xc22017, 0, 64 * 1024, 128, },
 	{ "mx25l12805d", 0xc22018, 0, 64 * 1024, 256, },
+	{ "mx25l12855e", 0xc22618, 0, 64 * 1024, 256, },
 
 	/* Spansion -- single (large) sector size only, at least
 	 * for the chips listed here (without boot sectors).




More information about the linux-mtd mailing list