Revision afbb5194 hw/omap1.c
b/hw/omap1.c | ||
---|---|---|
24 | 24 |
#include "sysemu.h" |
25 | 25 |
#include "qemu-timer.h" |
26 | 26 |
#include "qemu-char.h" |
27 |
#include "soc_dma.h" |
|
27 | 28 |
/* We use pc-style serial ports. */ |
28 | 29 |
#include "pc.h" |
29 | 30 |
|
... | ... | |
4704 | 4705 |
s->port[local ].addr_valid = omap_validate_local_addr; |
4705 | 4706 |
s->port[tipb_mpui].addr_valid = omap_validate_tipb_mpui_addr; |
4706 | 4707 |
|
4708 |
/* Register SDRAM and SRAM DMA ports for fast transfers. */ |
|
4709 |
soc_dma_port_add_mem_ram(s->dma, |
|
4710 |
emiff_base, OMAP_EMIFF_BASE, s->sdram_size); |
|
4711 |
soc_dma_port_add_mem_ram(s->dma, |
|
4712 |
imif_base, OMAP_IMIF_BASE, s->sram_size); |
|
4713 |
|
|
4707 | 4714 |
s->timer[0] = omap_mpu_timer_init(0xfffec500, |
4708 | 4715 |
s->irq[0][OMAP_INT_TIMER1], |
4709 | 4716 |
omap_findclk(s, "mputim_ck")); |
Also available in: Unified diff