summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-12-08 12:46:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-12-08 12:46:30 +0000
commit7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0 (patch)
treeaac8d038c0b3ec8c00bff4193e38afe2e466eb8d /target/linux/ar71xx/base-files/lib
parentb12d752a63e94e1072f9434edbae8cdc1ad8860e (diff)
downloadmtk-20170518-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.zip
mtk-20170518-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.tar.gz
mtk-20170518-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.tar.bz2
ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
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 1c2e060..9eea471 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -67,6 +67,9 @@ ar71xx_board_name() {
*TEW-632BRP)
name="tew-632brp"
;;
+ *TL-WR1043ND)
+ name="tl-wr1043nd"
+ ;;
*TL-WR741ND)
name="tl-wr741nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index b7e003a..7280199 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-wr741nd | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1