summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-02 15:11:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-09-08 05:28:05 +0000
commit320f2c1f06c355366ed105c037b254c5bfda56f3 (patch)
treea4ceddaaeac5474f23ea569e64033f63560018b4 /src
parentae0d8d69dbde5821cd756b6df649a7f97fa38acc (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/apollolake/chip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index d6e6187b76..22791d9aa5 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -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;