diff --git a/src/soc/intel/cannonlake/romstage/fsp_params.c b/src/soc/intel/cannonlake/romstage/fsp_params.c index f934459435..5083e577ad 100644 --- a/src/soc/intel/cannonlake/romstage/fsp_params.c +++ b/src/soc/intel/cannonlake/romstage/fsp_params.c @@ -37,7 +37,8 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version) if (igd_on && pci_read_config16(SA_DEV_IGD, PCI_VENDOR_ID) != 0xffff) { /* Set IGD stolen size to 64MB. */ m_cfg->InternalGfx = 1; - m_cfg->IgdDvmt50PreAlloc = 2; + m_cfg->IgdDvmt50PreAlloc = get_uint_option("igd_dvmt_prealloc", 2); + m_cfg->ApertureSize = get_uint_option("igd_aperture_size", 1); } else { m_cfg->InternalGfx = 0; m_cfg->IgdDvmt50PreAlloc = 0;