aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorJean-Jacques Hiblot2018-02-23 10:40:18 +0100
committerJaehoon Chung2018-02-26 10:52:15 +0900
commit27a4b3bc4c165695cac65e92a5cb2537367a2392 (patch)
treeee5177226c4537bf259ba1d7bdf88e2ffe530c98 /drivers/mmc/Kconfig
parentc7d08d80c3e792bfbd239b5aafccd5134e91251d (diff)
mmc: omap_hsmmc: make it possible to compile out ADMA support
Some platforms don't have ADMA controllers. For those platforms, compiling it out reduces the size of the binary by about 600 bytes. Leaving the support in doesn't break things as the driver checks at runtime if the ADMA2 controller is present. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r--drivers/mmc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index f2d82565822..88a13591adf 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -239,6 +239,15 @@ config MMC_OMAP_HS
If unsure, say N.
+config MMC_OMAP_HS_ADMA
+ bool "ADMA support for OMAP HS MMC"
+ depends on MMC_OMAP_HS && !OMAP34XX
+ default y if !AM33XX
+ help
+ This enables support for the ADMA2 controller (SDA3.00 Part A2 DMA
+ controller). If supported by the hardware, selecting this option will
+ increase performances.
+
config MMC_OMAP36XX_PINS
bool "Enable MMC1 on OMAP36xx/37xx"
depends on OMAP34XX && MMC_OMAP_HS