ppc: pnv: drop PnvChipClass::cpu_model field
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:10 +0000 (21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:01 +0000 (10:34 +1100)
commit40abf43f72b584d426d7b27ab2528ecd12eceff6
treec78e65ed6b6d925bcf987dd0ee410e8d7b0b27af
parent7383af1edcf2dd4e340df49d4b8752c966ef59e5
ppc: pnv: drop PnvChipClass::cpu_model field

deduce core type directly from chip type instead of
maintaining type mapping in PnvChipClass::cpu_model.

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.c
hw/ppc/pnv_core.c
include/hw/ppc/pnv.h
include/hw/ppc/pnv_core.h