diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-02-14 16:40:21 +0900 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-02-20 15:09:54 +0800 |
commit | c8cc18b7a7e05da529a3365bfa463e5c5c83efe8 (patch) | |
tree | 217edba96ba07c2d773ae58a8165ddc861b3f421 /include/sdhci.h | |
parent | 057516308a0a1892a54f16bce0577c9dcccc4857 (diff) |
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>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 01addb7a60..1358218270 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -321,6 +321,7 @@ struct sdhci_host { uint voltages; struct mmc_config cfg; + void *align_buffer; dma_addr_t start_addr; int flags; #define USE_SDMA (0x1 << 0) |