diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-24 11:49:29 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:40 +0200 |
commit | c304fed7eb1ed3117bd16e4f0e88edf092c6ccd5 (patch) | |
tree | 0f8ea11000406b8a038e85ee8c7f3443d3c0d112 /hw/omap1.c | |
parent | f32261498c83bf434dde74f7832ead98678cb8ae (diff) |
omap_mmc: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap1.c')
-rw-r--r-- | hw/omap1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap1.c b/hw/omap1.c index 619812c176..7d84a0e03c 100644 --- a/hw/omap1.c +++ b/hw/omap1.c @@ -3938,7 +3938,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory, fprintf(stderr, "qemu: missing SecureDigital device\n"); exit(1); } - s->mmc = omap_mmc_init(0xfffb7800, dinfo->bdrv, + s->mmc = omap_mmc_init(0xfffb7800, system_memory, dinfo->bdrv, qdev_get_gpio_in(s->ih[1], OMAP_INT_OQN), &s->drq[OMAP_DMA_MMC_TX], omap_findclk(s, "mmc_ck")); |