cpu/intel/*/Kconfig: move selection of CPU_X86_CACHE_HELPER

Move the selection of CPU_X86_CACHE_HELPER to the Kconfig file of the
CPU models which call the x86_enable_cache function that gets added to
the build by selecting this option.

Change-Id: Ie75682f5d20a79fc2f3aab9b8a2c3ccf79d1ad5c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44227
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2021-10-23 00:06:28 +02:00 committed by Felix Held
parent 965b05adaf
commit 8290f4c3d7
18 changed files with 10 additions and 8 deletions

View File

@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_65X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_67X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -4,3 +4,4 @@ config CPU_INTEL_MODEL_68X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_6BX
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -9,3 +9,4 @@ config CPU_INTEL_MODEL_6EX
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_INTEL_COMMON
select CPU_INTEL_COMMON_TIMEBASE
select CPU_X86_CACHE_HELPER

View File

@ -10,3 +10,4 @@ config CPU_INTEL_MODEL_6FX
select CPU_INTEL_COMMON
select CPU_INTEL_COMMON_TIMEBASE
select SETUP_XIP_CACHE
select CPU_X86_CACHE_HELPER

View File

@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_6XX
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -4,3 +4,4 @@ config CPU_INTEL_MODEL_F2X
select SUPPORT_CPU_UCODE_IN_CBFS
select SMM_ASEG
select CPU_INTEL_COMMON
select CPU_X86_CACHE_HELPER

View File

@ -3,3 +3,4 @@ config CPU_INTEL_MODEL_F3X
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_INTEL_COMMON
select CPU_X86_CACHE_HELPER

View File

@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_F4X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER

View File

@ -12,7 +12,6 @@ config SLOT_SPECIFIC_OPTIONS
select CPU_INTEL_MODEL_68X
select CPU_INTEL_MODEL_6BX
select CPU_INTEL_MODEL_6XX
select CPU_X86_CACHE_HELPER
select NO_SMM
select UDELAY_TSC
select TSC_MONOTONIC_TIMER

View File

@ -6,7 +6,6 @@ if CPU_INTEL_SOCKET_441
config SOCKET_SPECIFIC_OPTIONS
def_bool y
select CPU_INTEL_MODEL_106CX
select CPU_X86_CACHE_HELPER
select MMX
select SSE
select SETUP_XIP_CACHE

View File

@ -1,7 +1,6 @@
config CPU_INTEL_SOCKET_BGA956
bool
select CPU_INTEL_MODEL_1067X
select CPU_X86_CACHE_HELPER
select MMX
select SSE

View File

@ -8,7 +8,6 @@ if CPU_INTEL_SOCKET_FCBGA559
config SOCKET_SPECIFIC_OPTIONS
def_bool y
select CPU_INTEL_MODEL_106CX
select CPU_X86_CACHE_HELPER
select MMX
select SSE
select CPU_HAS_L2_ENABLE_MSR

View File

@ -11,7 +11,6 @@ config SOCKET_SPECIFIC_OPTIONS
# select CPU_INTEL_MODEL_F6X
# select CPU_INTEL_MODEL_1066X
select CPU_INTEL_MODEL_1067X
select CPU_X86_CACHE_HELPER
select MMX
select SSE
select SIPI_VECTOR_IN_ROM

View File

@ -7,7 +7,6 @@ config SOCKET_SPECIFIC_OPTIONS
def_bool y
select CPU_INTEL_MODEL_6EX
select CPU_INTEL_MODEL_6FX
select CPU_X86_CACHE_HELPER
select MMX
select SSE

View File

@ -6,7 +6,6 @@ if CPU_INTEL_SOCKET_MPGA604
config SOCKET_SPECIFIC_OPTIONS
def_bool y
select CPU_INTEL_MODEL_F2X
select CPU_X86_CACHE_HELPER
select MMX
select SSE
select UDELAY_TSC

View File

@ -2,7 +2,6 @@ config CPU_INTEL_SOCKET_P
bool
select CPU_INTEL_MODEL_1067X
select CPU_INTEL_MODEL_6FX
select CPU_X86_CACHE_HELPER
select MMX
select SSE