2007-02-11 21:57:36 +03:00
|
|
|
#
|
|
|
|
# Makefile for MMC/SD host controller drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
|
|
|
|
obj-$(CONFIG_MMC_PXA) += pxamci.o
|
2009-01-06 19:04:14 +03:00
|
|
|
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
|
2011-02-21 13:35:28 +03:00
|
|
|
obj-$(CONFIG_MMC_MXS) += mxs-mmc.o
|
2007-02-11 21:57:36 +03:00
|
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
2008-03-18 19:35:49 +03:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o
|
2011-12-27 17:48:43 +04:00
|
|
|
obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += sdhci-pci-data.o
|
2013-12-18 20:01:26 +04:00
|
|
|
obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += sdhci-pci-o2micro.o
|
2012-11-24 00:17:34 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_ACPI) += sdhci-acpi.o
|
2011-06-08 13:41:57 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXAV3) += sdhci-pxav3.o
|
2011-06-08 13:41:58 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PXAV2) += sdhci-pxav2.o
|
2009-06-14 16:52:37 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
|
2013-03-21 12:27:19 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o
|
2010-05-27 01:42:10 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
|
2007-02-11 21:57:36 +03:00
|
|
|
obj-$(CONFIG_MMC_WBSD) += wbsd.o
|
|
|
|
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
|
|
|
|
obj-$(CONFIG_MMC_OMAP) += omap.o
|
2009-01-23 03:05:23 +03: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-06-30 20:35:03 +04:00
|
|
|
obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
|
2007-02-11 21:57:36 +03:00
|
|
|
obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
|
2010-07-29 15:28:01 +04:00
|
|
|
obj-$(CONFIG_MMC_MSM) += msm_sdcc.o
|
2009-02-14 11:07:26 +03:00
|
|
|
obj-$(CONFIG_MMC_MVSDIO) += mvsdio.o
|
2009-12-15 05:01:21 +03:00
|
|
|
obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
|
2013-01-22 03:43:46 +04:00
|
|
|
obj-$(CONFIG_MMC_GOLDFISH) += android-goldfish.o
|
2007-08-08 20:12:54 +04:00
|
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
2008-12-30 18:15:28 +03:00
|
|
|
ifeq ($(CONFIG_OF),y)
|
|
|
|
obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
|
|
|
|
endif
|
2008-07-01 01:40:24 +04:00
|
|
|
obj-$(CONFIG_MMC_S3C) += s3cmci.o
|
2008-07-15 16:21:29 +04:00
|
|
|
obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
|
2008-07-15 19:02:21 +04:00
|
|
|
obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
|
2011-03-23 14:42:44 +03:00
|
|
|
obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o
|
|
|
|
tmio_mmc_core-y := tmio_mmc_pio.o
|
2011-06-30 19:50:12 +04:00
|
|
|
tmio_mmc_core-$(subst m,y,$(CONFIG_MMC_SDHI)) += tmio_mmc_dma.o
|
2011-03-14 11:52:33 +03:00
|
|
|
obj-$(CONFIG_MMC_SDHI) += sh_mobile_sdhi.o
|
|
|
|
obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
|
2009-06-17 22:22:39 +04:00
|
|
|
obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
|
2009-12-15 05:01:32 +03:00
|
|
|
obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
|
2011-01-02 09:11:59 +03:00
|
|
|
obj-$(CONFIG_MMC_DW) += dw_mmc.o
|
2012-01-13 14:34:57 +04:00
|
|
|
obj-$(CONFIG_MMC_DW_PLTFM) += dw_mmc-pltfm.o
|
2012-09-17 22:16:43 +04:00
|
|
|
obj-$(CONFIG_MMC_DW_EXYNOS) += dw_mmc-exynos.o
|
2014-01-09 18:35:11 +04:00
|
|
|
obj-$(CONFIG_MMC_DW_K3) += dw_mmc-k3.o
|
2012-01-13 14:34:57 +04:00
|
|
|
obj-$(CONFIG_MMC_DW_PCI) += dw_mmc-pci.o
|
2010-05-27 01:41:59 +04:00
|
|
|
obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
|
2010-07-16 00:06:04 +04:00
|
|
|
obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
|
2011-05-15 00:48:13 +04:00
|
|
|
obj-$(CONFIG_MMC_VUB300) += vub300.o
|
2010-09-02 18:15:08 +04:00
|
|
|
obj-$(CONFIG_MMC_USHC) += ushc.o
|
2012-11-18 06:33:06 +04:00
|
|
|
obj-$(CONFIG_MMC_WMT) += wmt-sdmmc.o
|
2014-04-09 17:54:11 +04:00
|
|
|
obj-$(CONFIG_MMC_MOXART) += moxart-mmc.o
|
2014-05-12 16:04:48 +04:00
|
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi-mmc.o
|
2008-07-15 16:21:29 +04:00
|
|
|
|
2012-11-09 16:53:34 +04:00
|
|
|
obj-$(CONFIG_MMC_REALTEK_PCI) += rtsx_pci_sdmmc.o
|
2014-04-11 10:53:22 +04:00
|
|
|
obj-$(CONFIG_MMC_REALTEK_USB) += rtsx_usb_sdmmc.o
|
2012-11-09 16:53:34 +04:00
|
|
|
|
2011-06-02 06:57:50 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-pltfm.o
|
2011-05-27 19:48:12 +04: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-02 22:02:36 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_ARASAN) += sdhci-of-arasan.o
|
2011-05-27 19:48:14 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
|
|
|
|
obj-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
|
2013-06-21 01:26:37 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_BCM_KONA) += sdhci-bcm-kona.o
|
2013-01-03 09:34:49 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_BCM2835) += sdhci-bcm2835.o
|
2014-03-10 19:37:12 +04:00
|
|
|
obj-$(CONFIG_MMC_SDHCI_MSM) += sdhci-msm.o
|
2009-12-18 02:27:19 +03:00
|
|
|
|
2009-06-13 14:37:59 +04:00
|
|
|
ifeq ($(CONFIG_CB710_DEBUG),y)
|
|
|
|
CFLAGS-cb710-mmc += -DDEBUG
|
|
|
|
endif
|