aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-19 10:19:44 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-19 10:19:44 +0000
commit25eee465a964fd5f2b9d01d5baec7105b23a2a03 (patch)
tree63e5b0902144e9f8612687453bf952fcc263d988 /target/linux/ar71xx/base-files
parent874e0061cec6b2a32d259077fb1789c00bf07833 (diff)
downloadupstream-25eee465a964fd5f2b9d01d5baec7105b23a2a03.tar.gz
upstream-25eee465a964fd5f2b9d01d5baec7105b23a2a03.tar.bz2
upstream-25eee465a964fd5f2b9d01d5baec7105b23a2a03.zip
ar71xx: Add support for WeIO board
Support for WeIO board (http://we-io.net), backported from Designated Driver trunk. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Backport of r47110 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index ed89cfb8e0..f0c9ae1a06 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -817,6 +817,9 @@ ar71xx_board_detect() {
*"UniFi AP Pro")
name="uap-pro"
;;
+ "WeIO"*)
+ name="weio"
+ ;;
*WHR-G301N)
name="whr-g301n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index aa05d6f463..0ba96e25f3 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -248,7 +248,8 @@ platform_check_image() {
nbg460n_550n_550nh | \
unifi | \
unifi-outdoor | \
- carambola2 )
+ carambola2 | \
+ weio )
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1