forked from mirror/openwrt
mediatek: filogic: increase flash speed on Netcore N60 Pro
This commit increases the SPI bus frequency from 20 to 52 MHz. Reduces boot time by 2s. Below is a performance comparison. spi-max-frequency = <20000000> > time dd if=/dev/mtd4 of=/dev/null bs=10M count=1 > 1+0 records in > 1+0 records out > real 0m 1.86s > user 0m 0.00s > sys 0m 0.28s spi-max-frequency = <52000000> > time dd if=/dev/mtd4 of=/dev/null bs=10M count=1 > 1+0 records in > 1+0 records out > real 0m 1.04s > user 0m 0.00s > sys 0m 0.27s Signed-off-by: st7105 <st7105@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21802 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
78a0ef2389
commit
e94d4f2022
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@
|
|||
compatible = "spi-nand";
|
||||
reg = <0>;
|
||||
|
||||
spi-max-frequency = <20000000>;
|
||||
spi-max-frequency = <52000000>;
|
||||
spi-tx-bus-width = <4>;
|
||||
spi-rx-bus-width = <4>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue