soc/intel/meteorlake: 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: I2d02184c82ef4874518a3f8e1fe0f5a195188f2a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87632 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
This commit is contained in:
parent
e356483eb6
commit
d53f00fbd9
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ static void fill_fspm_usb4_params(FSP_M_CONFIG *m_cfg,
|
|||
static void fill_fspm_vtd_params(FSP_M_CONFIG *m_cfg,
|
||||
const struct soc_intel_meteorlake_config *config)
|
||||
{
|
||||
m_cfg->VtdDisable = 0;
|
||||
m_cfg->VtdDisable = !get_uint_option("vtd", 1);
|
||||
m_cfg->VtdBaseAddress[0] = GFXVT_BASE_ADDRESS;
|
||||
m_cfg->VtdBaseAddress[1] = VTVC0_BASE_ADDRESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue