soc/intel/skylake: Move FSP_HYPERTHREADING to common Intel Kconfig
Move the Kconfig option `FSP_HYPERTHREADING` to common Intel Kconfig so that it can be reused by other SoCs. Since not all SoCs support hyperthreading, make it conditional on `HAVE_HYPERTHREADING`. SoCs supporting hyperthreading need to select it so that `FSP_HYPERTHREADING` is available. Change-Id: I892d48b488cbf828057f0e9be9edc4352c58bbe7 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60543 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
d3b550d47c
commit
edb1a40127
|
@ -154,3 +154,11 @@ config SOC_INTEL_SET_MIN_CLOCK_RATIO
|
|||
the lowest possible CPU clock. Enable this option if you need smallest
|
||||
possible CPU clock. This setting can be overruled by the OS if it has an
|
||||
p-state driver which can adjust the clock to its need.
|
||||
|
||||
config HAVE_HYPERTHREADING
|
||||
def_bool n
|
||||
|
||||
config FSP_HYPERTHREADING
|
||||
bool "Enable Hyper-Threading"
|
||||
depends on HAVE_HYPERTHREADING
|
||||
default y
|
||||
|
|
|
@ -35,6 +35,7 @@ config CPU_SPECIFIC_OPTIONS
|
|||
select GENERIC_GPIO_LIB
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_FSP_LOGO_SUPPORT
|
||||
select HAVE_HYPERTHREADING
|
||||
select HAVE_INTEL_FSP_REPO
|
||||
select INTEL_CAR_NEM_ENHANCED
|
||||
select HAVE_SMI_HANDLER
|
||||
|
@ -99,10 +100,6 @@ config MAX_CPUS
|
|||
default 16 if MAINBOARD_SUPPORTS_COFFEELAKE_CPU
|
||||
default 8
|
||||
|
||||
config FSP_HYPERTHREADING
|
||||
bool "Enable Hyper-Threading"
|
||||
default y
|
||||
|
||||
config ENABLE_SATA_TEST_MODE
|
||||
bool "Enable SATA test mode"
|
||||
default n
|
||||
|
|
Loading…
Reference in New Issue