aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:48 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-10 17:57:48 +0000
commit5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a (patch)
tree104b5223bf788efd477f36d575d540fdb579c476 /target/linux/ar71xx/base-files/lib
parent912a140b19f36cb50bfffcc39ceb7bece8d439a6 (diff)
downloadupstream-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.tar.gz
upstream-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.tar.bz2
upstream-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.zip
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
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 ec3aa5b62a..ae50a23c52 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -100,6 +100,9 @@ ar71xx_board_name() {
*"DIR-615 rev. C1")
name="dir-615-c1"
;;
+ *TL-MR3220)
+ name="tl-mr3220"
+ ;;
*TL-MR3420)
name="tl-mr3420"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 36e2b2146f..1cbde8bc66 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-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
+ tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1