cpu/x86: Drop !CPU_INFO_V2 code
Now that all platforms use parallel_mp this is the only codepath used for cpu_info() local thread storage. Change-Id: I119214e703aea8a4fe93f83b784159cf86d859d3 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69122 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -2,7 +2,6 @@ if ARCH_X86
|
||||
|
||||
config PARALLEL_MP
|
||||
def_bool y
|
||||
select CPU_INFO_V2
|
||||
help
|
||||
This option uses common MP infrastructure for bringing up APs
|
||||
in parallel. It additionally provides a more flexible mechanism
|
||||
@@ -210,12 +209,4 @@ config RESERVE_MTRRS_FOR_OS
|
||||
However, modern OSes use PAT to control cacheability instead of
|
||||
using MTRRs.
|
||||
|
||||
config CPU_INFO_V2
|
||||
bool
|
||||
depends on PARALLEL_MP
|
||||
help
|
||||
Enables the new method of locating struct cpu_info. This new method
|
||||
uses the %gs segment to locate the cpu_info pointer. The old method
|
||||
relied on the stack being CONFIG_STACK_SIZE aligned.
|
||||
|
||||
endif # ARCH_X86
|
||||
|
Reference in New Issue
Block a user