aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2016-02-17 17:49:26 +0000
committerLuka Perkov <luka@openwrt.org>2016-02-17 17:49:26 +0000
commit4d966e4dde31aaa93023a643a128ea764b6d583b (patch)
tree8d3cef91f9698f10c635730274cab3acdb0f18a2 /target/linux/mvebu/base-files
parent5445a2ee1d0ec8a42e16a68d03c69375da31ee82 (diff)
downloadupstream-4d966e4dde31aaa93023a643a128ea764b6d583b.tar.gz
upstream-4d966e4dde31aaa93023a643a128ea764b6d583b.tar.bz2
upstream-4d966e4dde31aaa93023a643a128ea764b6d583b.zip
mvebu: add SolidRun ClearFog A1 support
Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 48736
Diffstat (limited to 'target/linux/mvebu/base-files')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/mvebu.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 289a4b0c01..f81d0ac172 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -31,6 +31,9 @@ armada-385-db-ap)
armada-xp-gp)
ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
;;
+armada-388-clearfog)
+ ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
+ ;;
*)
ucidef_set_interface_lan "eth0"
;;
diff --git a/target/linux/mvebu/base-files/lib/mvebu.sh b/target/linux/mvebu/base-files/lib/mvebu.sh
index 09ebff3edc..836717d7f6 100755
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -49,6 +49,9 @@ mvebu_board_detect() {
*"Marvell Armada XP Development Board DB-MV784MP-GP")
name="armada-xp-gp"
;;
+ *"SolidRun Clearfog A1")
+ name="armada-388-clearfog"
+ ;;
esac
[ -z "$name" ] && name="unknown"