]> git.baikalelectronics.ru Git - uboot.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)
commit278dd1ad3913d230c5aa8e958509618d44f0515b
tree217edba96ba07c2d773ae58a8165ddc861b3f421
parent83c04bfb448cc5951bd2775cb6d9f5404ecfe841
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