diff mbox

mtd m25p80: add support for Macronix MX25L12805D

Message ID 20090520110711.GA5712@mail.wantstofly.org
State Accepted
Commit ab1ff210a86ae4ab5990b7bd2dc69fafbfa2355a
Headers show

Commit Message

Lennert Buytenhek May 20, 2009, 11:07 a.m. UTC
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>

Comments

Artem Bityutskiy May 23, 2009, 9:02 a.m. UTC | #1
On Wed, 2009-05-20 at 13:07 +0200, Lennert Buytenhek wrote:
> Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
> 
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 8185b1f..ce116e1 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -498,6 +498,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, 0, 64 * 1024, 256, },

I've taken your patch to l2-mtd-2.6.git.
diff mbox

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 8185b1f..ce116e1 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -498,6 +498,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, 0, 64 * 1024, 256, },
+
 	/* Spansion -- single (large) sector size only, at least
 	 * for the chips listed here (without boot sectors).
 	 */