2007-02-11 11:57:36 -07:00
|
|
|
#
|
|
|
|
# Makefile for MMC/SD host controller drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_MMC_DEBUG),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
|
|
|
|
obj-$(CONFIG_MMC_PXA) += pxamci.o
|
|
|
|
obj-$(CONFIG_MMC_IMX) += imxmmc.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
2008-03-18 10:35:49 -06:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o
|
2007-09-15 13:54:08 -06:00
|
|
|
obj-$(CONFIG_MMC_RICOH_MMC) += ricoh_mmc.o
|
2007-02-11 11:57:36 -07:00
|
|
|
obj-$(CONFIG_MMC_WBSD) += wbsd.o
|
|
|
|
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
|
|
|
|
obj-$(CONFIG_MMC_OMAP) += omap.o
|
2009-01-22 17:05:23 -07:00
|
|
|
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
|
2007-02-11 11:57:36 -07:00
|
|
|
obj-$(CONFIG_MMC_AT91) += at91_mci.o
|
atmel-mci: Driver for Atmel on-chip MMC controllers
This is a driver for the MMC controller on the AP7000 chips from
Atmel. It should in theory work on AT91 systems too with some
tweaking, but since the DMA interface is quite different, it's not
entirely clear if it's worth merging this with the at91_mci driver.
This driver has been around for a while in BSPs and kernel sources
provided by Atmel, but this particular version uses the generic DMA
Engine framework (with the slave extensions) instead of an
avr32-only DMA controller framework.
This driver can also use PIO transfers when no DMA channels are
available, and for transfers where using DMA may be difficult or
impractical for some reason (e.g. the DMA setup overhead is usually
not worth it for very short transfers, and badly aligned buffers or
lengths are difficult to handle.)
Currently, the driver only support PIO transfers. DMA support has been
split out to a separate patch to hopefully make it easier to review.
The driver has been tested using mmc-block and ext3fs on several SD,
SDHC and MMC+ cards. Reads and writes work fine, with read transfer
rates up to 3.5 MiB/s on fast cards with debugging disabled.
The driver has also been tested using the mmc_test module on the same
cards. All tests except 7, 9, 15 and 17 succeed. The first two are
unsupported by all the cards I have, so I don't know if the driver
handles this correctly. The last two fail because the hardware flags a
Data CRC Error instead of a Data Timeout error. I'm not sure how to deal
with that.
Documentation for this controller can be found in many data sheets from
Atmel, including the AT32AP7000 data sheet which can be found here:
http://www.atmel.com/dyn/products/datasheets.asp?family_id=682
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-06-30 10:35:03 -06:00
|
|
|
obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
|
2007-02-11 11:57:36 -07:00
|
|
|
obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
|
2007-08-08 10:12:54 -06:00
|
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
2008-12-30 08:15:28 -07:00
|
|
|
ifeq ($(CONFIG_OF),y)
|
|
|
|
obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
|
|
|
|
endif
|
2008-06-30 15:40:24 -06:00
|
|
|
obj-$(CONFIG_MMC_S3C) += s3cmci.o
|
2008-07-15 06:21:29 -06:00
|
|
|
obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
|
2008-07-15 09:02:21 -06:00
|
|
|
obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
|
2008-07-15 06:21:29 -06:00
|
|
|
|