1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 05:23:09 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.35/090-mtd-m25p80-add-en25f32-chip-support.patch
juhosg 1c358226eb generic: add support for the EON EN25F32 flash chip
* based on a patch by laigor <laigor@mail.ru> from #7882

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-14 12:03:01 +00:00

13 lines
470 B
Diff

--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -648,7 +648,8 @@ static const struct spi_device_id m25p_i
{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
- /* EON -- en25pxx */
+ /* EON -- en25xxx */
+ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) },
{ "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },