rockchip: fix setup network config for nanopi r2c
authorTianling Shen <cnsztl@immortalwrt.org>
Wed, 14 Jun 2023 11:25:28 +0000 (19:25 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Jun 2023 10:21:13 +0000 (12:21 +0200)
Without it the WAN port won't be initialized properly.

Fixes: 8f578c15b314 ("rockchip: add NanoPi R2C support")
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d312f12b1a6ee41e7bf1e07ec0349e141c07b92e)

target/linux/rockchip/armv8/base-files/etc/board.d/02_network

index c10e0cbcc9d185ce707b2606eb5673055a9ad49f..7ac5148275a4d7faace6a3f2bf8ea0bb64442fde 100644 (file)
@@ -7,6 +7,7 @@ rockchip_setup_interfaces()
        local board="$1"
 
        case "$board" in
+       friendlyarm,nanopi-r2c|\
        friendlyarm,nanopi-r2s|\
        friendlyarm,nanopi-r4s|\
        xunlong,orangepi-r1-plus|\