aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-09-27 14:53:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-09-27 14:53:59 +0000
commit4f50f84bbe3269cee7c101f26cbb7859be87b57f (patch)
tree5e7d2592ba3d00d9b3245077a7ed652acf6e4f05 /target/linux/ar71xx/base-files/lib
parenteaefe392181f6e739ad4fbc1cbdd60645eec130d (diff)
downloadupstream-4f50f84bbe3269cee7c101f26cbb7859be87b57f.tar.gz
upstream-4f50f84bbe3269cee7c101f26cbb7859be87b57f.tar.bz2
upstream-4f50f84bbe3269cee7c101f26cbb7859be87b57f.zip
ar71xx: add support for the TL-MR3420 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 877bab2533..ff2e8bd777 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -94,6 +94,9 @@ ar71xx_board_name() {
*"DIR-615 rev. C1")
name="dir-615-c1"
;;
+ *TL-MR3420)
+ name="tl-mr3420"
+ ;;
*TL-WA901ND)
name="tl-wa901nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 29aeff42ef..089f5f4058 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -75,7 +75,7 @@ platform_check_image() {
}
return 0
;;
- tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
+ tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1