summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-05-23 03:17:00 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-23 13:39:49 +0200
commitc5ff273d85f69981e5b126eeaed3dee5b4061fb4 (patch)
tree0dc65f2d488c372127d0925c9f048404b1c144da /target/linux/ar71xx/base-files/lib
parentce63c38ef5f2c049d739fbcc8d9b3f12f3bac206 (diff)
downloadmaster-31e0f0ae-c5ff273d85f69981e5b126eeaed3dee5b4061fb4.tar.gz
master-31e0f0ae-c5ff273d85f69981e5b126eeaed3dee5b4061fb4.tar.bz2
master-31e0f0ae-c5ff273d85f69981e5b126eeaed3dee5b4061fb4.zip
ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510
Split profile into 2GHz and 5GHz. The 5GHz devices are quite "special". The 2 GHz works perfect. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 4318818cd2..b06c60ed70 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -446,7 +446,11 @@ ar71xx_board_detect() {
*"COMFAST CF-E316N v2")
name="cf-e316n-v2"
;;
- *"CPE210/220/510/520")
+ *"CPE210/220")
+ name="cpe210"
+ tplink_pharos_board_detect
+ ;;
+ *"CPE510/520")
name="cpe510"
tplink_pharos_board_detect
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ace039210b..2505b7575c 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -280,6 +280,7 @@ platform_check_image() {
return 0
;;
+ cpe210|\
cpe510)
tplink_pharos_check_image "$1" && return 0
return 1