From edb1a4012700df227dcf5780b5f45fcf9c2a1625 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 23:57:58 +0100 Subject: soc/intel/skylake: Move FSP_HYPERTHREADING to common Intel Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60543 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Kyösti Mälkki --- src/soc/intel/common/block/cpu/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/soc/intel/common/block') diff --git a/src/soc/intel/common/block/cpu/Kconfig b/src/soc/intel/common/block/cpu/Kconfig index 17240ac91f..ea81457466 100644 --- a/src/soc/intel/common/block/cpu/Kconfig +++ b/src/soc/intel/common/block/cpu/Kconfig @@ -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 -- cgit v1.2.3