From c397f004b7abdaf5a6950299b2d24fa4f72a435f Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 7 Feb 2022 15:05:12 +0000 Subject: soc/apollolake: Hook up VTD to CMOS Hook up vtd_enable to CMOS value of "vtd". Signed-off-by: Sean Rhodes Change-Id: I16b43f0489f652d650e820c36b2b9bea61cf3c8c Reviewed-on: https://review.coreboot.org/c/coreboot/+/61679 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- src/soc/intel/apollolake/chip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc/intel/apollolake') diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 1682490833..3ee49209db 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -709,7 +710,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd) 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); -- cgit v1.2.3