summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-29 20:51:13 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-29 20:51:13 +0000
commit98e9f3d20531728dfe29bc27e6c06cc9f8b62d42 (patch)
treed7e033885b15fe3c7f5bfdd46fb451abed95733f /target/linux/ar71xx/base-files/lib
parentb799da4c58da434d633aefc0057f01f554881c30 (diff)
ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 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.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ebfe10f928..e0b8830161 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -423,6 +423,9 @@ ar71xx_board_detect() {
*TL-WR1043ND)
name="tl-wr1043nd"
;;
+ *"TL-WR1043ND v2")
+ name="tl-wr1043nd-v2"
+ ;;
*TL-WR2543N*)
name="tl-wr2543n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index cb36772d8d..839ba4e77b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -208,6 +208,7 @@ platform_check_image() {
tl-wr941nd | \
tl-wr1041n-v2 | \
tl-wr1043nd | \
+ tl-wr1043nd-v2 | \
tl-wr2543n)
[ "$magic" != "0100" ] && {
echo "Invalid image type."