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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61679
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Sean Rhodes 2022-02-07 15:05:12 +00:00 committed by Felix Held
parent 445466e0d6
commit c397f004b7
1 changed files with 2 additions and 1 deletions

View File

@ -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>
@ -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);