diff options
author | Cédric Le Goater | 2019-12-05 19:44:54 +0100 |
---|---|---|
committer | David Gibson | 2019-12-17 00:39:48 +0100 |
commit | 2661f6ab2ba1694d7c19efdd622378817cb874ea (patch) | |
tree | 12b57ef1f9b55e1f1e6e93cf1bc778741f1dbee1 /include/hw/ppc/pnv_lpc.h | |
parent | ppc/pnv: add a PSI bridge model for POWER10 (diff) | |
download | qemu-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.h | 6 |
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 */ |