mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 05:43:47 +08:00
ppc/pnv: Drop PnvPsiClass::chip_type
It isn't used anymore. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <157623838530.360005.15470128760871845396.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
41c4ef7009
commit
248e4e924e
@ -574,7 +574,6 @@ static void pnv_psi_power8_class_init(ObjectClass *klass, void *data)
|
||||
dc->desc = "PowerNV PSI Controller POWER8";
|
||||
dc->realize = pnv_psi_power8_realize;
|
||||
|
||||
ppc->chip_type = PNV_CHIP_POWER8;
|
||||
ppc->xscom_pcba = PNV_XSCOM_PSIHB_BASE;
|
||||
ppc->xscom_size = PNV_XSCOM_PSIHB_SIZE;
|
||||
ppc->bar_mask = PSIHB_BAR_MASK;
|
||||
@ -884,7 +883,6 @@ static void pnv_psi_power9_class_init(ObjectClass *klass, void *data)
|
||||
dc->desc = "PowerNV PSI Controller POWER9";
|
||||
dc->realize = pnv_psi_power9_realize;
|
||||
|
||||
ppc->chip_type = PNV_CHIP_POWER9;
|
||||
ppc->xscom_pcba = PNV9_XSCOM_PSIHB_BASE;
|
||||
ppc->xscom_size = PNV9_XSCOM_PSIHB_SIZE;
|
||||
ppc->bar_mask = PSIHB9_BAR_MASK;
|
||||
@ -915,7 +913,6 @@ static void pnv_psi_power10_class_init(ObjectClass *klass, void *data)
|
||||
|
||||
dc->desc = "PowerNV PSI Controller POWER10";
|
||||
|
||||
ppc->chip_type = PNV_CHIP_POWER10;
|
||||
ppc->xscom_pcba = PNV10_XSCOM_PSIHB_BASE;
|
||||
ppc->xscom_size = PNV10_XSCOM_PSIHB_SIZE;
|
||||
ppc->compat = compat;
|
||||
|
@ -79,7 +79,6 @@ typedef struct Pnv9Psi {
|
||||
typedef struct PnvPsiClass {
|
||||
SysBusDeviceClass parent_class;
|
||||
|
||||
int chip_type;
|
||||
uint32_t xscom_pcba;
|
||||
uint32_t xscom_size;
|
||||
uint64_t bar_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user