git: f13f43e2ba56 - stable/13 - modules: Add sdhci_fdt module

Emmanuel Vadot manu at FreeBSD.org
Thu Jul 22 17:07:22 UTC 2021


The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=f13f43e2ba562cef259ac81e9359325acc0020c5

commit f13f43e2ba562cef259ac81e9359325acc0020c5
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-04-28 13:57:39 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-07-22 16:51:32 +0000

    modules: Add sdhci_fdt module
    
    This is a module for sdhci on fdt system
    
    (cherry picked from commit 9e08f82058cb5e3c04cdfe90fc7a0d109c7f2659)
---
 sys/modules/Makefile           | 2 ++
 sys/modules/sdhci_fdt/Makefile | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index ec5dd9a047c2..911aebe88269 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -333,6 +333,7 @@ SUBDIR=	\
 	${_sctp} \
 	sdhci \
 	${_sdhci_acpi} \
+	${_sdhci_fdt} \
 	sdhci_pci \
 	sdio \
 	sem \
@@ -492,6 +493,7 @@ SUBDIR+=	iscsi_initiator
 
 .if !empty(OPT_FDT)
 SUBDIR+=	fdt
+_sdhci_fdt=	sdhci_fdt
 .endif
 
 # Linuxulator
diff --git a/sys/modules/sdhci_fdt/Makefile b/sys/modules/sdhci_fdt/Makefile
new file mode 100644
index 000000000000..cc8c8b44f2e6
--- /dev/null
+++ b/sys/modules/sdhci_fdt/Makefile
@@ -0,0 +1,8 @@
+#
+
+.PATH: ${SRCTOP}/sys/dev/sdhci
+
+KMOD=	sdhci_fdt
+SRCS=	sdhci_fdt.c sdhci_fdt_gpio.c sdhci_if.h device_if.h bus_if.h mmcbr_if.h opt_mmccam.h opt_cam.h
+
+.include <bsd.kmod.mk>


More information about the dev-commits-src-all mailing list