summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/916-m25p80-fast-read.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-11 08:19:53 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-11 08:19:53 +0000
commita4ba8220f531577a0bdc6d9466a16af74f8b98af (patch)
tree17f84cf0fc394882ad133724440e4fb373714710 /target/linux/lantiq/patches/916-m25p80-fast-read.patch
parenta42e50cceaf2cc8997cfb6870ae1ab70f3f1abe1 (diff)
[lantiq]
* update kernel to .37 * add support for falcon (big thank you goes to lantiq !!) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches/916-m25p80-fast-read.patch')
-rw-r--r--target/linux/lantiq/patches/916-m25p80-fast-read.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches/916-m25p80-fast-read.patch b/target/linux/lantiq/patches/916-m25p80-fast-read.patch
new file mode 100644
index 000000000..3bbe57f25
--- /dev/null
+++ b/target/linux/lantiq/patches/916-m25p80-fast-read.patch
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -206,6 +206,7 @@ static void m25p_addr2cmd(struct m25p *f
+ cmd[1] = addr >> (flash->addr_width * 8 - 8);
+ cmd[2] = addr >> (flash->addr_width * 8 - 16);
+ cmd[3] = addr >> (flash->addr_width * 8 - 24);
++ cmd[4] = 0;
+ }
+
+ static int m25p_cmdsz(struct m25p *flash)