summaryrefslogtreecommitdiffstats
path: root/src/arch/ppc64
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-07-23 10:21:48 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-07-26 07:29:16 +0000
commit474781b2703de37ea7a484fd4cdfde5103e48d01 (patch)
treefa7238b182dd7014de388b3be4bcf611e67b7449 /src/arch/ppc64
parenta2d83c68a3ea6f2017fa9eabda72dfbafae0fc37 (diff)
downloadcoreboot-474781b2703de37ea7a484fd4cdfde5103e48d01.tar.gz
coreboot-474781b2703de37ea7a484fd4cdfde5103e48d01.tar.bz2
coreboot-474781b2703de37ea7a484fd4cdfde5103e48d01.zip
arch/{arm,ppc64,riscv}: Remove cpu_info
The structure and function are not currently used or implemented. x86 is the only arch that currently implements it. It is currently used for COOP_MULTITASKING and mp_init. Keeping around the unused definitions leads to confusion. BUG=b:179699789 TEST=none Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I0775ef03168f7f9c41b1b05cb8f12724d0458ba5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56572 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/ppc64')
-rw-r--r--src/arch/ppc64/include/arch/cpu.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/arch/ppc64/include/arch/cpu.h b/src/arch/ppc64/include/arch/cpu.h
index d41b94a45052..5e5ba30ab5df 100644
--- a/src/arch/ppc64/include/arch/cpu.h
+++ b/src/arch/ppc64/include/arch/cpu.h
@@ -12,22 +12,10 @@ struct cpu_driver {
const struct cpu_device_id *id_table;
};
-struct thread;
-
-struct cpu_info {
- struct device *cpu;
- unsigned long index;
-#if CONFIG(COOP_MULTITASKING)
- struct thread *thread;
-#endif
-};
-
struct cpuinfo_ppc64 {
uint8_t ppc64; /* CPU family */
uint8_t ppc64_vendor; /* CPU vendor */
uint8_t ppc64_model;
};
-struct cpu_info *cpu_info(void);
-
#endif /* __ARCH_CPU_H__ */