aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:19:50 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:19:50 +0000
commitde7dce21a331dfe0fc63efd16f0d00e0a226de9b (patch)
tree5b41b6d187ad49b29405291df0e1a1f447faa459 /target/linux/ramips/base-files/lib
parentdf165974c32a6ad2499b815d9d9f72b250d622f8 (diff)
downloadupstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.gz
upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.tar.bz2
upstream-de7dce21a331dfe0fc63efd16f0d00e0a226de9b.zip
ralink: add WRTnode2 platform and led support
Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 62be04540e..8025a40880 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -433,6 +433,12 @@ ramips_board_detect() {
*"WRTNODE")
name="wrtnode"
;;
+ *"WRTnode2R")
+ name="wrtnode2r"
+ ;;
+ *"WRTnode2P")
+ name="wrtnode2p"
+ ;;
*"WSR-1166DHP")
name="wsr-1166"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index f8073d19fe..39b5f94a76 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -125,6 +125,8 @@ platform_check_image() {
wr512-3gn|\
wr6202|\
wrtnode|\
+ wrtnode2r |\
+ wrtnode2p |\
wsr-600|\
wt1520|\
wt3020|\