summaryrefslogtreecommitdiffstats
path: root/hw/sparc
diff options
context:
space:
mode:
authorMark Cave-Ayland2017-04-05 10:02:46 +0200
committerMark Cave-Ayland2017-04-21 10:01:49 +0200
commit8c95e1f20c18007f30bdba6a60e99aea37cc473b (patch)
treed413f0f539531875b09d5924ea2950a1eca041ea /hw/sparc
parentcg3: fix up size parameter for memory_region_get_dirty() (diff)
downloadqemu-8c95e1f20c18007f30bdba6a60e99aea37cc473b.tar.gz
qemu-8c95e1f20c18007f30bdba6a60e99aea37cc473b.tar.xz
qemu-8c95e1f20c18007f30bdba6a60e99aea37cc473b.zip
cg3: switch to load_image_mr() and remove prom-addr hack
Previous to the existence of load_image_mr(), the only way to load in the FCode ROM image was to pass in its physical address via qdev properties and use load_image_targphys(). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/sparc')
-rw-r--r--hw/sparc/sun4m.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
index 873cd7df9a..7a0922b595 100644
--- a/hw/sparc/sun4m.c
+++ b/hw/sparc/sun4m.c
@@ -544,7 +544,6 @@ static void cg3_init(hwaddr addr, qemu_irq irq, int vram_size, int width,
qdev_prop_set_uint16(dev, "width", width);
qdev_prop_set_uint16(dev, "height", height);
qdev_prop_set_uint16(dev, "depth", depth);
- qdev_prop_set_uint64(dev, "prom-addr", addr);
qdev_init_nofail(dev);
s = SYS_BUS_DEVICE(dev);