]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: reduce code duplication for aligned buffer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Feb 2020 07:40:22 +0000 (16:40 +0900)
committerPeng Fan <peng.fan@nxp.com>
Thu, 20 Feb 2020 07:09:55 +0000 (15:09 +0800)
commitf5df6aa1e64bdde7c26cf349dfd3a773f5c18e26
tree69ac8c05a2c44ecf8d97662ea99f79fd50747c3c
parentc8cc18b7a7e05da529a3365bfa463e5c5c83efe8
mmc: sdhci: reduce code duplication for aligned buffer

The same code is run for both SDHCI_QUIRK_32BIT_DMA_ADDR and
define(CONFIG_FIXED_SDHCI_ALIGNED_BUFFER).

Unify the code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sdhci.c
include/sdhci.h