aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/filogic
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-04 15:56:15 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-06-09 19:23:03 +0100
commita65ec9fea7c9bf0ed2c247e37448f4189b01adf2 (patch)
tree2b8c0210ff203204a5b1d2acbf9f1a2e9106abf8 /target/linux/mediatek/filogic
parentbca04036ffc9fd6f891eafb7996510dce9af0fbc (diff)
downloadupstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.tar.gz
upstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.tar.bz2
upstream-a65ec9fea7c9bf0ed2c247e37448f4189b01adf2.zip
mediatek: sync MT7986 device trees with upstream
Sync device tree files for MT7986 boards with what landed in upstream Linux tree to easy maintainance and also allow for a smooth update to Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 7a0ec001ff79b12beefb8f3773820bfedebbb340)
Diffstat (limited to 'target/linux/mediatek/filogic')
-rw-r--r--target/linux/mediatek/filogic/base-files/etc/board.d/05_compat-version15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/05_compat-version b/target/linux/mediatek/filogic/base-files/etc/board.d/05_compat-version
new file mode 100644
index 0000000000..e0e1a8ecc7
--- /dev/null
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/05_compat-version
@@ -0,0 +1,15 @@
+
+. /lib/functions.sh
+. /lib/functions/uci-defaults.sh
+
+board_config_update
+
+case "$(board_name)" in
+ bananapi,bpi-r3)
+ ucidef_set_compat_version "1.1"
+ ;;
+esac
+
+board_config_flush
+
+exit 0