soc/intel/braswell: add vmx support via CPU_INTEL_COMMON
commitd3d0f07fd58b4037a2f4a13f3fcbe7947ef1ad5d
authorMatt DeVillier <matt.devillier@gmail.com>
Sat, 10 Nov 2018 23:44:36 +0000 (10 17:44 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 16 Nov 2018 09:51:21 +0000 (16 09:51 +0000)
treebba099fde5809299c5fb48977993904f4fbf45a7
parentf765d4f275197cfa791d70b2236b7273e4a70c53
soc/intel/braswell: add vmx support via CPU_INTEL_COMMON

Braswell allready supported vmx, but offered no mechanism to unset it, nor
to set the lock bit required for Windows to recognize virtualization.
Enable this functionality by adding CPU_INTEL_COMMON config.

Test: build/boot Windows 10 on Braswell ChromeOS device, verify Windows shows
virtualization as enabled.

Change-Id: I0d39abaeb9eebcceb37dc791df6b06e521fe1992
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/29570
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/soc/intel/braswell/Kconfig
src/soc/intel/braswell/Makefile.inc
src/soc/intel/braswell/cpu.c