summaryrefslogtreecommitdiffstats
path: root/hw/ppc/e500plat.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-10-01 16:00:49 +0200
committerAlexander Graf <agraf@suse.de>2014-11-04 23:26:12 +0100
commitb88e77f49331f1187118b7ce2494ec169d3a865a (patch)
treef36415c20f485bb94f61fbb27888ad33e6542fb7 /hw/ppc/e500plat.c
parent228aa992fc5be408888c423b6a5b30daf18a96cf (diff)
downloadhqemu-b88e77f49331f1187118b7ce2494ec169d3a865a.zip
hqemu-b88e77f49331f1187118b7ce2494ec169d3a865a.tar.gz
PPC: E500: Instantiate MPC8XXX gpio controller on virt machine
With the e500 virt machine, we don't have to adhere to the exact hardware layout of an mpc8544ds board. So there we can just add a qoriq compatible GPIO controller into the system that we can add a power off hook to. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/e500plat.c')
-rw-r--r--hw/ppc/e500plat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c
index 27df31d..bafb56d 100644
--- a/hw/ppc/e500plat.c
+++ b/hw/ppc/e500plat.c
@@ -35,6 +35,7 @@ static void e500plat_init(MachineState *machine)
.pci_nr_slots = PCI_SLOT_MAX - 1,
.fixup_devtree = e500plat_fixup_devtree,
.mpic_version = OPENPIC_MODEL_FSL_MPIC_42,
+ .has_mpc8xxx_gpio = true,
};
/* Older KVM versions don't support EPR which breaks guests when we announce
OpenPOWER on IntegriCloud