From 8ba9410c69dbdb9e37bd7c8de2a523f7cfa7a76a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 00:15:18 +0100 Subject: soc/intel/cannonlake: Hook up FSP hyper-threading setting to option API Select `HAVE_HYPERTHREADING` and hook up the hyper-threading setting from the FSP to the option API so that related mainboards don't have to do that. Unless otherwise configured (e.g. the CMOS setting or overriden by the mainboard code), the value from the Kconfig setting `FSP_HYPERTHREADING` is used. Also, remove related code from the following mainboards, since it is obsolete now. * siemens/chili * starlabs/laptop/cml Change-Id: I173b87da5ce76549672c50ba30204cd77be8b82f Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60544 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Nico Huber --- src/mainboard/starlabs/labtop/variants/cml/romstage.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mainboard/starlabs/labtop/variants') diff --git a/src/mainboard/starlabs/labtop/variants/cml/romstage.c b/src/mainboard/starlabs/labtop/variants/cml/romstage.c index 189b7f378c..75a19e576b 100644 --- a/src/mainboard/starlabs/labtop/variants/cml/romstage.c +++ b/src/mainboard/starlabs/labtop/variants/cml/romstage.c @@ -73,10 +73,6 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) const uint8_t vtd = get_uint_option("vtd", 1); memupd->FspmTestConfig.VtdDisable = !vtd; - const uint8_t ht = - get_uint_option("hyper_threading", memupd->FspmConfig.HyperThreading); - memupd->FspmConfig.HyperThreading = ht; - fill_spd_data(&memcfg); cannonlake_memcfg_init(&memupd->FspmConfig, &memcfg); } -- cgit v1.2.3