mvebu: better integrate xp-gp
authorLuka Perkov <luka@openwrt.org>
Thu, 16 Apr 2015 13:53:57 +0000 (13:53 +0000)
committerLuka Perkov <luka@openwrt.org>
Thu, 16 Apr 2015 13:53:57 +0000 (13:53 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45459

target/linux/mvebu/base-files/etc/uci-defaults/02_network
target/linux/mvebu/base-files/lib/mvebu.sh

index 73a3d8a..d1ead03 100644 (file)
@@ -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"
        ;;
index ac6d148..3edfa6b 100755 (executable)
@@ -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"