ppc/pnv: Pass content of the "compatible" property to pnv_dt_xscom()
commitc396c58a02f16af7b44448a39f61ebf0af7b95b5
authorGreg Kurz <groug@kaod.org>
Fri, 13 Dec 2019 12:00:24 +0000 (13 13:00 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:59:11 +0000 (17 10:59 +1100)
treec296c8f4a6ddd09c2db81abf3feca0a471284b82
parent3f5b45ca4f95a65a5164b3219c7fec64eff08638
ppc/pnv: Pass content of the "compatible" property to pnv_dt_xscom()

Since pnv_dt_xscom() is called from chip specific dt_populate() hooks,
it shouldn't have to guess the chip type in order to populate the
"compatible" property. Just pass the compat string and its size as
arguments.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157623842430.360005.9513965612524265862.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_xscom.c
include/hw/ppc/pnv_xscom.h