ar71xx: enable fast flash read on dual-flash devices
authorGabor Juhos <juhosg@openwrt.org>
Tue, 29 Jan 2013 19:12:25 +0000 (19:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 29 Jan 2013 19:12:25 +0000 (19:12 +0000)
commitdf15e5cd6196d2cb2b6bc12562fd8a5d8eff226e
tree6cea6afced79b248f7bbab6ddeeb8d726b9f6ada
parent562ba537fcd0b210f32a14a05f0cc08ca6b86d55
ar71xx: enable fast flash read on dual-flash devices

This improves flash read speed on various Buffalo units.

mtd_speedtest results on the WZR-HP-AG300H:

                          old         new        delta
eraseblock read speed:  726 KiB/s   2068 KiB/s   +184.85%
page read speed:        699 KiB/s   1973 KiB/s   +182.26%
2 page read speed:      711 KiB/s   2043 KiB/s   +187.34%

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35392
target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c