diff options
author | Felix Singer <felixsinger@posteo.net> | 2021-12-30 23:57:58 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-05-26 11:48:18 +0000 |
commit | edb1a4012700df227dcf5780b5f45fcf9c2a1625 (patch) | |
tree | ec0049239e41b8a1afe2ec106c650542af814e27 /src/soc/intel/common/block/cpu | |
parent | d3b550d47c658453f0775a3bbb071a4330d27398 (diff) | |
download | coreboot-edb1a4012700df227dcf5780b5f45fcf9c2a1625.tar.gz coreboot-edb1a4012700df227dcf5780b5f45fcf9c2a1625.tar.bz2 coreboot-edb1a4012700df227dcf5780b5f45fcf9c2a1625.zip |
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>
Diffstat (limited to 'src/soc/intel/common/block/cpu')
-rw-r--r-- | src/soc/intel/common/block/cpu/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/Kconfig b/src/soc/intel/common/block/cpu/Kconfig index 17240ac91f93..ea814574660c 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 |