diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-03-07 23:35:38 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-03-12 14:33:04 +1100 |
commit | 64d011d56ea2cd72f8f8c937526f851685296231 (patch) | |
tree | 05ce92aead9310e695a3490bec7d1cc7f8bb713b /include | |
parent | 82514be28b02d8f347ceda9008df6bb5c2f0acef (diff) | |
download | qemu-64d011d56ea2cd72f8f8c937526f851685296231.zip qemu-64d011d56ea2cd72f8f8c937526f851685296231.tar.gz qemu-64d011d56ea2cd72f8f8c937526f851685296231.tar.bz2 |
ppc/pnv: add a 'dt_isa_nodename' to the chip
The ISA bus has a different DT nodename on POWER9. Compute the name
when the PnvChip is realized, that is before it is used by the machine
to populate the device tree with the ISA devices.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190307223548.20516-6-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/pnv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h index 8d80cb3..c81f157 100644 --- a/include/hw/ppc/pnv.h +++ b/include/hw/ppc/pnv.h @@ -58,6 +58,8 @@ typedef struct PnvChip { MemoryRegion xscom_mmio; MemoryRegion xscom; AddressSpace xscom_as; + + gchar *dt_isa_nodename; } PnvChip; #define TYPE_PNV8_CHIP "pnv8-chip" |