aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-06 17:59:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-06 17:59:16 +0000
commitf009657097c254c3b408c0e48c3c05079e9f7b85 (patch)
tree235c0b4ec9c384b84cf24677fbba51db4cca96b5 /target
parentcee7d63baad768db629f9392e53d71ef361baed2 (diff)
downloadupstream-f009657097c254c3b408c0e48c3c05079e9f7b85.tar.gz
upstream-f009657097c254c3b408c0e48c3c05079e9f7b85.tar.bz2
upstream-f009657097c254c3b408c0e48c3c05079e9f7b85.zip
ar71xx: add support for the Winbond W25Q32BV SPI flash (based on the
patch from #6641) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
new file mode 100644
index 0000000000..0e4c060db7
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -692,6 +692,7 @@ static struct flash_info __devinitdata m
+ { "w25x80", 0xef3014, 0, 64 * 1024, 16, SECT_4K, },
+ { "w25x16", 0xef3015, 0, 64 * 1024, 32, SECT_4K, },
+ { "w25x32", 0xef3016, 0, 64 * 1024, 64, SECT_4K, },
++ { "w25q32", 0xef4016, 0, 64 * 1024, 64, SECT_4K, },
+ { "w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K, },
+ };
+