aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-11-14 21:55:25 +0100
committerJohn Crispin <john@phrozen.org>2016-11-16 11:01:18 +0100
commit0d760bfba8da81c508ec1cec679c85278820bba7 (patch)
tree0335974448a5be148807c95b284ace595897b683 /target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c
parent5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0 (diff)
downloadupstream-0d760bfba8da81c508ec1cec679c85278820bba7.tar.gz
upstream-0d760bfba8da81c508ec1cec679c85278820bba7.tar.bz2
upstream-0d760bfba8da81c508ec1cec679c85278820bba7.zip
ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partition
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c
index acdd7c3bb9..0a1e6b4d91 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c
@@ -40,8 +40,14 @@
#define TL_WPA8630_WMAC_CALDATA_OFFSET 0x1000
#define TL_WPA8630_PCI_CALDATA_OFFSET 0x5000
+static const char *tl_wpa8630_part_probes[] = {
+ "tp-link-64k",
+ NULL,
+};
+
static struct flash_platform_data tl_wpa8630_flash_data = {
- .type = "s25fl064k",
+ .part_probes = tl_wpa8630_part_probes,
+ .type = "s25fl064k",
};
static struct gpio_led tl_wpa8630_leds_gpio[] __initdata = {