diff options
author | Alexander Graf <agraf@suse.de> | 2014-10-01 16:00:49 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-11-04 23:26:12 +0100 |
commit | b88e77f49331f1187118b7ce2494ec169d3a865a (patch) | |
tree | f36415c20f485bb94f61fbb27888ad33e6542fb7 /hw/ppc/e500plat.c | |
parent | 228aa992fc5be408888c423b6a5b30daf18a96cf (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c index 27df31ddb0..bafb56d9ff 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 |