projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: boost SPI flash read performance
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
dev-m25p80.c
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 9ac19d83aeb41b6c7b75db03e61f02a26215ee53..66115b1c480fd3729af84e4cf79f785057addf81 100644
(file)
--- 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);
}