diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-07-23 10:21:48 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-26 07:29:16 +0000 |
commit | 474781b2703de37ea7a484fd4cdfde5103e48d01 (patch) | |
tree | fa7238b182dd7014de388b3be4bcf611e67b7449 /src/arch/riscv | |
parent | a2d83c68a3ea6f2017fa9eabda72dfbafae0fc37 (diff) |
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/riscv')
-rw-r--r-- | src/arch/riscv/include/arch/cpu.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/riscv/include/arch/cpu.h b/src/arch/riscv/include/arch/cpu.h index d623e84241..7cf94615a6 100644 --- a/src/arch/riscv/include/arch/cpu.h +++ b/src/arch/riscv/include/arch/cpu.h @@ -13,16 +13,6 @@ 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_riscv { uint8_t riscv; /* CPU family */ uint8_t riscv_vendor; /* CPU vendor */ @@ -40,5 +30,4 @@ static inline int machine_xlen(void) return (1 << mxl) * 16; } -struct cpu_info *cpu_info(void); #endif /* __ARCH_CPU_H__ */ |