summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/pnv_lpc.h
diff options
context:
space:
mode:
authorCédric Le Goater2019-12-05 19:44:54 +0100
committerDavid Gibson2019-12-17 00:39:48 +0100
commit2661f6ab2ba1694d7c19efdd622378817cb874ea (patch)
tree12b57ef1f9b55e1f1e6e93cf1bc778741f1dbee1 /include/hw/ppc/pnv_lpc.h
parentppc/pnv: add a PSI bridge model for POWER10 (diff)
downloadqemu-2661f6ab2ba1694d7c19efdd622378817cb874ea.tar.gz
qemu-2661f6ab2ba1694d7c19efdd622378817cb874ea.tar.xz
qemu-2661f6ab2ba1694d7c19efdd622378817cb874ea.zip
ppc/pnv: add a LPC Controller model for POWER10
Same a POWER9, only the MMIO window changes. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191205184454.10722-6-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/pnv_lpc.h')
-rw-r--r--include/hw/ppc/pnv_lpc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/ppc/pnv_lpc.h b/include/hw/ppc/pnv_lpc.h
index f659410716..c1ec85d5e2 100644
--- a/include/hw/ppc/pnv_lpc.h
+++ b/include/hw/ppc/pnv_lpc.h
@@ -31,6 +31,9 @@
#define TYPE_PNV9_LPC TYPE_PNV_LPC "-POWER9"
#define PNV9_LPC(obj) OBJECT_CHECK(PnvLpcController, (obj), TYPE_PNV9_LPC)
+#define TYPE_PNV10_LPC TYPE_PNV_LPC "-POWER10"
+#define PNV10_LPC(obj) OBJECT_CHECK(PnvLpcController, (obj), TYPE_PNV10_LPC)
+
typedef struct PnvLpcController {
DeviceState parent;
@@ -97,6 +100,7 @@ typedef struct PnvLpcClass {
struct PnvChip;
ISABus *pnv_lpc_isa_create(PnvLpcController *lpc, bool use_cpld, Error **errp);
-int pnv_dt_lpc(struct PnvChip *chip, void *fdt, int root_offset);
+int pnv_dt_lpc(struct PnvChip *chip, void *fdt, int root_offset,
+ uint64_t lpcm_addr, uint64_t lpcm_size);
#endif /* PPC_PNV_LPC_H */