projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: enable fast flash read on dual-flash devices
[15.05/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
66115b1
..
9323b31
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c
@@
-113,5
+113,6
@@
void __init ath79_register_m25p80_multi(struct flash_platform_data *pdata)
add_mtd_concat_notifier();
ath79_spi_data.bus_num = 0;
ath79_spi_data.num_chipselect = 2;
+ ath79_spi0_cdata.is_flash = true;
ath79_register_spi(&ath79_spi_data, ath79_spi_info, 2);
}