generic: add support for the MX25L1606E SPI flash
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.37 / 091-mtd-m25p80-add-MX25L1606E-support.patch
1 From da9c4c174ad5086e5ccff23a5ffd1f9750b77c85 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Thu, 24 Mar 2011 21:43:48 +0100
4 Subject: [PATCH] mtd: m25p80: add support for the MX25L1606E chip
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 ---
8 drivers/mtd/devices/m25p80.c | 1 +
9 1 files changed, 1 insertions(+), 0 deletions(-)
10
11 --- a/drivers/mtd/devices/m25p80.c
12 +++ b/drivers/mtd/devices/m25p80.c
13 @@ -652,6 +652,7 @@ static const struct spi_device_id m25p_i
14 /* Macronix */
15 { "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) },
16 { "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) },
17 + { "mx25l1606e", INFO(0xc22015, 0, 64 * 1024, 32, SECT_4K) },
18 { "mx25l3205d", INFO(0xc22016, 0, 64 * 1024, 64, 0) },
19 { "mx25l6405d", INFO(0xc22017, 0, 64 * 1024, 128, 0) },
20 { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },