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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87630
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
This commit is contained in:
Matt DeVillier 2025-05-10 17:20:40 -05:00
commit 87663d1c0a

View file

@ -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) {