From 25db52216df8c9ecbe7b0a3eb08a8d4e3b2a6035 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 27 Jan 2025 11:25:13 +0000 Subject: [PATCH] mb/starlabs/starbook: Only show Hyper-Threading option when relevant Guard the Hyper-Threading option against SOC_INTEL_ALDERLAKE_PCH_N, as the N200 processors used don't support it. Change-Id: Ia30a14bd652bf8f2abad5fb5c19aed1cad694929 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/86166 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/starbook/cfr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/starlabs/starbook/cfr.c b/src/mainboard/starlabs/starbook/cfr.c index 9efe92487e..7316f2a931 100644 --- a/src/mainboard/starlabs/starbook/cfr.c +++ b/src/mainboard/starlabs/starbook/cfr.c @@ -97,12 +97,14 @@ static const struct sm_object gna = SM_DECLARE_BOOL({ }); #endif +#if !CONFIG(SOC_INTEL_ALDERLAKE_PCH_N) static const struct sm_object hyper_threading = SM_DECLARE_BOOL({ .opt_name = "hyper_threading", .ui_name = "Hyper-Threading", .ui_helptext = "Enable or disable Hyper-Threading", .default_value = true, }); +#endif static const struct sm_object kbl_timeout = SM_DECLARE_ENUM({ .opt_name = "kbl_timeout", @@ -291,7 +293,9 @@ static struct sm_obj_form processor = { .obj_list = (const struct sm_object *[]) { &me_state, &me_state_counter, + #if !CONFIG(SOC_INTEL_ALDERLAKE_PCH_N) &hyper_threading, + #endif &vtd, NULL },