ath79: rename TP-Link TL-WPA8630P v2 (EU) to v2.0 (EU)

Since we have a v2.1 (EU) with different partitioning now, rename
the v2.0 to make the difference visible to the user more directly.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-09-28 14:31:02 +02:00 committed by CN_SZTL
parent a827c73d58
commit e79eb1d339
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
6 changed files with 14 additions and 13 deletions

View File

@ -3,8 +3,8 @@
#include "qca9563_tplink_tl-wpa8630p-v2.dtsi"
/ {
compatible = "tplink,tl-wpa8630p-v2-eu", "qca,qca9563";
model = "TP-Link WPA8630P v2 (EU)";
compatible = "tplink,tl-wpa8630p-v2.0-eu", "qca,qca9563";
model = "TP-Link WPA8630P v2.0 (EU)";
};
&partitions {

View File

@ -343,8 +343,8 @@ tplink,tl-mr6400-v1)
ucidef_set_led_netdev "4g" "4G" "tp-link:white:4g" "usb0"
;;
tplink,tl-wpa8630-v1|\
tplink,tl-wpa8630p-v2-eu|\
tplink,tl-wpa8630p-v2-int|\
tplink,tl-wpa8630p-v2.0-eu|\
tplink,tl-wpa8630p-v2.1-eu)
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3c"
;;

View File

@ -324,8 +324,8 @@ ath79_setup_interfaces()
"0@eth0" "1:lan:1" "2:lan:3" "3:lan:2"
;;
tplink,tl-wpa8630-v1|\
tplink,tl-wpa8630p-v2-eu|\
tplink,tl-wpa8630p-v2-int|\
tplink,tl-wpa8630p-v2.0-eu|\
tplink,tl-wpa8630p-v2.1-eu)
# port 5 (internal) is the power-line port
ucidef_add_switch "switch0" \

View File

@ -252,8 +252,8 @@ case "$FIRMWARE" in
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
;;
tplink,eap225-wall-v2|\
tplink,tl-wpa8630p-v2-eu|\
tplink,tl-wpa8630p-v2-int|\
tplink,tl-wpa8630p-v2.0-eu|\
tplink,tl-wpa8630p-v2.1-eu)
ath10kcal_extract "art" 0x5000 0x2f20
ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)

View File

@ -550,13 +550,6 @@ define Device/tplink_tl-wpa8630p-v2
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
endef
define Device/tplink_tl-wpa8630p-v2-eu
$(Device/tplink_tl-wpa8630p-v2)
DEVICE_VARIANT := v2 (EU)
TPLINK_BOARD_ID := TL-WPA8630P-V2-EU
endef
TARGET_DEVICES += tplink_tl-wpa8630p-v2-eu
define Device/tplink_tl-wpa8630p-v2-int
$(Device/tplink_tl-wpa8630p-v2)
DEVICE_VARIANT := v2 (Int.)
@ -564,6 +557,14 @@ define Device/tplink_tl-wpa8630p-v2-int
endef
TARGET_DEVICES += tplink_tl-wpa8630p-v2-int
define Device/tplink_tl-wpa8630p-v2.0-eu
$(Device/tplink_tl-wpa8630p-v2)
DEVICE_VARIANT := v2.0 (EU)
TPLINK_BOARD_ID := TL-WPA8630P-V2.0-EU
SUPPORTED_DEVICES += tplink,tl-wpa8630p-v2-eu
endef
TARGET_DEVICES += tplink_tl-wpa8630p-v2.0-eu
define Device/tplink_tl-wpa8630p-v2.1-eu
$(Device/tplink_tl-wpa8630p-v2)
DEVICE_VARIANT := v2.1 (EU)

View File

@ -1443,7 +1443,7 @@ static struct device_info boards[] = {
/** Firmware layout for the TL-WPA8630P v2 (EU)*/
{
.id = "TL-WPA8630P-V2-EU",
.id = "TL-WPA8630P-V2.0-EU",
.vendor = "",
.support_list =
"SupportList:\n"