projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add v4.14 support
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-tl-wpa8630.c
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 acdd7c3bb9dd910e3ab22cfc6e3083a399da09ca..a95a11c122781604976690a1293c1bd3d95de032 100644
(file)
--- 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
#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 = {
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 = {
};
static struct gpio_led tl_wpa8630_leds_gpio[] __initdata = {
@@
-122,7
+128,7
@@
static struct ar8327_platform_data tl_wpa8630_qca8337_data = {
static struct mdio_board_info tl_wpa8630_mdio0_info[] = {
{
.bus_id = "ag71xx-mdio.0",
static struct mdio_board_info tl_wpa8630_mdio0_info[] = {
{
.bus_id = "ag71xx-mdio.0",
- .
phy
_addr = 0,
+ .
mdio
_addr = 0,
.platform_data = &tl_wpa8630_qca8337_data,
},
};
.platform_data = &tl_wpa8630_qca8337_data,
},
};
@@
-162,5
+168,5
@@
static void __init tl_wpa8630_setup(void)
tl_wpa8630_gpio_keys);
}
tl_wpa8630_gpio_keys);
}
-MIPS_MACHINE(ATH79_MACH_TL_WPA8630, "TL-WPA8630", "TP-L
ink
TL-WPA8630",
+MIPS_MACHINE(ATH79_MACH_TL_WPA8630, "TL-WPA8630", "TP-L
INK
TL-WPA8630",
tl_wpa8630_setup);
tl_wpa8630_setup);