summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-14 16:40:21 +0900
committerPeng Fan <peng.fan@nxp.com>2020-02-20 15:09:54 +0800
commitc8cc18b7a7e05da529a3365bfa463e5c5c83efe8 (patch)
tree217edba96ba07c2d773ae58a8165ddc861b3f421 /include/sdhci.h
parent057516308a0a1892a54f16bce0577c9dcccc4857 (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.h1
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)