summaryrefslogtreecommitdiff
path: root/hw/omap2.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-08-28 16:22:20 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-08-28 16:37:13 +0000
commiteee0a1c67e46a22e7205c2240c4eaab12a9c6f72 (patch)
tree7a3ee7523bc368d7c596e8189395abd32154d249 /hw/omap2.c
parentef20677ca654f0d6e848edf93a9975b350fec2b7 (diff)
downloadqemu-eee0a1c67e46a22e7205c2240c4eaab12a9c6f72.tar.gz
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) {