diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-26 09:27:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-26 09:27:56 +0000 |
commit | d0cb8a4508e3fce98dd1ee3534e9718045b50a6b (patch) | |
tree | 5d09265c4bdec7af19887f27a8189be97e1bb3e7 /target | |
parent | f70db0dfefd29c6a4d44a9ca937649b5da1eca79 (diff) | |
download | master-187ad058-d0cb8a4508e3fce98dd1ee3534e9718045b50a6b.tar.gz master-187ad058-d0cb8a4508e3fce98dd1ee3534e9718045b50a6b.tar.bz2 master-187ad058-d0cb8a4508e3fce98dd1ee3534e9718045b50a6b.zip |
generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/patches-3.3/477-mtd-m25p80-add-support-for-the-EON-EN25Q64-chip.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.3/477-mtd-m25p80-add-support-for-the-EON-EN25Q64-chip.patch b/target/linux/generic/patches-3.3/477-mtd-m25p80-add-support-for-the-EON-EN25Q64-chip.patch new file mode 100644 index 0000000000..439cbde163 --- /dev/null +++ b/target/linux/generic/patches-3.3/477-mtd-m25p80-add-support-for-the-EON-EN25Q64-chip.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -677,6 +677,7 @@ static const struct spi_device_id m25p_i + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, ++ { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, + + /* Intel/Numonyx -- xxxs33b */ + { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, |