Jelajahi Sumber

rockchip: add `"compat_version": "1.1"` for Radxa E52C

This is something I missed in https://github.com/openwrt/openwrt/pull/20608

Fixes: 1f1db75432 ("rockchip: make NIC name predictable for Radxa E52C/ROCK 5 ITX/ROCK 5T")
Signed-off-by: FUKAUMI Naoki <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21533
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 43039157babc7262180cdd56994732ca1ebbb6fd)
FUKAUMI Naoki 4 minggu lalu
induk
melakukan
c9e2d8191b

+ 15 - 0
target/linux/rockchip/armv8/base-files/etc/board.d/05_compat-version

@@ -0,0 +1,15 @@
+. /lib/functions.sh
+. /lib/functions/uci-defaults.sh
+
+board="$(board_name)"
+board_config_update
+
+case "$board" in
+radxa,e52c)
+	ucidef_set_compat_version "1.1"
+	;;
+esac
+
+board_config_flush
+
+exit 0