mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -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
|
@ -3848,10 +3848,10 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory,
|
|||
s->port[tipb_mpui].addr_valid = omap_validate_tipb_mpui_addr;
|
||||
|
||||
/* Register SDRAM and SRAM DMA ports for fast transfers. */
|
||||
soc_dma_port_add_mem_ram(s->dma,
|
||||
emiff_base, OMAP_EMIFF_BASE, s->sdram_size);
|
||||
soc_dma_port_add_mem_ram(s->dma,
|
||||
imif_base, OMAP_IMIF_BASE, s->sram_size);
|
||||
soc_dma_port_add_mem(s->dma, qemu_get_ram_ptr(emiff_base),
|
||||
OMAP_EMIFF_BASE, s->sdram_size);
|
||||
soc_dma_port_add_mem(s->dma, qemu_get_ram_ptr(imif_base),
|
||||
OMAP_IMIF_BASE, s->sram_size);
|
||||
|
||||
s->timer[0] = omap_mpu_timer_init(system_memory, 0xfffec500,
|
||||
s->irq[0][OMAP_INT_TIMER1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue