ppc: pnv: define core types statically
commit7383af1edcf2dd4e340df49d4b8752c966ef59e5
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:09 +0000 (9 21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:01 +0000 (17 10:34 +1100)
treef600a7ec5b3c5298c874af1211aa88ea4ed74fc0
parent35bdb9def236135a24c553c60d9e257985b18a1f
ppc: pnv: define core types statically

pnv core type definition doesn't have any fields that
require it to be defined at runtime. So replace code
that fills in TypeInfo at runtime with static TypeInfo
array that does the same at complie time.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv_core.c