]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: put the aligned buffer pointer to struct sdhci_host
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Feb 2020 07:40:21 +0000 (16:40 +0900)
committerPeng Fan <peng.fan@nxp.com>
Thu, 20 Feb 2020 07:09:54 +0000 (15:09 +0800)
commitc8cc18b7a7e05da529a3365bfa463e5c5c83efe8
tree217edba96ba07c2d773ae58a8165ddc861b3f421
parent057516308a0a1892a54f16bce0577c9dcccc4857
mmc: sdhci: put the aligned buffer pointer to struct sdhci_host

Using the global variable does not look nice.

Add a new field sthci::align_buffer to point to the bounce buffer.

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