summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFUKAUMI Naoki2026-01-14 01:52:55 +0000
committerRobert Marko2026-01-14 10:21:15 +0000
commitc9e2d8191b4c5349491536a2fe4b1bfa83b43d33 (patch)
treebc5aee9ec1e2b9f936408477a334d0f281f5ae46
parentd01aa41d40e1b6f9e9a034bcae5fda322d5d0624 (diff)
downloadopenwrt-c9e2d8191b4c5349491536a2fe4b1bfa83b43d33.tar.gz
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 <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/21533 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 43039157babc7262180cdd56994732ca1ebbb6fd)
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/board.d/05_compat-version15
1 files changed, 15 insertions, 0 deletions
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
index 0000000000..eaa00c7ac4
--- /dev/null
+++ b/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