061fed753e
When we send MMC commads that contain data the controller provides no description of the order of events and we need to be able to send data from and to the controller "when needed". Changed the code to react on buffer read and buffer write ready based on interrupts. Change-Id: I60c9140bf0e45b74be6475054564d4e1bd89f21e
23 lines
360 B
Makefile
23 lines
360 B
Makefile
# Makefile for the mmc driver.
|
|
PROG= mmc
|
|
SRCS= mmcblk.c mmchost_dummy.c sdhcreg.h sdmmcreg.h
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "earm"
|
|
SRCS += mmchost_mmchs.c
|
|
.endif
|
|
|
|
|
|
DPADD+= ${LIBBLOCKDRIVER} ${LIBSYS}
|
|
LDADD+= -lblockdriver -lsys
|
|
CLEANFILES+=.depend mmcblk.d
|
|
|
|
#
|
|
# This is a system driver.
|
|
CPPFLAGS+= -D_SYSTEM=1
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
.include <minix.service.mk>
|