diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2020-04-04 13:45:04 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-04-22 15:41:56 +0300 |
commit | d2661d8e9f9e83cb15ab981cb42e84c51bd85c2d (patch) | |
tree | ae9d5ab9133f92cee21f71fd0f1b2be59c801c0a /drivers/mmc/Kconfig | |
parent | 80a624f2f06b2b314795d9191bb7e29cd84e7f13 (diff) | |
download | u-boot-d2661d8e9f9e83cb15ab981cb42e84c51bd85c2d.tar.xz |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index bb38787eca..8f0df568b9 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. |