summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-09-02 09:35:21 +0200
committerPatrick Rudolph <siro@das-labor.org>2019-09-10 10:57:23 +0000
commit203061c24aba584edbd54dfe634ca1038c5e1ac1 (patch)
tree3a1ebfa2d88aa2564b09db43f2306226d527d25c /src/soc/intel
parent0328a723b8d5d874e1528cda09a9e85d436a66f8 (diff)
downloadcoreboot-203061c24aba584edbd54dfe634ca1038c5e1ac1.tar.xz
soc/intel/skylake: Add option to toggle Hyper-Threading
Tested on Supermicro X11SSH-TF. Change-Id: I3ebab68ff868c78105bb4b35abffb92f3ccf1705 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/skylake/Kconfig5
-rw-r--r--src/soc/intel/skylake/romstage/romstage_fsp20.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/Kconfig b/src/soc/intel/skylake/Kconfig
index 9cb8d450a3..901e5f9b21 100644
--- a/src/soc/intel/skylake/Kconfig
+++ b/src/soc/intel/skylake/Kconfig
@@ -78,6 +78,11 @@ config CPU_SPECIFIC_OPTIONS
select TSC_SYNC_MFENCE
select UDELAY_TSC
+config FSP_HYPERTHREADING
+ bool "Enable Hyper-Threading"
+ depends on MAINBOARD_USES_FSP2_0
+ default y
+
config CPU_INTEL_NUM_FIT_ENTRIES
int
default 10
diff --git a/src/soc/intel/skylake/romstage/romstage_fsp20.c b/src/soc/intel/skylake/romstage/romstage_fsp20.c
index 002a284408..deda53312c 100644
--- a/src/soc/intel/skylake/romstage/romstage_fsp20.c
+++ b/src/soc/intel/skylake/romstage/romstage_fsp20.c
@@ -252,6 +252,7 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
m_cfg->PchHpetDeviceNumber = V_P2SB_HBDF_DEV;
m_cfg->PchHpetFunctionNumber = V_P2SB_HBDF_FUN;
}
+ m_cfg->HyperThreading = CONFIG(FSP_HYPERTHREADING);
}
static void soc_primary_gfx_config_params(FSP_M_CONFIG *m_cfg,