soc/intel/tigerlake: 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: Ifa0b567c05e48c4f0f5dc2fc385cf5f82eb083a0
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87628
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
This commit is contained in:
Matt DeVillier 2025-05-10 17:17:21 -05:00
commit d06c8dde58

View file

@ -164,7 +164,7 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
m_cfg->VtdDisable = 1;
} else {
/* Enable VT-d support for QS platform */
m_cfg->VtdDisable = 0;
m_cfg->VtdDisable = !get_uint_option("vtd", 1);
m_cfg->VtdIopEnable = 0x1;
if (m_cfg->InternalGfx) {