mac_oldworld: use object link to pass heathrow PIC object to macio
commit017812df5d97e587a6eef03ec5a9e94a471439f9
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Feb 2018 20:32:38 +0000 (28 20:32 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 6 Mar 2018 02:16:29 +0000 (6 13:16 +1100)
tree6cfa1f14a296c33a2398df3cee037e4fef51f51d
parente1218e48128164d0971322f4577eb3ad5f2a17f5
mac_oldworld: use object link to pass heathrow PIC object to macio

Also switch macio_oldworld_realize() over to use it rather than using the pic_mem
memory region directly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/macio.c
hw/ppc/mac_oldworld.c
include/hw/misc/macio/macio.h