git: 325af3b99021 - main - arm64: add the lenovo t14s snapdragon X1E device tree to the build list
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Apr 2025 03:47:31 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=325af3b9902115a25f9c116489dbb7eaf630626f
commit 325af3b9902115a25f9c116489dbb7eaf630626f
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-02-10 05:49:27 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-04-08 03:46:44 +0000
arm64: add the lenovo t14s snapdragon X1E device tree to the build list
This is used by the t14s for FDT support.
.. which definitely doesn't work yet, but having it in the build is good.
Differential Revision: https://reviews.freebsd.org/D49690
Reviewed by: manu, phk
---
sys/arm64/conf/std.qcom | 3 +++
sys/modules/dtb/qcom/Makefile | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/sys/arm64/conf/std.qcom b/sys/arm64/conf/std.qcom
index af7e0add8b40..4051df46bf49 100644
--- a/sys/arm64/conf/std.qcom
+++ b/sys/arm64/conf/std.qcom
@@ -13,3 +13,6 @@ device uart_msm # Qualcomm MSM UART driver
device sdhci
options FDT
+
+# DTBs
+makeoptions MODULES_EXTRA+="dtb/qcom"
diff --git a/sys/modules/dtb/qcom/Makefile b/sys/modules/dtb/qcom/Makefile
new file mode 100644
index 000000000000..7a70e823a2e1
--- /dev/null
+++ b/sys/modules/dtb/qcom/Makefile
@@ -0,0 +1,4 @@
+.if ${MACHINE_ARCH} == "aarch64"
+DTS= qcom/x1e78100-lenovo-thinkpad-t14s.dts
+.endif
+.include <bsd.dtb.mk>