[openwrt/openwrt] ipq806x: improve model name and revision for TP-Link AD7200

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 6 08:43:20 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b039f76f35e0fbedc6d687efcc1ce62edbd2939b

commit b039f76f35e0fbedc6d687efcc1ce62edbd2939b
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Wed Jan 6 14:00:58 2021 +0100

    ipq806x: improve model name and revision for TP-Link AD7200
    
    The TP-Link AD7200 appears with and without the "Talon" model name
    prefix. Let's use both variants for 'make menuconfig' so everybody
    can locate the device.
    
    Concerning the revision, the TP-Link page lists v1 and v2 with the
    device currently marked as "End of Life". However, the v2 and latest
    v1 firmware are byte-identical. Thus, we only need one image for
    this device and do not need to include the revision in the image name.
    
    While at it, remove the useless BOARD_NAME variable which only makes
    sense in combination with upgrade from legacy stable versions or when
    custom upgrade scripts are involved.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ipq806x/image/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index b006757478..b77c0a99c0 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -336,12 +336,14 @@ TARGET_DEVICES += qcom_ipq8064-db149
 define Device/tplink_ad7200
 	$(call Device/TpSafeImage)
 	DEVICE_VENDOR := TP-Link
-	DEVICE_MODEL := Talon AD7200
-	DEVICE_VARIANT := v1
+	DEVICE_MODEL := AD7200
+	DEVICE_VARIANT := v1/v2
+	DEVICE_ALT0_VENDOR := TP-Link
+	DEVICE_ALT0_MODEL := Talon AD7200
+	DEVICE_ALT0_VARIANT := v1/v2
 	SOC := qcom-ipq8064
 	BLOCKSIZE := 128k
 	PAGESIZE := 2048
-	BOARD_NAME := ad7200
 	TPLINK_BOARD_ID := AD7200
 	DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-wil6210
 endef



More information about the lede-commits mailing list