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