ath79: enable m25p,fast-read for tplink,tl-wr2543-v1
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 28 Feb 2020 20:29:44 +0000 (17:29 -0300)
committerChuanhong Guo <gch981213@gmail.com>
Tue, 14 Apr 2020 02:47:23 +0000 (10:47 +0800)
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>
target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts

index e6ea8b68e2162be4c254707a629e78820a9a7076..e85ac8f5f8a59a3e81226e8179f96b117b8320ad 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
+               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";