Patchwork [MTD] m25p80: add support for Macronix MX25L12805D

login
register
mail settings
Submitter Nicolas Pitre
Date Dec. 4, 2008, 4:06 a.m.
Message ID <alpine.LFD.2.00.0812032302430.14328@xanadu.home>
Download mbox | patch
Permalink /patch/12180/
State Superseded
Headers show

Comments

Nicolas Pitre - Dec. 4, 2008, 4:06 a.m.
From: Lennert Buytenhek <buytenh@marvell.com>

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
---
Nicolas Pitre - Dec. 4, 2008, 3:01 p.m.
On Wed, 3 Dec 2008, Nicolas Pitre wrote:

> From: Lennert Buytenhek <buytenh@marvell.com>
> 
> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
> Signed-off-by: Nicolas Pitre <nico@marvell.com>
> ---

Please scrap that -- the patch is missing an extra parameter.


Nicolas

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 76a7675..9e23588 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -500,6 +500,9 @@  static struct flash_info __devinitdata m25p_data [] = {
 	{ "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, },
 	{ "at26df321",  0x1f4701, 0, 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).
 	 */