aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 17:02:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 17:02:35 +0000
commitab897ab04e6795c7b23860505cdae92d5641c312 (patch)
treeed9b7282eb95f99818daea4827af360c290efc2e /target/linux/ar71xx/base-files/lib
parent73383c252ee0ff1bb66c576a180a43547ca7f6b5 (diff)
downloadupstream-ab897ab04e6795c7b23860505cdae92d5641c312.tar.gz
upstream-ab897ab04e6795c7b23860505cdae92d5641c312.tar.bz2
upstream-ab897ab04e6795c7b23860505cdae92d5641c312.zip
ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com> SVN-Revision: 31608
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, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3802e12179..35eca7c81c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -97,6 +97,9 @@ tplink_board_detect() {
"094100"*)
model="TP-Link TL-WR941N/ND"
;;
+ "104100"*)
+ model="TP-Link TL-WR1041N/ND"
+ ;;
"104300"*)
model="TP-Link TL-WR1043N/ND"
;;
@@ -274,6 +277,9 @@ ar71xx_board_detect() {
*TEW-673GRU)
name="tew-673gru"
;;
+ *"TL-WR1041N v2")
+ name="tl-wr1041n-v2"
+ ;;
*TL-WR1043ND)
name="tl-wr1043nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index a53c73dca4..a3295ed5fc 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -136,6 +136,7 @@ platform_check_image() {
tl-wr841n-v1 | \
tl-wr841n-v7 | \
tl-wr941nd | \
+ tl-wr1041n-v2 | \
tl-wr1043nd | \
tl-wr2543n)
[ "$magic" != "0100" ] && {