Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 16:15:45 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9e08f82058cb - main - modules: Add sdhci_fdt module
Message-ID:  <202105131615.14DGFjFr081474@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

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

commit 9e08f82058cb5e3c04cdfe90fc7a0d109c7f2659
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-04-28 13:57:39 +0000
Commit:     Emmanuel Vadot <manu@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105131615.14DGFjFr081474>