aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-05-03 09:03:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-05-03 09:03:14 +0000
commitc70f0ec79b67c7e239cfa761db728342c7a24a47 (patch)
tree033cc9fc480a4dbda18501ba3d132cba85af77fe /target/linux
parenta0744253b62aa617a5691812570008f5aaa5797b (diff)
downloadmaster-187ad058-c70f0ec79b67c7e239cfa761db728342c7a24a47.tar.gz
master-187ad058-c70f0ec79b67c7e239cfa761db728342c7a24a47.tar.bz2
master-187ad058-c70f0ec79b67c7e239cfa761db728342c7a24a47.zip
[kernel] use AMD standard command-set with winbond flash chips (#6966), patch from obinou
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21333 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch12
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch12
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch12
3 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch
new file mode 100644
index 0000000000..d4e42b0aa2
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c
+===================================================================
+--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200
++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200
+@@ -249,6 +249,7 @@
+ #endif
+ #ifdef CONFIG_MTD_CFI_AMDSTD
+ case 0x0002:
++ case 0x0006:
+ return cfi_cmdset_0002(map, primary);
+ #endif
+ #ifdef CONFIG_MTD_CFI_STAA
diff --git a/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch
new file mode 100644
index 0000000000..d4e42b0aa2
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c
+===================================================================
+--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200
++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200
+@@ -249,6 +249,7 @@
+ #endif
+ #ifdef CONFIG_MTD_CFI_AMDSTD
+ case 0x0002:
++ case 0x0006:
+ return cfi_cmdset_0002(map, primary);
+ #endif
+ #ifdef CONFIG_MTD_CFI_STAA
diff --git a/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch
new file mode 100644
index 0000000000..d4e42b0aa2
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c
+===================================================================
+--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200
++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200
+@@ -249,6 +249,7 @@
+ #endif
+ #ifdef CONFIG_MTD_CFI_AMDSTD
+ case 0x0002:
++ case 0x0006:
+ return cfi_cmdset_0002(map, primary);
+ #endif
+ #ifdef CONFIG_MTD_CFI_STAA