2007-02-12 02:57:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for MMC/SD host controller drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
|
2014-07-29 10:50:30 +08:00
|
|
|
obj-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
|
2007-02-12 02:57:36 +08:00
|
|
|
obj-$(CONFIG_MMC_PXA) += pxamci.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
|
2011-12-27 21:48:43 +08:00
|
|
|
obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += sdhci-pci-data.o
|
2013-12-19 00:01:26 +08:00
|
|
|
obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += sdhci-pci-o2micro.o
|
2012-11-24 04:17:34 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_ACPI) += sdhci-acpi.o
|
2011-06-08 17:41:57 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXAV3) += sdhci-pxav3.o
|
2011-06-08 17:41:58 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXAV2) += sdhci-pxav2.o
|
2009-06-14 20:52:37 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
|
2013-03-21 16:27:19 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o
|
2015-01-20 16:05:18 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.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
|
2015-06-15 19:20:48 +08:00
|
|
|
obj-$(CONFIG_MMC_MTK) += mtk-sd.o
|
2007-02-12 02:57:36 +08:00
|
|
|
obj-$(CONFIG_MMC_OMAP) += omap.o
|
2009-01-23 08:05:23 +08:00
|
|
|
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.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
|
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
|
2013-01-22 07:43:46 +08:00
|
|
|
obj-$(CONFIG_MMC_GOLDFISH) += android-goldfish.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-06-30 23:50:12 +08:00
|
|
|
tmio_mmc_core-$(subst m,y,$(CONFIG_MMC_SDHI)) += tmio_mmc_dma.o
|
2011-03-14 16:52:33 +08:00
|
|
|
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
|
2012-01-13 18:34:57 +08:00
|
|
|
obj-$(CONFIG_MMC_DW_PLTFM) += dw_mmc-pltfm.o
|
2012-09-18 02:16:43 +08:00
|
|
|
obj-$(CONFIG_MMC_DW_EXYNOS) += dw_mmc-exynos.o
|
2014-01-09 22:35:11 +08:00
|
|
|
obj-$(CONFIG_MMC_DW_K3) += dw_mmc-k3.o
|
2012-01-13 18:34:57 +08:00
|
|
|
obj-$(CONFIG_MMC_DW_PCI) += dw_mmc-pci.o
|
2014-08-19 12:36:14 +08:00
|
|
|
obj-$(CONFIG_MMC_DW_ROCKCHIP) += dw_mmc-rockchip.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
|
2012-11-18 10:33:06 +08:00
|
|
|
obj-$(CONFIG_MMC_WMT) += wmt-sdmmc.o
|
2014-04-09 21:54:11 +08:00
|
|
|
obj-$(CONFIG_MMC_MOXART) += moxart-mmc.o
|
2014-05-12 20:04:48 +08:00
|
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi-mmc.o
|
2014-06-01 02:38:51 +08:00
|
|
|
obj-$(CONFIG_MMC_USDHI6ROL0) += usdhi6rol0.o
|
2014-11-12 00:54:55 +08:00
|
|
|
obj-$(CONFIG_MMC_TOSHIBA_PCI) += toshsd.o
|
2008-07-15 20:21:29 +08:00
|
|
|
|
2012-11-09 20:53:34 +08:00
|
|
|
obj-$(CONFIG_MMC_REALTEK_PCI) += rtsx_pci_sdmmc.o
|
2014-04-11 14:53:22 +08:00
|
|
|
obj-$(CONFIG_MMC_REALTEK_USB) += rtsx_usb_sdmmc.o
|
2012-11-09 20:53:34 +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
|
2013-12-03 02:02:36 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_ARASAN) += sdhci-of-arasan.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
|
2013-06-21 05:26:37 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_BCM_KONA) += sdhci-bcm-kona.o
|
2013-01-03 13:34:49 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_BCM2835) += sdhci-bcm2835.o
|
2015-02-10 08:06:30 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_IPROC) += sdhci-iproc.o
|
2014-03-10 23:37:12 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_MSM) += sdhci-msm.o
|
2014-07-09 23:07:32 +08:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_ST) += sdhci-st.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
|