diff options
author | Igor Mammedov | 2017-10-09 21:50:51 +0200 |
---|---|---|
committer | David Gibson | 2017-10-17 01:34:00 +0200 |
commit | 59e816fd3eaf6009b82c08bf7bb8d50764b866d9 (patch) | |
tree | 15e1a4379198c829b81db6857627381f40d3089c /hw/ppc/mpc8544ds.c | |
parent | qom: add helper macro DEFINE_TYPES() (diff) | |
download | qemu-59e816fd3eaf6009b82c08bf7bb8d50764b866d9.tar.gz qemu-59e816fd3eaf6009b82c08bf7bb8d50764b866d9.tar.xz qemu-59e816fd3eaf6009b82c08bf7bb8d50764b866d9.zip |
ppc: mpc8544ds/e500plat: use generic cpu_model parsing
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/mpc8544ds.c')
-rw-r--r-- | hw/ppc/mpc8544ds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c index 27b8289016..1717953ec7 100644 --- a/hw/ppc/mpc8544ds.c +++ b/hw/ppc/mpc8544ds.c @@ -16,6 +16,7 @@ #include "sysemu/device_tree.h" #include "hw/ppc/openpic.h" #include "qemu/error-report.h" +#include "cpu.h" static void mpc8544ds_fixup_devtree(PPCE500Params *params, void *fdt) { @@ -55,6 +56,7 @@ static void ppce500_machine_init(MachineClass *mc) mc->desc = "mpc8544ds"; mc->init = mpc8544ds_init; mc->max_cpus = 15; + mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("e500v2_v30"); } DEFINE_MACHINE("mpc8544ds", ppce500_machine_init) |