mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
soc_dma: drop soc_dma_port_add_mem_ram()
It's a trivial wrapper for soc_dma_port_add_mem(), which makes the memory API conversion more difficult because it takes a ram addr_t. Drop. Acked-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
9898b79abe
commit
90aeba9dac
3 changed files with 8 additions and 12 deletions
|
@ -105,9 +105,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue