Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177556044
D61186.1794710748.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D61186.1794710748.diff
View Options
diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC
--- a/sys/arm64/conf/GENERIC
+++ b/sys/arm64/conf/GENERIC
@@ -38,6 +38,7 @@
include "std.hisilicon"
include "std.imx"
include "std.marvell"
+include "std.mediatek"
include "std.nvidia"
include "std.nxp"
include "std.qcom"
diff --git a/sys/arm64/conf/std.mediatek b/sys/arm64/conf/std.mediatek
new file mode 100644
--- /dev/null
+++ b/sys/arm64/conf/std.mediatek
@@ -0,0 +1,12 @@
+#
+# MediaTek SoC support
+#
+
+# SoC support
+options SOC_MEDIATEK
+options SOC_MEDIATEK_MT7986
+
+options FDT
+
+# DTBs
+makeoptions MODULES_EXTRA+="dtb/mediatek"
diff --git a/sys/conf/options.arm64 b/sys/conf/options.arm64
--- a/sys/conf/options.arm64
+++ b/sys/conf/options.arm64
@@ -39,6 +39,8 @@
SOC_HISI_HI6220 opt_soc.h
SOC_INTEL_STRATIX10 opt_soc.h
SOC_MARVELL_8K opt_soc.h
+SOC_MEDIATEK opt_soc.h
+SOC_MEDIATEK_MT7986 opt_soc.h # Depends on SOC_MEDIATEK
SOC_NVIDIA_TEGRA210 opt_soc.h
SOC_NXP_LS opt_soc.h
SOC_ROCKCHIP opt_soc.h
diff --git a/sys/modules/dtb/mediatek/Makefile b/sys/modules/dtb/mediatek/Makefile
new file mode 100644
--- /dev/null
+++ b/sys/modules/dtb/mediatek/Makefile
@@ -0,0 +1,5 @@
+# All the dts files for MediaTek systems we support.
+DTS= \
+ mediatek/mt7986a-bananapi-bpi-r3.dts
+
+.include <bsd.dtb.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 2:45 AM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41672840
Default Alt Text
D61186.1794710748.diff (1 KB)
Attached To
Mode
D61186: arm64: Add MediaTek SoC support skeleton
Attached
Detach File
Event Timeline