From 6a0148e7b57515d94d158e84175da3a29de1f850 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 24 Nov 2011 14:32:34 +0200 Subject: omap_sdrc: convert to memory API Signed-off-by: Avi Kivity --- hw/omap2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/omap2.c') diff --git a/hw/omap2.c b/hw/omap2.c index 5fc3fcf6fb..1da8e8b123 100644 --- a/hw/omap2.c +++ b/hw/omap2.c @@ -2422,7 +2422,7 @@ struct omap_mpu_state_s *omap2420_mpu_init(MemoryRegion *sysmem, sysbus_mmio_map(busdev, 3, omap_l4_region_base(ta, 4)); sysbus_mmio_map(busdev, 4, omap_l4_region_base(ta, 5)); - s->sdrc = omap_sdrc_init(0x68009000); + s->sdrc = omap_sdrc_init(sysmem, 0x68009000); s->gpmc = omap_gpmc_init(s, 0x6800a000, qdev_get_gpio_in(s->ih[0], OMAP_INT_24XX_GPMC_IRQ), s->drq[OMAP24XX_DMA_GPMC]); -- cgit v1.2.3