summaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-12-13 13:00:29 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2019-12-17 10:59:11 +1100
commit3caf7bd0a2874717c5cf052a9840efe9c7774f2e (patch)
tree6def8ddbf524dc704cd24eda011ec185d3adb517 /include/hw
parentc396c58a02f16af7b44448a39f61ebf0af7b95b5 (diff)
downloadqemu-3caf7bd0a2874717c5cf052a9840efe9c7774f2e.zip
ppc/pnv: Drop pnv_chip_is_power9() and pnv_chip_is_power10() helpers
They aren't used anymore. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <157623842986.360005.1787401623906380181.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/pnv.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h
index 17ca9a14ac..7a134a15d3 100644
--- a/include/hw/ppc/pnv.h
+++ b/include/hw/ppc/pnv.h
@@ -224,21 +224,11 @@ struct PnvMachineState {
PnvPnor *pnor;
};
-static inline bool pnv_chip_is_power9(const PnvChip *chip)
-{
- return PNV_CHIP_GET_CLASS(chip)->chip_type == PNV_CHIP_POWER9;
-}
-
PnvChip *pnv_get_chip(uint32_t chip_id);
#define PNV_FDT_ADDR 0x01000000
#define PNV_TIMEBASE_FREQ 512000000ULL
-static inline bool pnv_chip_is_power10(const PnvChip *chip)
-{
- return PNV_CHIP_GET_CLASS(chip)->chip_type == PNV_CHIP_POWER10;
-}
-
/*
* BMC helpers
*/