diff options
author | Michael Walle <michael@walle.cc> | 2011-08-31 16:48:47 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-02 16:14:03 +0200 |
commit | 306f66b42f961e38442d1721523dbb4906b33afb (patch) | |
tree | 8ae342712f2bf22a2bb6e3ad090b5b3c8e846980 /hw/milkymist-softusb.c | |
parent | 883abf8d2c8728b62e6345aee882d79c829de34c (diff) |
milkymist-{minimac2,softusb}: rename memory names
Be consistent with other milkymist models.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/milkymist-softusb.c')
-rw-r--r-- | hw/milkymist-softusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/milkymist-softusb.c b/hw/milkymist-softusb.c index ef4d9ee2ce..ec5f3343d4 100644 --- a/hw/milkymist-softusb.c +++ b/hw/milkymist-softusb.c @@ -267,10 +267,10 @@ static int milkymist_softusb_init(SysBusDevice *dev) sysbus_init_mmio_region(dev, &s->regs_region); /* register pmem and dmem */ - memory_region_init_ram(&s->pmem, NULL, "milkymist_softusb.pmem", + memory_region_init_ram(&s->pmem, NULL, "milkymist-softusb.pmem", s->pmem_size); sysbus_add_memory(dev, s->pmem_base, &s->pmem); - memory_region_init_ram(&s->dmem, NULL, "milkymist_softusb.dmem", + memory_region_init_ram(&s->dmem, NULL, "milkymist-softusb.dmem", s->dmem_size); sysbus_add_memory(dev, s->dmem_base, &s->dmem); |