2007-02-12 02:57:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for MMC/SD host controller drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
|
|
|
|
obj-$(CONFIG_MMC_PXA) += pxamci.o
|
|
|
|
obj-$(CONFIG_MMC_IMX) += imxmmc.o
|
2009-01-07 00:04:14 +08:00
|
|
|
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
|
2011-02-21 18:35:28 +08:00
|
|
|
obj-$(CONFIG_MMC_MXS) += mxs-mmc.o
|
2007-02-12 02:57:36 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
2008-03-19 00:35:49 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o
|
2010-09-20 22:51:28 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXA) += sdhci-pxa.o
|
2011-06-08 17:41:57 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXAV3) += sdhci-pxav3.o
|
2009-06-14 20:52:37 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
|
2010-05-27 05:42:10 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
|
2007-02-12 02:57:36 +08:00
|
|
|
obj-$(CONFIG_MMC_WBSD) += wbsd.o
|
|
|
|
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
|
|
|
|
obj-$(CONFIG_MMC_OMAP) += omap.o
|
2009-01-23 08:05:23 +08:00
|
|
|
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
|
2007-02-12 02:57:36 +08: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-07-01 00:35:03 +08:00
|
|
|
obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
|
2007-02-12 02:57:36 +08:00
|
|
|
obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
|
2010-07-29 19:28:01 +08:00
|
|
|
obj-$(CONFIG_MMC_MSM) += msm_sdcc.o
|
2009-02-14 16:07:26 +08:00
|
|
|
obj-$(CONFIG_MMC_MVSDIO) += mvsdio.o
|
2009-12-15 10:01:21 +08:00
|
|
|
obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
|
2007-08-09 00:12:54 +08:00
|
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
2008-12-30 23:15:28 +08:00
|
|
|
ifeq ($(CONFIG_OF),y)
|
|
|
|
obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
|
|
|
|
endif
|
2008-07-01 05:40:24 +08:00
|
|
|
obj-$(CONFIG_MMC_S3C) += s3cmci.o
|
2008-07-15 20:21:29 +08:00
|
|
|
obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
|
2008-07-15 23:02:21 +08:00
|
|
|
obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
|
2011-03-23 19:42:44 +08:00
|
|
|
obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o
|
|
|
|
tmio_mmc_core-y := tmio_mmc_pio.o
|
2011-03-14 16:52:33 +08:00
|
|
|
ifneq ($(CONFIG_MMC_SDHI),n)
|
|
|
|
tmio_mmc_core-y += tmio_mmc_dma.o
|
|
|
|
endif
|
|
|
|
obj-$(CONFIG_MMC_SDHI) += sh_mobile_sdhi.o
|
|
|
|
obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
|
2009-06-18 02:22:39 +08:00
|
|
|
obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
|
2009-12-15 10:01:32 +08:00
|
|
|
obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
|
2011-01-02 14:11:59 +08:00
|
|
|
obj-$(CONFIG_MMC_DW) += dw_mmc.o
|
2010-05-27 05:41:59 +08:00
|
|
|
obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
|
2010-07-16 04:06:04 +08:00
|
|
|
obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
|
2011-05-15 04:48:13 +08:00
|
|
|
obj-$(CONFIG_MMC_VUB300) += vub300.o
|
2010-09-02 22:15:08 +08:00
|
|
|
obj-$(CONFIG_MMC_USHC) += ushc.o
|
2008-07-15 20:21:29 +08:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-pltfm.o
|
2011-05-27 23:48:12 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_CNS3XXX) += sdhci-cns3xxx.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX) += sdhci-esdhc-imx.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI_DOVE) += sdhci-dove.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI_TEGRA) += sdhci-tegra.o
|
2011-05-27 23:48:14 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
|
2009-12-18 07:27:19 +08:00
|
|
|
|
2009-06-13 18:37:59 +08:00
|
|
|
ifeq ($(CONFIG_CB710_DEBUG),y)
|
|
|
|
CFLAGS-cb710-mmc += -DDEBUG
|
|
|
|
endif
|