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 --- hw/slw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hw/slw.c') diff --git a/hw/slw.c b/hw/slw.c index 096202b..c872b63 100644 --- a/hw/slw.c +++ b/hw/slw.c @@ -384,7 +384,7 @@ struct cpu_idle_states { u32 flags; }; -static struct cpu_idle_states power7_cpu_idle_states[] = { +static struct cpu_idle_states nap_only_cpu_idle_states[] = { { /* nap */ .name = "nap", .latency_ns = 4000, @@ -843,8 +843,8 @@ void add_cpu_idle_state_properties(void) } } else { - states = power7_cpu_idle_states; - nr_states = ARRAY_SIZE(power7_cpu_idle_states); + states = nap_only_cpu_idle_states; + nr_states = ARRAY_SIZE(nap_only_cpu_idle_states); } -- cgit v1.1