aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-27 14:52:07 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-27 14:52:07 +0000
commit841ec684dc229d031b49d669a2939c71c87a2e93 (patch)
tree4250d0d8fb4d590a53a298aff90651f9d5ec79c7 /target/linux/octeon/base-files/lib
parent2add52fd5c51bffd3066dd13c860a80d5738453d (diff)
downloadmaster-187ad058-841ec684dc229d031b49d669a2939c71c87a2e93.tar.gz
master-187ad058-841ec684dc229d031b49d669a2939c71c87a2e93.tar.bz2
master-187ad058-841ec684dc229d031b49d669a2939c71c87a2e93.zip
octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41844 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/octeon/base-files/lib')
-rwxr-xr-xtarget/linux/octeon/base-files/lib/functions/octeon.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/octeon/base-files/lib/functions/octeon.sh b/target/linux/octeon/base-files/lib/functions/octeon.sh
index 8871ed7117..deae9e3778 100755
--- a/target/linux/octeon/base-files/lib/functions/octeon.sh
+++ b/target/linux/octeon/base-files/lib/functions/octeon.sh
@@ -17,6 +17,14 @@ octeon_board_detect() {
name="erlite"
;;
+ "UBNT_E200"*)
+ name="er"
+ ;;
+
+ "UBNT_E220"*)
+ name="erpro"
+ ;;
+
*)
name="generic"
;;