summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-01 19:30:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-01 19:30:25 +0000
commit1e68f10b8748c9bf0d2e244597e2d0c70079ddeb (patch)
tree9279b6231136ca93f5d64b955cd11584ef8b94fa /target/linux/ar71xx/base-files/lib
parent0baa69dddabc768ec7053d0d920cf1e5adb8d22e (diff)
downloadmtk-20170518-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.zip
mtk-20170518-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.tar.gz
mtk-20170518-1e68f10b8748c9bf0d2e244597e2d0c70079ddeb.tar.bz2
ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
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 ee242a4..b259b67 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -118,6 +118,9 @@ ar71xx_board_detect() {
*"AirRouter")
name="airrouter"
;;
+ *"ALFA Network N2/N5")
+ name="alfa-nx"
+ ;;
*ALL0258N)
name="all0258n"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 0552828..ec0d03b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -77,6 +77,7 @@ platform_check_image() {
platform_check_image_all0258n "$1" && return 0
return 1
;;
+ alfa-nx | \
ap121 | \
ap121-mini | \
ap96 | \