diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:38:17 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:38:17 +0000 |
commit | b77217d9638e50c95e322a1b188e2e9df7782853 (patch) | |
tree | 8274ccf3844a3b37d673db566c8a6576216c5796 /target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c | |
parent | 102c6df148ee4b5df368c32e282e31f37f26363f (diff) | |
download | mtk-20170518-b77217d9638e50c95e322a1b188e2e9df7782853.zip mtk-20170518-b77217d9638e50c95e322a1b188e2e9df7782853.tar.gz mtk-20170518-b77217d9638e50c95e322a1b188e2e9df7782853.tar.bz2 |
ar71xx: boost SPI flash read performance
mtd_speedtest results:
page read speed
old new delta
DB120 929 KiB/s 2597 KiB/s +179.55%
TL-WR1043ND v1 754 KiB/s 2166 KiB/s +187.27%
TL-WR703N v1 745 KiB/s 2176 KiB/s +192.08%
TL-MR3220 v1 752 KiB/s 2154 KiB/s +186.44%
TL-WR2543ND v1 564 KiB/s 2130 KiB/s +277.66%
TL-WR741ND v2 525 KiB/s 1767 KiB/s +236.57%
ALFA-AP96 702 KiB/s 1977 KiB/s +181.62%
WNDR3700 697 KiB/s 1965 KiB/s +181.92%
SVN-Revision: 31118
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c index 9ac19d8..66115b1 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c @@ -51,6 +51,7 @@ void __init ath79_register_m25p80(struct flash_platform_data *pdata) { ath79_spi_data.bus_num = 0; ath79_spi_data.num_chipselect = 1; + ath79_spi0_cdata.is_flash = true; ath79_spi_info[0].platform_data = pdata; ath79_register_spi(&ath79_spi_data, ath79_spi_info, 1); } |