tcx: switch to load_image_mr() and remove prom_addr hack
commit749763864208b14f100f1f8319aeb931134430fa
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 5 Apr 2017 08:02:47 +0000 (5 09:02 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 21 Apr 2017 08:02:04 +0000 (21 09:02 +0100)
tree321278a04e4b1fc20710fb9bfd1a6bcfca3ce92d
parent973945804d95878375b487c0c5c9b2556c5e4543
tcx: 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>
hw/display/tcx.c
hw/sparc/sun4m.c