From 87663d1c0aa6aa3d4206ee7dfd79c07bbbec36f3 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sat, 10 May 2025 17:20:40 -0500 Subject: [PATCH] soc/intel/jasperlake: Hook up the VT-d setting to option API Hook up the VT-d setting to the option API, so it can be changed at runtime without recompilation. Change-Id: Ib964e4c2779fe467086681f55136237a69a8f736 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87630 Tested-by: build bot (Jenkins) Reviewed-by: Maxim Polyakov --- src/soc/intel/jasperlake/romstage/fsp_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/jasperlake/romstage/fsp_params.c b/src/soc/intel/jasperlake/romstage/fsp_params.c index daa6754989..b39bd778ba 100644 --- a/src/soc/intel/jasperlake/romstage/fsp_params.c +++ b/src/soc/intel/jasperlake/romstage/fsp_params.c @@ -105,7 +105,7 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg, m_cfg->PlatformDebugConsent = CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT; /* VT-d config */ - m_cfg->VtdDisable = 0; + m_cfg->VtdDisable = !get_uint_option("vtd", 1); m_cfg->VtdIopEnable = 0x1; if (m_cfg->InternalGfx) {