ppc/pnv: Loop on the whole hierarchy to populate the DT with the XSCOM nodes
commit109dce37860aeb0e8894cb36b29d40f279c6bb6b
authorCédric Le Goater <clg@kaod.org>
Tue, 10 Dec 2019 13:58:44 +0000 (10 14:58 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:48 +0000 (17 10:39 +1100)
treebfe40ea82e03d5cf3568e3a1753203ea1cb37727
parentf0ec31b1e21718b728753bcbfad54862a587050f
ppc/pnv: Loop on the whole hierarchy to populate the DT with the XSCOM nodes

Some PnvXScomInterface objects lie a bit deeper (PnvPBCQState) than
the first layer, so we need to loop on the whole object hierarchy to
catch them.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191210135845.19773-2-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Corrected error in comment]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv_xscom.c