]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rockchip: add `"compat_version": "1.1"` for Radxa E52C 21533/head
authorFUKAUMI Naoki <naoki@radxa.com>
Wed, 14 Jan 2026 01:52:55 +0000 (01:52 +0000)
committerRobert Marko <robimarko@gmail.com>
Wed, 14 Jan 2026 10:20:00 +0000 (11:20 +0100)
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 <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/21533
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/rockchip/armv8/base-files/etc/board.d/05_compat-version [new file with mode: 0644]

diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/05_compat-version b/target/linux/rockchip/armv8/base-files/etc/board.d/05_compat-version
new file mode 100644 (file)
index 0000000..eaa00c7
--- /dev/null
@@ -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