summaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-27 14:52:07 +0000
committerJohn Crispin <john@openwrt.org>2014-07-27 14:52:07 +0000
commit13445d2576048f6e22d751ee92e7b7362f98b048 (patch)
tree417598be3188399b26535085c4f9599ad3e8632e /target/linux/octeon
parent96a4d6fb54001f2c4bc8afa3ead5e662918531fd (diff)
downloadmaster-31e0f0ae-13445d2576048f6e22d751ee92e7b7362f98b048.tar.gz
master-31e0f0ae-13445d2576048f6e22d751ee92e7b7362f98b048.tar.bz2
master-31e0f0ae-13445d2576048f6e22d751ee92e7b7362f98b048.zip
octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41844
Diffstat (limited to 'target/linux/octeon')
-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"
;;