mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
057516308a
commit
c8cc18b7a7
2 changed files with 14 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue