diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-24 14:32:34 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:41 +0200 |
commit | 6a0148e7b57515d94d158e84175da3a29de1f850 (patch) | |
tree | 408d99ca84e2f648dc20822588221f6b9eae52b8 /hw/omap2.c | |
parent | 9832b74c149b2859c3a4e142ba719a0acc4e2733 (diff) |
omap_sdrc: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap2.c')
-rw-r--r-- | hw/omap2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |