aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-04 19:55:11 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-06-09 19:23:03 +0100
commitbca04036ffc9fd6f891eafb7996510dce9af0fbc (patch)
tree968eaab7873b72919695eb6893a98f7ec609c133 /target/linux/mediatek/mt7622
parent5f3c5848e3a8e70f3e47e4e1b17cbc8338f9e562 (diff)
downloadupstream-bca04036ffc9fd6f891eafb7996510dce9af0fbc.tar.gz
upstream-bca04036ffc9fd6f891eafb7996510dce9af0fbc.tar.bz2
upstream-bca04036ffc9fd6f891eafb7996510dce9af0fbc.zip
mediatek: use updated device tree overlay mechanism for BPi-R64
Use new device tree overlay mechanism for the BananaPi BPi-R64 board. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 34bb33094a5e49c727b76b20394d252f3e2ba70d)
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rw-r--r--target/linux/mediatek/mt7622/base-files/etc/board.d/05_compat-version15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7622/base-files/etc/board.d/05_compat-version b/target/linux/mediatek/mt7622/base-files/etc/board.d/05_compat-version
new file mode 100644
index 0000000000..c8fb2c08f6
--- /dev/null
+++ b/target/linux/mediatek/mt7622/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-r64)
+ ucidef_set_compat_version "1.1"
+ ;;
+esac
+
+board_config_flush
+
+exit 0