soc/intel/apollolake: Hook up ENABLE_VMX

Unlike other platforms, Apollo and Gemini Lake have VmxEnable on FSP-S.

Note that this will enable VMX by default on both of these platforms.

Change-Id: I6a4470e0e64b10f07edfcf270bb02c7cd6a8fa1a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45039
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Angel Pons 2020-09-02 15:11:37 +02:00 committed by Patrick Georgi
parent ae0d8d69db
commit 320f2c1f06
1 changed files with 2 additions and 0 deletions

View File

@ -692,6 +692,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
dev->enabled = 0;
silconfig->UsbOtg = dev->enabled;
silconfig->VmxEnable = CONFIG(ENABLE_VMX);
/* Set VTD feature according to devicetree */
silconfig->VtdEnable = cfg->enable_vtd;