aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2020-04-04 12:45:04 +0200
committerPeng Fan <peng.fan@nxp.com>2020-04-22 20:41:56 +0800
commitd2661d8e9f9e83cb15ab981cb42e84c51bd85c2d (patch)
treeae9d5ab9133f92cee21f71fd0f1b2be59c801c0a /drivers/mmc/Kconfig
parent80a624f2f06b2b314795d9191bb7e29cd84e7f13 (diff)
downloadu-boot-d2661d8e9f9e83cb15ab981cb42e84c51bd85c2d.zip
u-boot-d2661d8e9f9e83cb15ab981cb42e84c51bd85c2d.tar.gz
u-boot-d2661d8e9f9e83cb15ab981cb42e84c51bd85c2d.tar.bz2
mmc: tmio: sdhi: Use bounce buffer to avoid DMA limitations
The R-Car SDHI DMA controller has various restrictions. To work around those restrictions without falling back to PIO, implement bounce buffer with custom alignment check function which tests for those limitations. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r--drivers/mmc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index bb38787..8f0df56 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -358,6 +358,7 @@ config RENESAS_SDHI
depends on ARCH_RMOBILE
depends on BLK && DM_MMC
depends on OF_CONTROL
+ select BOUNCE_BUFFER
help
This selects support for the Matsushita SD/MMC Host Controller on
Renesas R-Car SoCs.