Browse Source

mvebu: better integrate xp-gp

Signed-off-by: Luka Perkov <[email protected]>

SVN-Revision: 45459
Luka Perkov 10 years ago
parent
commit
76330e9b57

+ 3 - 0
target/linux/mvebu/base-files/etc/uci-defaults/02_network

@@ -30,6 +30,9 @@ armada-xp-linksys-mamba)
 armada-385-db-ap)
 	ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"
 	;;
+armada-xp-gp)
+	ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
+	;;
 *)
 	ucidef_set_interface_lan "eth0"
 	;;

+ 3 - 0
target/linux/mvebu/base-files/lib/mvebu.sh

@@ -43,6 +43,9 @@ mvebu_board_detect() {
 	*"Marvell Armada 385 Access Point Development Board")
 		name="armada-385-db-ap"
 		;;
+	*"Marvell Armada XP Development Board DB-MV784MP-GP")
+		name="armada-xp-gp"
+		;;
 	esac
 
 	[ -z "$name" ] && name="unknown"