aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2020-02-28 17:29:44 -0300
committerChuanhong Guo <gch981213@gmail.com>2020-04-14 10:47:23 +0800
commite430dfdd690785713a6a41f1242c9e7b31f7ba48 (patch)
treebe390fc99096e7161f23a66e68c4779c7fdd0475 /target
parentb3f984233078fcafd236bba4f94a938ab05ebfa2 (diff)
downloadupstream-e430dfdd690785713a6a41f1242c9e7b31f7ba48.tar.gz
upstream-e430dfdd690785713a6a41f1242c9e7b31f7ba48.tar.bz2
upstream-e430dfdd690785713a6a41f1242c9e7b31f7ba48.zip
ath79: enable m25p,fast-read for tplink,tl-wr2543-v1
Enables spi-mem interface usage. It speeds up flash read in about 3x while it also workaround a possible hardware bug when normal spi read is used. Fixes: FS#2742 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
index e6ea8b68e2..e85ac8f5f8 100644
--- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
+++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
@@ -109,6 +109,7 @@
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
+ m25p,fast-read;
partitions {
compatible = "fixed-partitions";