From 8eb616de8248f4e85b392ae0dd9b037dfc011202 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 13 Mar 2011 15:08:31 +0000 Subject: ar71xx: add support for the TP-Link TL-WA901ND v2 board Patch-by: Jonathan Benett SVN-Revision: 26119 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files/lib') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d390f9fdff..15f3250e80 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -112,6 +112,9 @@ ar71xx_board_name() { *TL-WA901ND) name="tl-wa901nd" ;; + *"TL-WA901ND v2") + name="tl-wa901nd-v2" + ;; *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 067fe033fa..f0fdd88378 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -76,7 +76,7 @@ platform_check_image() { } return 0 ;; - tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) + tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 -- cgit v1.2.3