aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-26 11:49:47 +0000
committerJohn Crispin <john@openwrt.org>2014-06-26 11:49:47 +0000
commite6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d (patch)
tree113871fc530b721d1855527c0f0df9b31f753d96 /target/linux/ar71xx/base-files/lib
parent0f39877bacc59049eb0185a93abbcbe23f180bde (diff)
downloadupstream-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.tar.gz
upstream-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.tar.bz2
upstream-e6e6a85dc962d1ef3f6e8b914dd323cfb2b93c8d.zip
ar71xx: add support for EasyLink M150 and M-mini
v3 refreshes the patch on trunk@41337 This patch adds support for the EasyLink EL-M150 and M-mini http://wiki.openwrt.org/toh/easylink/el-m150 http://wiki.openwrt.org/toh/easylink/el-m-mini Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41348
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh12
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6dd5e62175..4656ac279e 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -91,6 +91,12 @@ tplink_board_detect() {
hwver="v${hwver#0}"
case "$hwid" in
+ "015000"*)
+ model="EasyLink EL-M150"
+ ;;
+ "015300"*)
+ model="EasyLink EL-MINI"
+ ;;
"3C0001"*)
model="OOLITE"
;;
@@ -307,6 +313,12 @@ ar71xx_board_detect() {
*EAP7660D)
name="eap7660d"
;;
+ *EL-M150)
+ name="el-m150"
+ ;;
+ *EL-MINI)
+ name="el-mini"
+ ;;
*JA76PF)
name="ja76pf"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index c98737436b..8af9580a21 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -224,6 +224,8 @@ platform_check_image() {
;;
archer-c7 | \
+ el-m150 | \
+ el-mini | \
oolite | \
tl-mr10u | \
tl-mr11u | \