[coreboot-gerrit] Change in coreboot[master]: soc/intel/cannonlake: Set IGD stolen memory size to 64MB
Subrata Banik (Code Review)
gerrit at coreboot.org
Sat Sep 2 09:19:57 CEST 2017
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/21341
Change subject: soc/intel/cannonlake: Set IGD stolen memory size to 64MB
......................................................................
soc/intel/cannonlake: Set IGD stolen memory size to 64MB
This patch to override default FSP IGD stolen memory size
UPD value which ease the hardware register based CNL memory
layout calculation.
TEST=Ensures FSP-M UPD "IgdDvmt50PreAlloc" value is 0x2 (64MB)
Change-Id: I63d992e139810ad203137b34c98d1a463f88b92d
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/cannonlake/romstage/romstage.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/21341/1
diff --git a/src/soc/intel/cannonlake/romstage/romstage.c b/src/soc/intel/cannonlake/romstage/romstage.c
index 483f44b..a9ad1d8 100644
--- a/src/soc/intel/cannonlake/romstage/romstage.c
+++ b/src/soc/intel/cannonlake/romstage/romstage.c
@@ -71,6 +71,8 @@
unsigned int i;
uint32_t mask = 0;
+ /* Set IGD stolen size to 64MB. */
+ m_cfg->IgdDvmt50PreAlloc = 2;
m_cfg->TsegSize = CONFIG_SMM_TSEG_SIZE;
m_cfg->IedSize = CONFIG_IED_REGION_SIZE;
m_cfg->SaGv = config->SaGv;
--
To view, visit https://review.coreboot.org/21341
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I63d992e139810ad203137b34c98d1a463f88b92d
Gerrit-Change-Number: 21341
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170902/f40d68f3/attachment.html>
More information about the coreboot-gerrit
mailing list