[openwrt/openwrt] rockchip: fix setup network config for nanopi r2c

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 17 03:21:28 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/a46e5ce4adaa02263bbe14568e0e714b297e6b91

commit a46e5ce4adaa02263bbe14568e0e714b297e6b91
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Wed Jun 14 19:25:28 2023 +0800

    rockchip: fix setup network config for nanopi r2c
    
    Without it the WAN port won't be initialized properly.
    
    Fixes: 8f578c15b314 ("rockchip: add NanoPi R2C support")
    Reviewed-by: Robert Marko <robimarko at gmail.com>
    Signed-off-by: Tianling Shen <cnsztl at immortalwrt.org>
    (cherry picked from commit d312f12b1a6ee41e7bf1e07ec0349e141c07b92e)
---
 target/linux/rockchip/armv8/base-files/etc/board.d/02_network | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
index c10e0cbcc9..7ac5148275 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
@@ -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|\




More information about the lede-commits mailing list