git: 9e08f82058cb - main - modules: Add sdhci_fdt module

Emmanuel Vadot manu at FreeBSD.org
Thu May 13 16:15:45 UTC 2021


The branch main has been updated by manu:

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

commit 9e08f82058cb5e3c04cdfe90fc7a0d109c7f2659
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-04-28 13:57:39 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-05-13 16:15:31 +0000

    modules: Add sdhci_fdt module
    
    This is a module for sdhci on fdt system
---
 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 9d5b84ccf58f..6a5097e9ded0 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -331,6 +331,7 @@ SUBDIR=	\
 	${_sctp} \
 	sdhci \
 	${_sdhci_acpi} \
+	${_sdhci_fdt} \
 	sdhci_pci \
 	sdio \
 	sem \
@@ -490,6 +491,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-main mailing list