summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-09-21 11:47:53 +0000
commit733399600f89824208bc44dfec62d68d28630fc7 (patch)
tree13eb1fb11d093e4ae7ea0d351b8cfba2ea03b677 /target/linux/ar71xx/base-files/lib
parentd3617ac7d3ce397f78678ea1b93b952f3e93af61 (diff)
downloadmtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.zip
mtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.tar.gz
mtk-20170518-733399600f89824208bc44dfec62d68d28630fc7.tar.bz2
ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com> SVN-Revision: 28277
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 92b0e66..3c3dd1a 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -133,6 +133,9 @@ ar71xx_board_name() {
*TL-WR941ND)
name="tl-wr941nd"
;;
+ *"TL-WR703N v1")
+ name="tl-wr703n"
+ ;;
*UniFi)
name="unifi"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 4becfaf..47208d2 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -83,7 +83,7 @@ platform_check_image() {
}
return 0
;;
- tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
+ tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1