1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 12:25:20 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.34/087-mtd-m25p80-add-w25q32-chip-support.patch
juhosg 2bbe78f8f6 generic: fix erase operation on the pm25lv flash chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:06:38 +00:00

11 lines
482 B
Diff

--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -709,6 +709,7 @@ static const struct spi_device_id m25p_i
{ "w25x80", INFO(0xef3014, 0, 64 * 1024, 16, SECT_4K) },
{ "w25x16", INFO(0xef3015, 0, 64 * 1024, 32, SECT_4K) },
{ "w25x32", INFO(0xef3016, 0, 64 * 1024, 64, SECT_4K) },
+ { "w25q32", INFO(0xef4016, 0, 64 * 1024, 64, SECT_4K) },
{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
/* Catalyst / On Semiconductor -- non-JEDEC */