Sean Rhodes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61679 )
Change subject: soc/apollolake: Hook up VTD to CMOS ......................................................................
soc/apollolake: Hook up VTD to CMOS
Hook up vtd_enable to CMOS value of "vtd".
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I16b43f0489f652d650e820c36b2b9bea61cf3c8c --- M src/soc/intel/apollolake/chip.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/61679/1
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 82ec2da..5440230 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -23,6 +23,7 @@ #include <intelblocks/gpio.h> #include <intelblocks/itss.h> #include <intelblocks/pmclib.h> +#include <option.h> #include <soc/cpu.h> #include <soc/heci.h> #include <soc/intel/common/vbt.h> @@ -687,7 +688,7 @@ silconfig->VmxEnable = CONFIG(ENABLE_VMX);
/* Set VTD feature according to devicetree */ - silconfig->VtdEnable = cfg->enable_vtd; + silconfig->VtdEnable = get_uint_option("vtd", cfg->enable_vtd);
silconfig->PeiGraphicsPeimInit = CONFIG(RUN_FSP_GOP) && is_devfn_enabled(SA_DEVFN_IGD);