rockchip: fix nanopi-r5c interface

This commit is contained in:
sbwml 2023-02-21 21:01:58 +08:00
parent ead4b4ce6f
commit e5beceec4d

View File

@ -7,10 +7,12 @@ rockchip_setup_interfaces()
local board="$1"
case "$board" in
friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r5c)
friendlyarm,nanopi-r4s)
ucidef_set_interfaces_lan_wan 'eth1' 'eth0'
;;
friendlyarm,nanopi-r5c)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
friendlyarm,nanopi-r5s)
ucidef_set_interfaces_lan_wan 'eth1 eth2' 'eth0'
;;