aboutsummaryrefslogtreecommitdiffstats
path: root/hw/soc_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/soc_dma.h')
-rw-r--r--hw/soc_dma.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/soc_dma.h b/hw/soc_dma.h
index c0ebb8d71..904b26c5a 100644
--- a/hw/soc_dma.h
+++ b/hw/soc_dma.h
@@ -18,6 +18,8 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "memory.h"
+
struct soc_dma_s;
struct soc_dma_ch_s;
typedef void (*soc_dma_io_t)(void *opaque, uint8_t *buf, int len);
@@ -105,9 +107,3 @@ static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma,
{
return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 1);
}
-
-static inline void soc_dma_port_add_mem_ram(struct soc_dma_s *dma,
- ram_addr_t offset, target_phys_addr_t virt_base, size_t size)
-{
- return soc_dma_port_add_mem(dma, qemu_get_ram_ptr(offset), virt_base, size);
-}