From 16b7ae64103797b0ecab1dbb7c45df23b14810b9 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 3 Jun 2019 14:50:50 +1000 Subject: Remove POWER7 and POWER7+ support It's been a good long while since either OPAL POWER7 user touched a machine, and even longer since they'd have been okay using an old version rather than tracking master. There's also been no testing of OPAL on POWER7 systems for an awfully long time, so it's pretty safe to assume that it's very much bitrotted. It also saves a whole 14kb of xz compressed payload space. Signed-off-by: Stewart Smith Enthusiasticly-Acked-by: Oliver O'Halloran Signed-off-by: Stewart Smith --- hdata/cpu-common.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'hdata/cpu-common.c') diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c index f6dda4e..0924dd5 100644 --- a/hdata/cpu-common.c +++ b/hdata/cpu-common.c @@ -30,12 +30,6 @@ struct dt_node * add_core_common(struct dt_node *cpus, struct dt_node *cpu; uint32_t version; uint64_t freq; - const uint8_t pa_features_p7[] = { - 6, 0, - 0xf6, 0x3f, 0xc7, 0x00, 0x80, 0xc0 }; - const uint8_t pa_features_p7p[] = { - 6, 0, - 0xf6, 0x3f, 0xc7, 0xc0, 0x80, 0xc0 }; const uint8_t pa_features_p8[] = { 24, 0, 0xf6, 0x3f, 0xc7, 0xc0, 0x80, 0xd0, 0x80, 0x00, @@ -80,16 +74,6 @@ struct dt_node * add_core_common(struct dt_node *cpus, */ version = mfspr(SPR_PVR); switch(PVR_TYPE(version)) { - case PVR_TYPE_P7: - name = "PowerPC,POWER7"; - pa_features = pa_features_p7; - pa_features_size = sizeof(pa_features_p7); - break; - case PVR_TYPE_P7P: - name = "PowerPC,POWER7+"; - pa_features = pa_features_p7p; - pa_features_size = sizeof(pa_features_p7p); - break; case PVR_TYPE_P8E: case PVR_TYPE_P8: case PVR_TYPE_P8NVL: -- cgit v1.1