summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/cpu.c')
-rw-r--r--src/soc/intel/baytrail/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/cpu.c b/src/soc/intel/baytrail/cpu.c
index 9bbeafbe76..6c37aa86b9 100644
--- a/src/soc/intel/baytrail/cpu.c
+++ b/src/soc/intel/baytrail/cpu.c
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <console/console.h>
#include <cpu/cpu.h>
+#include <cpu/intel/common/common.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/turbo.h>
#include <cpu/x86/cache.h>
@@ -55,6 +56,9 @@ static void baytrail_core_init(struct device *cpu)
if (lapicid())
enable_turbo();
+ /* Set virtualization based on Kconfig option */
+ set_vmx();
+
/* Set core MSRs */
reg_script_run(core_msr_script);