summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-22 19:31:28 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-22 19:31:28 +0000
commitdb5288e38a3efb1a2e86d41590c071c5bf81e44e (patch)
tree3a02ae28f645a026f2ea3146d5a9892357c596a1 /target/linux/ar71xx/base-files/lib
parent7323fe3ce967abb6cd603030c178a9f42d01564d (diff)
ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 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 e73bb7f64f..42f41e753e 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -76,6 +76,9 @@ ar71xx_board_name() {
*TL-WR741ND)
name="tl-wr741nd"
;;
+ *"TL-WR841N v1")
+ name="tl-wr841n-v1"
+ ;;
*TL-WR941ND)
name="tl-wr941nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 629e42c304..e320f30ea9 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-wr741nd | tl-wr941nd | tl-wr1043nd)
+ tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1