aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBojan Novković <bnovkov@FreeBSD.org>2025-01-18 19:14:25 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2025-08-01 12:35:54 +0000
commite9dd9f95f82f6244a6eafd073531dcf6b6a3953d (patch)
tree2f3326f2ddf58e9983a5114d313376a44280a5b6
parent092b70dadb1bd511e7b500144aed3d80b32c5f2c (diff)
riscv: Add the sdhci_fdt driver to the build
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48534
-rw-r--r--sys/modules/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 99c9ec9dcd01..5315d518afd8 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -716,7 +716,8 @@ _rockchip= rockchip
.endif
.endif
-.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
+ ${MACHINE_CPUARCH} == "riscv"
.if !empty(OPT_FDT)
_sdhci_fdt= sdhci_fdt
.endif