mediatek: mt7629: fix ethernet default config
authorChuanhong Guo <gch981213@gmail.com>
Fri, 20 Mar 2020 10:08:00 +0000 (18:08 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 21 Mar 2020 04:58:29 +0000 (12:58 +0800)
1. fix typo: ucidef_set_interfaces_wan -> ucidef_set_interface_wan
2. change board name to mt7629-rfb to match upstream dts

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/mediatek/mt7629/base-files/etc/board.d/02_network

index 757a390c2409e3a14744d07b328cd5072f0d8943..24c66de788f9cc9ba64ea953195694ce2631501b 100755 (executable)
@@ -9,8 +9,8 @@ mediatek_setup_interfaces()
        local board="$1"
 
        case $board in
-       mediatek,mt7629-lynx-rfb)
-               ucidef_set_interfaces_wan "eth1"
+       mediatek,mt7629-rfb)
+               ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \
                        "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0"
                ;;