diff options
Diffstat (limited to 'drivers/mmc/host/Kconfig')
| -rw-r--r-- | drivers/mmc/host/Kconfig | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 9d405b181781..d9234648199a 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
| @@ -44,6 +44,19 @@ config MMC_SDHCI_IO_ACCESSORS | |||
| 44 | This is silent Kconfig symbol that is selected by the drivers that | 44 | This is silent Kconfig symbol that is selected by the drivers that |
| 45 | need to overwrite SDHCI IO memory accessors. | 45 | need to overwrite SDHCI IO memory accessors. |
| 46 | 46 | ||
| 47 | config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER | ||
| 48 | bool | ||
| 49 | select MMC_SDHCI_IO_ACCESSORS | ||
| 50 | help | ||
| 51 | This option is selected by drivers running on big endian hosts | ||
| 52 | and performing I/O to a SDHCI controller through a bus that | ||
| 53 | implements a hardware byte swapper using a 32-bit datum. | ||
| 54 | This endian mapping mode is called "data invariance" and | ||
| 55 | has the effect of scrambling the addresses and formats of data | ||
| 56 | accessed in sizes other than the datum size. | ||
| 57 | |||
| 58 | This is the case for the Freescale eSDHC. | ||
| 59 | |||
| 47 | config MMC_SDHCI_PCI | 60 | config MMC_SDHCI_PCI |
| 48 | tristate "SDHCI support on PCI bus" | 61 | tristate "SDHCI support on PCI bus" |
| 49 | depends on MMC_SDHCI && PCI | 62 | depends on MMC_SDHCI && PCI |
| @@ -75,11 +88,18 @@ config MMC_RICOH_MMC | |||
| 75 | config MMC_SDHCI_OF | 88 | config MMC_SDHCI_OF |
| 76 | tristate "SDHCI support on OpenFirmware platforms" | 89 | tristate "SDHCI support on OpenFirmware platforms" |
| 77 | depends on MMC_SDHCI && PPC_OF | 90 | depends on MMC_SDHCI && PPC_OF |
| 78 | select MMC_SDHCI_IO_ACCESSORS | ||
| 79 | help | 91 | help |
| 80 | This selects the OF support for Secure Digital Host Controller | 92 | This selects the OF support for Secure Digital Host Controller |
| 81 | Interfaces. So far, only the Freescale eSDHC controller is known | 93 | Interfaces. |
| 82 | to exist on OF platforms. | 94 | |
| 95 | If unsure, say N. | ||
| 96 | |||
| 97 | config MMC_SDHCI_OF_ESDHC | ||
| 98 | bool "SDHCI OF support for the Freescale eSDHC controller" | ||
| 99 | depends on MMC_SDHCI_OF | ||
| 100 | select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER | ||
| 101 | help | ||
| 102 | This selects the Freescale eSDHC controller support. | ||
| 83 | 103 | ||
| 84 | If unsure, say N. | 104 | If unsure, say N. |
| 85 | 105 | ||
