Patchwork mtd m25p80: add support for Macronix MX25L12805D

login
register
mail settings
Submitter Lennert Buytenhek
Date Oct. 19, 2008, 9:36 p.m.
Message ID <20081019213646.GI4129@xi.wantstofly.org>
Download mbox | patch
Permalink /patch/5038/
State Superseded
Headers show

Comments

Lennert Buytenhek - Oct. 19, 2008, 9:36 p.m.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Lennert Buytenhek - Oct. 19, 2008, 10:18 p.m.
On Sun, Oct 19, 2008 at 11:36:46PM +0200, Lennert Buytenhek wrote:

> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

Whoops, please ignore this one.

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index b35c333..299047e 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -467,6 +467,9 @@  static struct flash_info __devinitdata m25p_data [] = {
 	{ "at26df161a", 0x1f4601, 64 * 1024, 32, SECT_4K, },
 	{ "at26df321",  0x1f4701, 64 * 1024, 64, SECT_4K, },
 
+	/* Macronix */
+	{ "mx25l12805d", 0xc22018, 64 * 1024, 256, SECT_4K, },
+
 	/* Spansion -- single (large) sector size only, at least
 	 * for the chips listed here (without boot sectors).
 	 */