aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGad Krumholz <gad.krumholz@gmail.com>2016-11-27 00:52:53 -0600
committerJo-Philipp Wich <jo@mein.io>2016-12-14 18:42:48 +0100
commit21cb84435a9fcc1b94b30a672d6d3a8751fe9afb (patch)
tree4631e93396374c38dd9a5fd5eea67c8e6b0d00e5 /target/linux/ar71xx/base-files
parent38ebd1d133e247d80106a71af64587af8dc198c2 (diff)
downloadupstream-21cb84435a9fcc1b94b30a672d6d3a8751fe9afb.tar.gz
upstream-21cb84435a9fcc1b94b30a672d6d3a8751fe9afb.tar.bz2
upstream-21cb84435a9fcc1b94b30a672d6d3a8751fe9afb.zip
ar71xx: Added missing support for Linksys E2100L
It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived. Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com> [Jo-Philipp Wich: fix ordering, move addpattern change into separate commit] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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.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 a543d3e3e3..63fd188eab 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -577,6 +577,9 @@ ar71xx_board_detect() {
*"DW33D")
name="dw33d"
;;
+ *E2100L)
+ name="e2100l"
+ ;;
*"EAP120")
name="eap120"
tplink_pharos_board_detect
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index b028cd35a8..52719c0067 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -495,6 +495,7 @@ platform_check_image() {
return 0
;;
+ e2100l|\
mynet-rext|\
wrt160nl)
cybertan_check_image "$1" && return 0