Skip to content

Commit

Permalink
cpu/intel/*/Kconfig: move selection of CPU_X86_CACHE_HELPER
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Felix Held <[email protected]>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44227
Tested-by: build bot (Jenkins) <[email protected]>
Reviewed-by: Marshall Dawson <[email protected]>
  • Loading branch information
Felix Held authored and felixheld committed Oct 26, 2021
1 parent 965b05a commit 8290f4c
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/cpu/intel/model_65x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_65X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 1 addition & 0 deletions src/cpu/intel/model_67x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_67X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 1 addition & 0 deletions src/cpu/intel/model_68x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ config CPU_INTEL_MODEL_68X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 1 addition & 0 deletions src/cpu/intel/model_6bx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_6BX
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 1 addition & 0 deletions src/cpu/intel/model_6ex/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/cpu/intel/model_6fx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/cpu/intel/model_6xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_6XX
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 1 addition & 0 deletions src/cpu/intel/model_f2x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/cpu/intel/model_f3x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions src/cpu/intel/model_f4x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config CPU_INTEL_MODEL_F4X
bool
select ARCH_X86
select SUPPORT_CPU_UCODE_IN_CBFS
select CPU_X86_CACHE_HELPER
1 change: 0 additions & 1 deletion src/cpu/intel/slot_1/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_441/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_BGA956/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
config CPU_INTEL_SOCKET_BGA956
bool
select CPU_INTEL_MODEL_1067X
select CPU_X86_CACHE_HELPER
select MMX
select SSE

Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_FCBGA559/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_LGA775/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_m/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_mPGA604/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/socket_p/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8290f4c

Please sign in to comment.