summaryrefslogtreecommitdiffstats
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-05 11:36:32 +0100
commit34bb33094a5e49c727b76b20394d252f3e2ba70d (patch)
treef3d79883be8f98845bcee8ae97001423090f9c5f /target/linux/mediatek/mt7622
parentec50d2d366fecb6f4bac2ae9d5cfa4aba9cf7bbc (diff)
downloadopenwrt-34bb33094a5e49c727b76b20394d252f3e2ba70d.tar.gz
openwrt-34bb33094a5e49c727b76b20394d252f3e2ba70d.tar.bz2
openwrt-34bb33094a5e49c727b76b20394d252f3e2ba70d.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>
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