soc/intel/alderlake: 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: I728b71826798eb94c13e54aeadd3ca69c2bf5e8f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87626 Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
6f9df7ace4
commit
3cfb24a326
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ static void fill_fspm_vtd_params(FSP_M_CONFIG *m_cfg,
|
|||
m_cfg->VtdBaseAddress[VTD_IPU] = IPUVT_BASE_ADDRESS;
|
||||
m_cfg->VtdBaseAddress[VTD_VTVCO] = VTVC0_BASE_ADDRESS;
|
||||
|
||||
m_cfg->VtdDisable = 0;
|
||||
m_cfg->VtdDisable = !get_uint_option("vtd", 1);
|
||||
m_cfg->VtdIopEnable = !m_cfg->VtdDisable;
|
||||
m_cfg->VtdIgdEnable = m_cfg->InternalGfx;
|
||||
m_cfg->VtdIpuEnable = m_cfg->SaIpuEnable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue