aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-01 11:20:52 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-01 11:20:52 +0000
commit91f08d47c2fa03570ff59a19eff741ac4797a97e (patch)
tree2e3f22d936160e1a960b2e13d8a9f9181f9f1096 /target/linux/ar71xx/base-files/lib
parent21e651c9a1a00e58fa7cf4f325668cd467c7a03b (diff)
downloadupstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.tar.gz
upstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.tar.bz2
upstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.zip
ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet. SVN-Revision: 28706
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.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index cba0da0aac..2ab9dc03c5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -136,6 +136,9 @@ ar71xx_board_name() {
*TL-WR741ND)
name="tl-wr741nd"
;;
+ *"TL-WR741ND v4")
+ name="tl-wr741nd-v4"
+ ;;
*"TL-WR841N v1")
name="tl-wr841n-v1"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 311b8975ef..0b1e57af31 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -87,7 +87,8 @@ platform_check_image() {
}
return 0
;;
- tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
+ tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr741nd-v4 | \
+ tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1