summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorZhao Gang <gang.zhao.42@gmail.com>2016-07-15 10:00:04 +0000
committerJo-Philipp Wich <jo@mein.io>2016-07-20 00:21:48 +0200
commitd963ddf0424a551e5fadd561c934bfdb5d198764 (patch)
treef1169f5e1ca6165d9a7953bea25625a939a524af /target/linux/ar71xx/base-files/lib
parent6c2651566cce8f5b3a3d3b976439dee2bac5e07e (diff)
downloadmtk-20170518-d963ddf0424a551e5fadd561c934bfdb5d198764.zip
mtk-20170518-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.gz
mtk-20170518-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.bz2
ar71xx: add support for gl-ar300m
This add initial support for gl-ar300m router. Product page: http://www.gl-inet.com/ar300m/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
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 4eed64b..d1c92c9 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -536,6 +536,9 @@ ar71xx_board_detect() {
*"GL AR300")
name="gl-ar300"
;;
+ *"GL-AR300M")
+ name="gl-ar300m"
+ ;;
*"EnGenius EPG5000")
name="epg5000"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 119537e..c5cb4ab 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -233,6 +233,7 @@ platform_check_image() {
ew-dorin-router | \
gl-ar150 | \
gl-ar300 | \
+ gl-ar300m | \
gl-domino | \
hiwifi-hc6361 | \
hornet-ub-x2 | \