Since v1:
- split patch
- do not return MemTxResult from get_adma_description()
- single DMA read in SDHC_CTRL_ADMA2_64 case
Based-on: <20240730092138.32443-5-philmd@linaro.org>
Philippe Mathieu-Daudé (4):
hw/sd/sdhci: Reduce variables scope in sdhci_do_adma()
hw/sd/sdhci: Reduce variables scope in get_adma_description()
hw/sd/sdhci: Read ADMA2_64 descriptor with a single dma_memory_read()
hw/sd/sdhci: Check ADMA descriptors can be accessed
hw/sd/sdhci.c | 117 ++++++++++++++++++++++++++++++--------------------
1 file changed, 70 insertions(+), 47 deletions(-)