summaryrefslogtreecommitdiffstats
path: root/hw/omap2.c
diff options
context:
space:
mode:
authorPeter Maydell2011-08-28 18:22:20 +0200
committerPeter Maydell2011-08-28 18:37:13 +0200
commiteee0a1c67e46a22e7205c2240c4eaab12a9c6f72 (patch)
tree7a3ee7523bc368d7c596e8189395abd32154d249 /hw/omap2.c
parentomap_gpmc: Pull prefetch engine data into sub-struct (diff)
downloadqemu-eee0a1c67e46a22e7205c2240c4eaab12a9c6f72.tar.gz
qemu-eee0a1c67e46a22e7205c2240c4eaab12a9c6f72.tar.xz
qemu-eee0a1c67e46a22e7205c2240c4eaab12a9c6f72.zip
omap: Wire up the DMA request line to the GPMC
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/omap2.c')
-rw-r--r--hw/omap2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index 0feb7a55f3..ca088d9f53 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -2402,7 +2402,8 @@ struct omap_mpu_state_s *omap2420_mpu_init(unsigned long sdram_size,
sysbus_mmio_map(busdev, 4, omap_l4_region_base(ta, 5));
s->sdrc = omap_sdrc_init(0x68009000);
- s->gpmc = omap_gpmc_init(s, 0x6800a000, s->irq[0][OMAP_INT_24XX_GPMC_IRQ]);
+ s->gpmc = omap_gpmc_init(s, 0x6800a000, s->irq[0][OMAP_INT_24XX_GPMC_IRQ],
+ s->drq[OMAP24XX_DMA_GPMC]);
dinfo = drive_get(IF_SD, 0, 0);
if (!dinfo) {