ppc: pnv: drop PnvCoreClass::cpu_oc field
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:08 +0000 (21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:01 +0000 (10:34 +1100)
commit35bdb9def236135a24c553c60d9e257985b18a1f
treebb59c9c7bf7b28eaf9efc17440ee67bcf04679c2
parent7fd544d8a754129b1a09281535a16daffc781f92
ppc: pnv: drop PnvCoreClass::cpu_oc field

deduce cpu type directly from core type instead of
maintaining type mapping in PnvCoreClass::cpu_oc and doing
extra cpu_model parsing in pnv_core_class_init()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv_core.c
include/hw/ppc/pnv_core.h