fdbaf74d08849f9b30273f54db4d7b257fa15f95
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.3 / 0001-MTD-add-m25p80-id-for-mx25l2005a.patch
1 From 1e54b748744aa6a6dbb86cdbdb9ea775609da7e1 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 13 Mar 2012 18:03:33 +0100
4 Subject: [PATCH 01/70] MTD: add m25p80 id for mx25l2005a
5
6 ---
7 drivers/mtd/devices/m25p80.c | 1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10 diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
11 index 7c60ddd..64b3b99 100644
12 --- a/drivers/mtd/devices/m25p80.c
13 +++ b/drivers/mtd/devices/m25p80.c
14 @@ -676,6 +676,7 @@ static const struct spi_device_id m25p_ids[] = {
15 { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
16
17 /* Macronix */
18 + { "mx25l2005a", INFO(0xc22012, 0, 64 * 1024, 8, SECT_4K) },
19 { "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) },
20 { "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) },
21 { "mx25l1606e", INFO(0xc22015, 0, 64 * 1024, 32, SECT_4K) },
22 --
23 1.7.9.1
24