sdhci-spear: ST SPEAr based SDHCI controller glue
[safe/jmp/linux-2.6] / drivers / mmc / host / Kconfig
index 9d405b1..e171e77 100644 (file)
@@ -44,6 +44,19 @@ config MMC_SDHCI_IO_ACCESSORS
          This is silent Kconfig symbol that is selected by the drivers that
          need to overwrite SDHCI IO memory accessors.
 
+config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
+       bool
+       select MMC_SDHCI_IO_ACCESSORS
+       help
+         This option is selected by drivers running on big endian hosts
+         and performing I/O to a SDHCI controller through a bus that
+         implements a hardware byte swapper using a 32-bit datum.
+         This endian mapping mode is called "data invariance" and
+         has the effect of scrambling the addresses and formats of data
+         accessed in sizes other than the datum size.
+
+         This is the case for the Freescale eSDHC and Nintendo Wii SDHCI.
+
 config MMC_SDHCI_PCI
        tristate "SDHCI support on PCI bus"
        depends on MMC_SDHCI && PCI
@@ -56,30 +69,44 @@ config MMC_SDHCI_PCI
          If unsure, say N.
 
 config MMC_RICOH_MMC
-       tristate "Ricoh MMC Controller Disabler  (EXPERIMENTAL)"
+       bool "Ricoh MMC Controller Disabler  (EXPERIMENTAL)"
        depends on MMC_SDHCI_PCI
        help
-         This selects the disabler for the Ricoh MMC Controller. This
+         This adds a pci quirk to disable Ricoh MMC Controller. This
          proprietary controller is unnecessary because the SDHCI driver
          supports MMC cards on the SD controller, but if it is not
          disabled, it will steal the MMC cards away - rendering them
-         useless. It is safe to select this driver even if you don't
+         useless. It is safe to select this even if you don't
          have a Ricoh based card reader.
 
-
-         To compile this driver as a module, choose M here:
-         the module will be called ricoh_mmc.
-
          If unsure, say Y.
 
 config MMC_SDHCI_OF
        tristate "SDHCI support on OpenFirmware platforms"
        depends on MMC_SDHCI && PPC_OF
-       select MMC_SDHCI_IO_ACCESSORS
        help
          This selects the OF support for Secure Digital Host Controller
-         Interfaces. So far, only the Freescale eSDHC controller is known
-         to exist on OF platforms.
+         Interfaces.
+
+         If unsure, say N.
+
+config MMC_SDHCI_OF_ESDHC
+       bool "SDHCI OF support for the Freescale eSDHC controller"
+       depends on MMC_SDHCI_OF
+       select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
+       help
+         This selects the Freescale eSDHC controller support.
+
+         If unsure, say N.
+
+config MMC_SDHCI_OF_HLWD
+       bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
+       depends on MMC_SDHCI_OF
+       select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
+       help
+         This selects the Secure Digital Host Controller Interface (SDHCI)
+         found in the "Hollywood" chipset of the Nintendo Wii video game
+         console.
 
          If unsure, say N.
 
@@ -109,6 +136,18 @@ config MMC_SDHCI_S3C
 
          If unsure, say N.
 
+config MMC_SDHCI_SPEAR
+       tristate "SDHCI support on ST SPEAr platform"
+       depends on MMC_SDHCI && PLAT_SPEAR
+       help
+         This selects the Secure Digital Host Controller Interface (SDHCI)
+         often referrered to as the HSMMC block in some of the ST SPEAR range
+         of SoC
+
+         If you have a controller with this interface, say Y or M here.
+
+         If unsure, say N.
+
 config MMC_SDHCI_S3C_DMA
        bool "DMA support on S3C SDHCI"
        depends on MMC_SDHCI_S3C && EXPERIMENTAL
@@ -162,6 +201,7 @@ config MMC_AU1X
 
 choice
        prompt "Atmel SD/MMC Driver"
+       depends on AVR32 || ARCH_AT91
        default MMC_ATMELMCI if AVR32
        help
          Choose which driver to use for the Atmel MCI Silicon
@@ -337,7 +377,7 @@ config MMC_SDRICOH_CS
 
 config MMC_TMIO
        tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
-       depends on MFD_TMIO || MFD_ASIC3 || SUPERH
+       depends on MFD_TMIO || MFD_ASIC3 || MFD_SH_MOBILE_SDHI
        help
          This provides support for the SD/MMC cell found in TC6393XB,
          T7L66XB and also HTC ASIC3
@@ -368,7 +408,7 @@ config MMC_VIA_SDMMC
 
 config SDH_BFIN
        tristate "Blackfin Secure Digital Host support"
-       depends on MMC && ((BF54x && !BF544) || (BF51x && !BF512))
+       depends on (BF54x && !BF544) || (BF51x && !BF512)
        help
          If you say yes here you will get support for the Blackfin on-chip
          Secure Digital Host interface.  This includes support for MMC and
@@ -384,3 +424,11 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
        depends on SDH_BFIN
        help
          If you say yes here SD-Cards may work on the EZkit.
+
+config MMC_SH_MMCIF
+       tristate "SuperH Internal MMCIF support"
+       depends on MMC_BLOCK && (SUPERH || ARCH_SHMOBILE)
+       help
+         This selects the MMC Host Interface controler (MMCIF).
+
+         This driver supports MMCIF in sh7724/sh7757/sh7372.