tn3399_openwrt/target
Aleksander Jan Bajkowski 37df722266 ath79: increase spi frequency on TL-WDR3500/3600/4300/4310
SPI Flash chip supports up to 33 MHz wihout fast read opcode.
Available frequencies are 112.5, 56.25, 37.5, 28.125, 22.5 etc.
This patch increases the nominal maximum frequency to 33 MHz,
reaching an effective increase from 22.5 to 28.125 MHz.

Formula to calculate SPI frequency:
Freq = 225 MHz / 2 / div

Before:

$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real	0m 3.58s
user	0m 0.00s
sys	0m 3.57s

After:

$ time dd if=/dev/mtd1 of=/dev/null bs=8M
0+1 records in
0+1 records out
real	0m 2.95s
user	0m 0.00s
sys	0m 2.93s

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-10 12:43:37 +02:00
..
imagebuilder imagebuilder: Remove json_info_files/ before build 2020-06-11 11:12:56 +01:00
linux ath79: increase spi frequency on TL-WDR3500/3600/4300/4310 2020-08-10 12:43:37 +02:00
sdk build: improve ccache support 2020-07-11 15:19:53 +02:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define RTC_SUPPORT as a bool 2020-04-09 12:51:10 +02:00
Makefile