soc/intel/tigerlake: Configure Vmx support using Kconfig
Change VmxEnable UPD value based on Kconfig ENABLE_VMX BUG=None TEST=Built image and booted to kernel. Change-Id: I725474643193223865a135813cf882fd7636d24a Signed-off-by: John Zhao <john.zhao@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39438 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Caveh Jalali <caveh@chromium.org> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
This commit is contained in:
parent
6e5693386b
commit
ee47fe42f5
|
@ -145,6 +145,9 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
|
||||||
m_cfg->VtdBaseAddress[4] = TBT1_BASE_ADDRESS;
|
m_cfg->VtdBaseAddress[4] = TBT1_BASE_ADDRESS;
|
||||||
m_cfg->VtdBaseAddress[5] = TBT2_BASE_ADDRESS;
|
m_cfg->VtdBaseAddress[5] = TBT2_BASE_ADDRESS;
|
||||||
m_cfg->VtdBaseAddress[6] = TBT3_BASE_ADDRESS;
|
m_cfg->VtdBaseAddress[6] = TBT3_BASE_ADDRESS;
|
||||||
|
|
||||||
|
/* Change VmxEnable UPD value according to ENABLE_VMX Kconfig */
|
||||||
|
m_cfg->VmxEnable = CONFIG(ENABLE_VMX);
|
||||||
}
|
}
|
||||||
|
|
||||||
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
|
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
|
||||||
|
|
Loading…
Reference in New Issue