aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-07 19:36:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-07 19:36:35 +0000
commit8782a469c8ecf70d9e4b509990ab3fbc5f3222ac (patch)
tree679720f4b2f8d0920b0cb06a580c7f69702ffd84 /target/linux/ar71xx/base-files/lib
parentce48dfe9f2e037cb3cc7a7f646bc9201b7a727d9 (diff)
downloadmaster-187ad058-8782a469c8ecf70d9e4b509990ab3fbc5f3222ac.tar.gz
master-187ad058-8782a469c8ecf70d9e4b509990ab3fbc5f3222ac.tar.bz2
master-187ad058-8782a469c8ecf70d9e4b509990ab3fbc5f3222ac.zip
ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.sh3
2 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7e8e25e3ac..db859b24ab 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() {
"104300"*)
model="TP-Link TL-WR1043N/ND"
;;
+ "254300"*)
+ model="TP-Link TL-WR2543N/ND"
+ ;;
"302000"*)
model="TP-Link TL-MR3020"
;;
@@ -247,6 +250,9 @@ ar71xx_board_detect() {
*TL-WR1043ND)
name="tl-wr1043nd"
;;
+ *TL-WR2543N*)
+ name="tl-wr2543n"
+ ;;
*"DIR-615 rev. C1")
name="dir-615-c1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index db8bdaefb9..ae68db6fc0 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -132,7 +132,8 @@ platform_check_image() {
tl-wr841n-v1 | \
tl-wr841n-v7 | \
tl-wr941nd | \
- tl-wr1043nd)
+ tl-wr1043nd | \
+ tl-wr2543n)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1