]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601 18694/head
authorAleksander Jan Bajkowski <olek2@wp.pl>
Mon, 27 Jan 2025 20:23:50 +0000 (21:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 8 May 2025 20:38:13 +0000 (22:38 +0200)
commita1da2f846540ef04bfd27029ffd3d6e7995414f4
treef9da073060200bf00dea7db813ec9868709b2656
parent7db0748b7ba3202d1700eb499f98e05db2b15e3f
mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601

Reduces boot time by 3s on a freshly installed image. This device
has a large flash and the gain can be higher with more packages
installed. According to the datasheet, this is the maximum frequency
supported by the Micron and Macronix chips that are installed in
these devices. Tested on three units over a two month period.

Before:
$ dd if=/dev/mtd5 of=/dev/null bs=10M count=1 status=progress
1+0 records in
1+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 1.51901 s, 6.9 MB/s

After:
$ dd if=/dev/mtd5 of=/dev/null bs=10M count=1 status=progress
1+0 records in
1+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.899474 s, 11.7 MB/s

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/18694
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi