<div dir="ltr">Oh, that's a mistake.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-15 4:03 GMT+08:00 John Crispin <span dir="ltr"><<a href="mailto:blogic@openwrt.org" target="_blank">blogic@openwrt.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 09/09/2015 16:56, Weijie Gao wrote:<br>
> Signed-off-by: Weijie Gao <<a href="mailto:hackpascal@gmail.com">hackpascal@gmail.com</a>><br>
<br>
this line should be the last line and not the first, i manually fixed<br>
this during the merge<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> This patch adds support for TP-LINK TL-WDR3320 v2.<br>
><br>
> This router uses a chinese version 2 firmware header,.<br>
> ---<br>
> target/linux/ar71xx/base-files/etc/diag.sh | 1 +<br>
> .../ar71xx/base-files/etc/uci-defaults/01_leds | 4 +<br>
> .../ar71xx/base-files/etc/uci-defaults/02_network | 1 +<br>
> target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 +<br>
> .../ar71xx/base-files/lib/upgrade/platform.sh | 1 +<br>
> target/linux/ar71xx/config-4.1 | 1 +<br>
> .../files/arch/mips/ath79/mach-tl-wdr3320-v2.c | 146 +++++++++++++++++++++<br>
> target/linux/ar71xx/generic/profiles/<a href="http://tp-link.mk" rel="noreferrer" target="_blank">tp-link.mk</a> | 11 ++<br>
> target/linux/ar71xx/image/Makefile | 46 ++++++-<br>
> .../816-MIPS-ath79-add-tl-wdr3320-v2-support.patch | 40 ++++++<br>
> 10 files changed, 256 insertions(+), 1 deletion(-)<br>
> create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3320-v2.c<br>
> create mode 100644 target/linux/ar71xx/patches-4.1/816-MIPS-ath79-add-tl-wdr3320-v2-support.patch<br>
><br>
> diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh<br>
> index 36de775..0dcc844 100644<br>
> --- a/target/linux/ar71xx/base-files/etc/diag.sh<br>
> +++ b/target/linux/ar71xx/base-files/etc/diag.sh<br>
> @@ -256,6 +256,7 @@ get_status_led() {<br>
> tl-wa901nd | \<br>
> tl-wa901nd-v2 | \<br>
> tl-wa901nd-v3 | \<br>
> + tl-wdr3320-v2 | \<br>
> tl-wdr3500 | \<br>
> tl-wr1041n-v2 | \<br>
> tl-wr1043nd | \<br>
> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds<br>
> index e7f7a4c..4dafc1e 100644<br>
> --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds<br>
> +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds<br>
> @@ -425,6 +425,10 @@ tl-wa901nd-v2)<br>
> ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"<br>
> ;;<br>
><br>
> +tl-wdr3320-v2)<br>
> + ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:green:wlan5g" "phy0tpt"<br>
> + ;;<br>
> +<br>
> tl-wdr3500)<br>
> ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"<br>
> ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"<br>
> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network<br>
> index 686fce9..37d5a63 100644<br>
> --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network<br>
> +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network<br>
> @@ -435,6 +435,7 @@ tew-712br |\<br>
> tl-mr3220 |\<br>
> tl-mr3220-v2 |\<br>
> tl-mr3420 |\<br>
> +tl-wdr3320-v2 |\<br>
> tl-wdr3500 |\<br>
> tl-wr741nd |\<br>
> tl-wr741nd-v4 |\<br>
> diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh<br>
> index e1f345e..c5440f9 100755<br>
> --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh<br>
> +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh<br>
> @@ -221,6 +221,9 @@ tplink_board_detect() {<br>
> "342000"*)<br>
> model="TP-Link TL-MR3420"<br>
> ;;<br>
> + "332000"*)<br>
> + model="TP-Link TL-WDR3320"<br>
> + ;;<br>
> "350000"*)<br>
> model="TP-Link TL-WDR3500"<br>
> ;;<br>
> @@ -763,6 +766,9 @@ ar71xx_board_detect() {<br>
> *"TL-WA901ND v3")<br>
> name="tl-wa901nd-v3"<br>
> ;;<br>
> + *"TL-WDR3320 v2")<br>
> + name="tl-wdr3320-v2"<br>
> + ;;<br>
> *"TL-WDR3500")<br>
> name="tl-wdr3500"<br>
> ;;<br>
> diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh<br>
> index c1962e4..1d56d99 100755<br>
> --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh<br>
> +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh<br>
> @@ -338,6 +338,7 @@ platform_check_image() {<br>
> tl-wa901nd | \<br>
> tl-wa901nd-v2 | \<br>
> tl-wa901nd-v3 | \<br>
> + tl-wdr3320-v2 | \<br>
> tl-wdr3500 | \<br>
> tl-wdr4300 | \<br>
> tl-wdr4900-v2 | \<br>
> diff --git a/target/linux/ar71xx/config-4.1 b/target/linux/ar71xx/config-4.1<br>
> index 21c4601..d0a6602 100644<br>
> --- a/target/linux/ar71xx/config-4.1<br>
> +++ b/target/linux/ar71xx/config-4.1<br>
> @@ -121,6 +121,7 @@ CONFIG_ATH79_MACH_TL_WA830RE_V2=y<br>
> CONFIG_ATH79_MACH_TL_WA901ND=y<br>
> CONFIG_ATH79_MACH_TL_WA901ND_V2=y<br>
> CONFIG_ATH79_MACH_TL_WAX50RE=y<br>
> +CONFIG_ATH79_MACH_TL_WDR3320_V2=y<br>
> CONFIG_ATH79_MACH_TL_WDR3500=y<br>
> CONFIG_ATH79_MACH_TL_WDR4300=y<br>
> CONFIG_ATH79_MACH_TL_WDR6500_V2=y<br>
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3320-v2.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3320-v2.c<br>
> new file mode 100644<br>
> index 0000000..3e452f2<br>
> --- /dev/null<br>
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3320-v2.c<br>
> @@ -0,0 +1,146 @@<br>
> +/*<br>
> + * TP-LINK TL-WDR3320 v2 board support<br>
> + *<br>
> + * Copyright (C) 2012 Gabor Juhos <<a href="mailto:juhosg@openwrt.org">juhosg@openwrt.org</a>><br>
> + * Copyright (C) 2015 Weijie Gao <<a href="mailto:hackpascal@gmail.com">hackpascal@gmail.com</a>><br>
> + *<br>
> + * This program is free software; you can redistribute it and/or modify it<br>
> + * under the terms of the GNU General Public License version 2 as published<br>
> + * by the Free Software Foundation.<br>
> + */<br>
> +<br>
> +#include <linux/pci.h><br>
> +#include <linux/phy.h><br>
> +#include <linux/gpio.h><br>
> +#include <linux/platform_device.h><br>
> +#include <linux/ath9k_platform.h><br>
> +<br>
> +#include <asm/mach-ath79/ar71xx_regs.h><br>
> +<br>
> +#include "common.h"<br>
> +#include "dev-ap9x-pci.h"<br>
> +#include "dev-eth.h"<br>
> +#include "dev-gpio-buttons.h"<br>
> +#include "dev-leds-gpio.h"<br>
> +#include "dev-m25p80.h"<br>
> +#include "dev-spi.h"<br>
> +#include "dev-usb.h"<br>
> +#include "dev-wmac.h"<br>
> +#include "machtypes.h"<br>
> +<br>
> +#define WDR3320_GPIO_LED_WLAN5G 12<br>
> +#define WDR3320_GPIO_LED_SYSTEM 14<br>
> +#define WDR3320_GPIO_LED_QSS 15<br>
> +#define WDR3320_GPIO_LED_WAN 4<br>
> +#define WDR3320_GPIO_LED_LAN1 18<br>
> +#define WDR3320_GPIO_LED_LAN2 20<br>
> +#define WDR3320_GPIO_LED_LAN3 21<br>
> +#define WDR3320_GPIO_LED_LAN4 22<br>
> +<br>
> +#define WDR3320_GPIO_BTN_RESET 16<br>
> +<br>
> +#define WDR3320_KEYS_POLL_INTERVAL 20 /* msecs */<br>
> +#define WDR3320_KEYS_DEBOUNCE_INTERVAL (3 * WDR3320_KEYS_POLL_INTERVAL)<br>
> +<br>
> +#define WDR3320_WMAC_CALDATA_OFFSET 0x1000<br>
> +#define WDR3320_PCIE_CALDATA_OFFSET 0x5000<br>
> +<br>
> +static const char *wdr3320_part_probes[] = {<br>
> + "tp-link",<br>
> + NULL,<br>
> +};<br>
> +<br>
> +static struct flash_platform_data wdr3320_flash_data = {<br>
> + .part_probes = wdr3320_part_probes,<br>
> +};<br>
> +<br>
> +static struct gpio_led wdr3320_leds_gpio[] __initdata = {<br>
> + {<br>
> + .name = "tp-link:green:qss",<br>
> + .gpio = WDR3320_GPIO_LED_QSS,<br>
> + .active_low = 1,<br>
> + },<br>
> + {<br>
> + .name = "tp-link:green:system",<br>
> + .gpio = WDR3320_GPIO_LED_SYSTEM,<br>
> + .active_low = 1,<br>
> + },<br>
> + {<br>
> + .name = "tp-link:green:wlan5g",<br>
> + .gpio = WDR3320_GPIO_LED_WLAN5G,<br>
> + .active_low = 1,<br>
> + },<br>
> +};<br>
> +<br>
> +static struct gpio_keys_button wdr3320_gpio_keys[] __initdata = {<br>
> + {<br>
> + .desc = "reset",<br>
> + .type = EV_KEY,<br>
> + .code = KEY_RESTART,<br>
> + .debounce_interval = WDR3320_KEYS_DEBOUNCE_INTERVAL,<br>
> + .gpio = WDR3320_GPIO_BTN_RESET,<br>
> + .active_low = 1,<br>
> + },<br>
> +};<br>
> +<br>
> +static void __init wdr3320_setup(void)<br>
> +{<br>
> + u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);<br>
> + u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);<br>
> + u8 tmpmac[ETH_ALEN];<br>
> +<br>
> + ath79_register_m25p80(&wdr3320_flash_data);<br>
> + ath79_register_leds_gpio(-1, ARRAY_SIZE(wdr3320_leds_gpio),<br>
> + wdr3320_leds_gpio);<br>
> + ath79_register_gpio_keys_polled(-1, WDR3320_KEYS_POLL_INTERVAL,<br>
> + ARRAY_SIZE(wdr3320_gpio_keys),<br>
> + wdr3320_gpio_keys);<br>
> +<br>
> + ath79_init_mac(tmpmac, mac, 0);<br>
> + ath79_register_wmac(art + WDR3320_WMAC_CALDATA_OFFSET, tmpmac);<br>
> +<br>
> + ath79_init_mac(tmpmac, mac, -1);<br>
> + ap9x_pci_setup_wmac_led_pin(0, 0);<br>
> + ap91_pci_init(art + WDR3320_PCIE_CALDATA_OFFSET, tmpmac);<br>
> +<br>
> + ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_SW_ONLY_MODE);<br>
> +<br>
> + ath79_register_mdio(1, 0x0);<br>
> +<br>
> + /* LAN */<br>
> + ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0);<br>
> +<br>
> + /* GMAC1 is connected to the internal switch */<br>
> + ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;<br>
> +<br>
> + ath79_register_eth(1);<br>
> +<br>
> + /* WAN */<br>
> + ath79_init_mac(ath79_eth0_data.mac_addr, mac, 1);<br>
> +<br>
> + /* GMAC0 is connected to the PHY4 of the internal switch */<br>
> + ath79_switch_data.phy4_mii_en = 1;<br>
> + ath79_switch_data.phy_poll_mask = BIT(4);<br>
> + ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;<br>
> + ath79_eth0_data.phy_mask = BIT(4);<br>
> + ath79_eth0_data.mii_bus_dev = &ath79_mdio1_device.dev;<br>
> +<br>
> + ath79_register_eth(0);<br>
> +<br>
> + ath79_register_usb();<br>
> +<br>
> + ath79_gpio_output_select(WDR3320_GPIO_LED_LAN1,<br>
> + AR934X_GPIO_OUT_LED_LINK0);<br>
> + ath79_gpio_output_select(WDR3320_GPIO_LED_LAN2,<br>
> + AR934X_GPIO_OUT_LED_LINK1);<br>
> + ath79_gpio_output_select(WDR3320_GPIO_LED_LAN3,<br>
> + AR934X_GPIO_OUT_LED_LINK2);<br>
> + ath79_gpio_output_select(WDR3320_GPIO_LED_LAN4,<br>
> + AR934X_GPIO_OUT_LED_LINK3);<br>
> + ath79_gpio_output_select(WDR3320_GPIO_LED_WAN,<br>
> + AR934X_GPIO_OUT_LED_LINK4);<br>
> +}<br>
> +<br>
> +MIPS_MACHINE(ATH79_MACH_TL_WDR3320_V2, "TL-WDR3320-v2",<br>
> + "TP-LINK TL-WDR3320 v2",<br>
> + wdr3320_setup);<br>
> diff --git a/target/linux/ar71xx/generic/profiles/<a href="http://tp-link.mk" rel="noreferrer" target="_blank">tp-link.mk</a> b/target/linux/ar71xx/generic/profiles/<a href="http://tp-link.mk" rel="noreferrer" target="_blank">tp-link.mk</a><br>
> index 05d1019..2875290 100644<br>
> --- a/target/linux/ar71xx/generic/profiles/<a href="http://tp-link.mk" rel="noreferrer" target="_blank">tp-link.mk</a><br>
> +++ b/target/linux/ar71xx/generic/profiles/<a href="http://tp-link.mk" rel="noreferrer" target="_blank">tp-link.mk</a><br>
> @@ -266,6 +266,17 @@ endef<br>
> $(eval $(call Profile,TLWDR4300))<br>
><br>
><br>
> +define Profile/TLWDR3320V2<br>
> + NAME:=TP-LINK TL-WDR3320v2<br>
> + PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev<br>
> +endef<br>
> +<br>
> +define Profile/TLWDR3320V2/Description<br>
> + Package set optimized for the TP-LINK TL-WDR3320v2.<br>
> +endef<br>
> +$(eval $(call Profile,TLWDR3320V2))<br>
> +<br>
> +<br>
> define Profile/TLWDR4900V2<br>
> NAME:=TP-LINK TL-WDR4900v2<br>
> PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev<br>
> diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile<br>
> index e6fe36a..1036399 100644<br>
> --- a/target/linux/ar71xx/image/Makefile<br>
> +++ b/target/linux/ar71xx/image/Makefile<br>
> @@ -53,6 +53,17 @@ define Build/mktplinkfw<br>
> $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@<br>
> endef<br>
><br>
> +define Build/mktplinkfw-chn-v2<br>
> + -$(STAGING_DIR_HOST)/bin/mktplinkfw \<br>
> + -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) -m 2 \<br>
> + -k $(word 1,$^) \<br>
> + -r $@ \<br>
> + -o $@.new \<br>
> + -j -X 0x40000 \<br>
> + -a $(call rootfs_align,$(FILESYSTEM)) \<br>
> + $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@<br>
> +endef<br>
> +<br>
> # -c combined image<br>
> define Build/mktplinkfw-initramfs<br>
> $(STAGING_DIR_HOST)/bin/mktplinkfw \<br>
> @@ -64,6 +75,16 @@ define Build/mktplinkfw-initramfs<br>
> @mv $@.new $@<br>
> endef<br>
><br>
> +define Build/mktplinkfw-initramfs-chn-v2<br>
> + $(STAGING_DIR_HOST)/bin/mktplinkfw \<br>
> + -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) -m 2 \<br>
> + -k $@ \<br>
> + -o $@.new \<br>
> + -s -S \<br>
> + -c<br>
> + @mv $@.new $@<br>
> +endef<br>
> +<br>
> define Build/loader-common<br>
> rm -rf $@.src<br>
> $(MAKE) -C lzma-loader \<br>
> @@ -235,6 +256,15 @@ define Device/tplink<br>
> IMAGE/factory.bin := append-rootfs | mktplinkfw factory<br>
> endef<br>
><br>
> +define Device/tplink-chn-v2<br>
> + TPLINK_HWREV := 0x1<br>
> + KERNEL := kernel-bin | patch-cmdline | lzma<br>
> + KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | mktplinkfw-initramfs-chn-v2<br>
> + IMAGES := sysupgrade.bin factory.bin<br>
> + IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw-chn-v2 sysupgrade<br>
> + IMAGE/factory.bin := append-rootfs | mktplinkfw-chn-v2 factory<br>
> +endef<br>
> +<br>
> define Device/tplink-nolzma<br>
> $(Device/tplink)<br>
> LOADER_FLASH_OFFS := 0x22000<br>
> @@ -274,6 +304,12 @@ $(Device/tplink)<br>
> IMAGE_SIZE := 15872k<br>
> endef<br>
><br>
> +define Device/tplink-chn-v2-4mlzma<br>
> +$(Device/tplink-chn-v2)<br>
> + TPLINK_FLASHLAYOUT := 4Mlzma<br>
> + IMAGE_SIZE := 3904k<br>
> +endef<br>
> +<br>
> define Device/tl-wdr4300-v1<br>
> $(Device/tplink-8mlzma)<br>
> BOARDNAME = TL-WDR4300<br>
> @@ -306,7 +342,15 @@ define Device/mw4530r-v1<br>
> $(Device/tl-wdr4300-v1)<br>
> TPLINK_HWID := 0x45300001<br>
> endef<br>
> -TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1<br>
> +<br>
> +define Device/tl-wdr3320-v2<br>
> +$(Device/tplink-chn-v2-4mlzma)<br>
> + BOARDNAME = TL-WDR3320-v2<br>
> + DEVICE_PROFILE = TLWDR3320V2<br>
> + TPLINK_HWID := 0x33200002<br>
> +endef<br>
> +<br>
> +TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1 tl-wdr3320-v2<br>
><br>
> define Device/archer-c5<br>
> $(Device/tplink-16mlzma)<br>
> diff --git a/target/linux/ar71xx/patches-4.1/816-MIPS-ath79-add-tl-wdr3320-v2-support.patch b/target/linux/ar71xx/patches-4.1/816-MIPS-ath79-add-tl-wdr3320-v2-support.patch<br>
> new file mode 100644<br>
> index 0000000..8d6d686<br>
> --- /dev/null<br>
> +++ b/target/linux/ar71xx/patches-4.1/816-MIPS-ath79-add-tl-wdr3320-v2-support.patch<br>
> @@ -0,0 +1,40 @@<br>
> +--- a/arch/mips/ath79/Kconfig<br>
> ++++ b/arch/mips/ath79/Kconfig<br>
> +@@ -1031,6 +1031,17 @@<br>
> + select ATH79_DEV_M25P80<br>
> + select ATH79_DEV_WMAC<br>
> +<br>
> ++config ATH79_MACH_TL_WDR3320_V2<br>
> ++ bool "TP-LINK TL-WDR3320 v2 board support"<br>
> ++ select SOC_AR934X<br>
> ++ select ATH79_DEV_AP9X_PCI if PCI<br>
> ++ select ATH79_DEV_ETH<br>
> ++ select ATH79_DEV_GPIO_BUTTONS<br>
> ++ select ATH79_DEV_LEDS_GPIO<br>
> ++ select ATH79_DEV_M25P80<br>
> ++ select ATH79_DEV_USB<br>
> ++ select ATH79_DEV_WMAC<br>
> ++<br>
> + config ATH79_MACH_TL_WDR3500<br>
> + bool "TP-LINK TL-WDR3500 board support"<br>
> + select SOC_AR934X<br>
> +--- a/arch/mips/ath79/machtypes.h<br>
> ++++ b/arch/mips/ath79/machtypes.h<br>
> +@@ -152,6 +152,7 @@<br>
> + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */<br>
> + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */<br>
> + ATH79_MACH_TL_WA901ND_V3, /* TP-LINK TL-WA901ND v3 */<br>
> ++ ATH79_MACH_TL_WDR3320_V2, /* TP-LINK TL-WDR3320 v2 */<br>
> + ATH79_MACH_TL_WDR3500, /* TP-LINK TL-WDR3500 */<br>
> + ATH79_MACH_TL_WDR4300, /* TP-LINK TL-WDR4300 */<br>
> + ATH79_MACH_TL_WDR6500_V2, /* TP-LINK TL-WDR6500 v2 */<br>
> +--- a/arch/mips/ath79/Makefile<br>
> ++++ b/arch/mips/ath79/Makefile<br>
> +@@ -128,6 +128,7 @@<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WA830RE_V2) += mach-tl-wa830re-v2.o<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o<br>
> ++obj-$(CONFIG_ATH79_MACH_TL_WDR3320_V2) += mach-tl-wdr3320-v2.o<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o<br>
> + obj-$(CONFIG_ATH79_MACH_TL_WDR6500_V2) += mach-tl-wdr6500-v2.o<br>
><br>
</div></div></blockquote></div><br></div>