diff options
author | Ian Roberts <ian.roberts@timesys.com> | 2024-04-22 15:00:02 -0400 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2024-04-26 15:30:48 +0900 |
commit | 74755c1fed1b09526b0993c729fe3ae909752fbd (patch) | |
tree | 3fef3097733358b8def32d09abe625c73d2da27e /doc/README.pcap | |
parent | d097f9e1299a3bdb7de468f0d9bbc63932f461cd (diff) | |
download | u-boot-74755c1fed1b09526b0993c729fe3ae909752fbd.tar.gz u-boot-74755c1fed1b09526b0993c729fe3ae909752fbd.tar.bz2 u-boot-74755c1fed1b09526b0993c729fe3ae909752fbd.zip |
mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops
Add this hook so that it can be overridden with driver specific
implementations. We also let the original sdhci_adma_write_desc()
accept &desc so that the function can set its new value. Then export
the function so that it could be reused by driver's specific
implementations.
The above is a port of Linux kernel commit 54552e4948cbf
In addition, allow drivers to allocate their own ADMA descriptor
tables if additional space is required.
Finally, fix the assignment of adma_addr to fix compiler warning
on 64-bit platforms that still use 32-bit DMA addressing.
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
Co-developed-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Greg Malysa <greg.malysa@timesys.com>
Signed-off-by: Ian Roberts <ian.roberts@timesys.com>
Diffstat (limited to 'doc/README.pcap')
0 files changed, 0 insertions, 0 deletions