From 60765b6ceeb4998a0d4220b3a53f1f185061da77 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Tue, 16 Jan 2018 13:28:21 +0000 Subject: sdhci: add a 'dma' property to the sysbus devices Add a 'dma' property allowing machine creation to provide the address-space SDHCI DMA operates on. [based on a patch from Alistair Francis from qemu/xilinx tag xilinx-v2016.1] Signed-off-by: Philippe Mathieu-Daudé Message-id: 20180115182436.2066-15-f4bug@amsat.org Signed-off-by: Peter Maydell --- include/hw/sd/sdhci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hw/sd/sdhci.h b/include/hw/sd/sdhci.h index 4a102b86ce..cb37182536 100644 --- a/include/hw/sd/sdhci.h +++ b/include/hw/sd/sdhci.h @@ -42,6 +42,7 @@ typedef struct SDHCIState { SDBus sdbus; MemoryRegion iomem; AddressSpace *dma_as; + MemoryRegion *dma_mr; QEMUTimer *insert_timer; /* timer for 'changing' sd card. */ QEMUTimer *transfer_timer; -- cgit v1.2.3-55-g7522