diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-04-11 17:37:13 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-04-11 17:37:13 +0000 |
commit | 08862255f86f77253fe210afb0646b131754c9dc (patch) | |
tree | 6a9832a5428bb1f04c0983b4905a9774a899865e /target/linux | |
parent | 6f6bb8acd16a8a38b56151b7dfc5a814c8ae7bce (diff) | |
download | master-187ad058-08862255f86f77253fe210afb0646b131754c9dc.tar.gz master-187ad058-08862255f86f77253fe210afb0646b131754c9dc.tar.bz2 master-187ad058-08862255f86f77253fe210afb0646b131754c9dc.zip |
generic: add support for the MX25L1606E SPI flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26596 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/patches-2.6.37/091-mtd-m25p80-add-MX25L1606E-support.patch | 20 | ||||
-rw-r--r-- | target/linux/generic/patches-2.6.38/091-mtd-m25p80-add-MX25L1606E-support.patch | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/091-mtd-m25p80-add-MX25L1606E-support.patch b/target/linux/generic/patches-2.6.37/091-mtd-m25p80-add-MX25L1606E-support.patch new file mode 100644 index 0000000000..a8f4bf167b --- /dev/null +++ b/target/linux/generic/patches-2.6.37/091-mtd-m25p80-add-MX25L1606E-support.patch @@ -0,0 +1,20 @@ +From da9c4c174ad5086e5ccff23a5ffd1f9750b77c85 Mon Sep 17 00:00:00 2001 +From: Gabor Juhos <juhosg@openwrt.org> +Date: Thu, 24 Mar 2011 21:43:48 +0100 +Subject: [PATCH] mtd: m25p80: add support for the MX25L1606E chip + +Signed-off-by: Gabor Juhos <juhosg@openwrt.org> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -652,6 +652,7 @@ static const struct spi_device_id m25p_i + /* Macronix */ + { "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) }, + { "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) }, ++ { "mx25l1606e", INFO(0xc22015, 0, 64 * 1024, 32, SECT_4K) }, + { "mx25l3205d", INFO(0xc22016, 0, 64 * 1024, 64, 0) }, + { "mx25l6405d", INFO(0xc22017, 0, 64 * 1024, 128, 0) }, + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, diff --git a/target/linux/generic/patches-2.6.38/091-mtd-m25p80-add-MX25L1606E-support.patch b/target/linux/generic/patches-2.6.38/091-mtd-m25p80-add-MX25L1606E-support.patch new file mode 100644 index 0000000000..b5937a3557 --- /dev/null +++ b/target/linux/generic/patches-2.6.38/091-mtd-m25p80-add-MX25L1606E-support.patch @@ -0,0 +1,20 @@ +From da9c4c174ad5086e5ccff23a5ffd1f9750b77c85 Mon Sep 17 00:00:00 2001 +From: Gabor Juhos <juhosg@openwrt.org> +Date: Thu, 24 Mar 2011 21:43:48 +0100 +Subject: [PATCH] mtd: m25p80: add support for the MX25L1606E chip + +Signed-off-by: Gabor Juhos <juhosg@openwrt.org> +--- + drivers/mtd/devices/m25p80.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -670,6 +670,7 @@ static const struct spi_device_id m25p_i + /* Macronix */ + { "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) }, + { "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) }, ++ { "mx25l1606e", INFO(0xc22015, 0, 64 * 1024, 32, SECT_4K) }, + { "mx25l3205d", INFO(0xc22016, 0, 64 * 1024, 64, 0) }, + { "mx25l6405d", INFO(0xc22017, 0, 64 * 1024, 128, 0) }, + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, |