Patchwork mtd: m25p80: add support for 3 Macronix flash chips

login
register
mail settings
Submitter Nicolas Pitre
Date Aug. 5, 2009, 11:16 p.m.
Message ID <alpine.LFD.2.00.0908051913310.16073@xanadu.home>
Download mbox | patch
Permalink /patch/30812/
State New
Headers show

Comments

Nicolas Pitre - Aug. 5, 2009, 11:16 p.m.
From: Siddarth Gore <gores@marvell.com>
Date: Tue, 4 Aug 2009 08:42:08 +0530

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

Patch

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).