[coreboot-gerrit] Change in coreboot[master]: soc/intel/cannonlake: Add options for pcie ltr

Lijian Zhao (Code Review) gerrit at coreboot.org
Thu Nov 15 01:25:17 CET 2018


Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/29642


Change subject: soc/intel/cannonlake: Add options for pcie ltr
......................................................................

soc/intel/cannonlake: Add options for pcie ltr

FSP can support enable/disable Pci express LTR (Latency Tolerance
Reporting) mechansism through upd interface. Include that into coreboot
side.

BUG=N/A
TEST=N/A

Change-Id: I69b423afa4f81a2d58375734bba07792e08931d5
Signed-off-by: Lijian Zhao <lijian.zhao at intel.com>
---
M src/soc/intel/cannonlake/chip.h
M src/soc/intel/cannonlake/fsp_params.c
2 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/29642/1

diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 015133e..b976cd2 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -165,6 +165,8 @@
 	/* PCIe ClkReq-to-ClkSrc mapping, number of clkreq signal assigned to
 	 * clksrc. */
 	uint8_t PcieClkSrcClkReq[CONFIG_MAX_ROOT_PORTS];
+	/* PCIe LTR(Latency Tolerance Reporting) mechanism */
+	uint8_t PcieRpLtrEnable[CONFIG_MAX_ROOT_PORTS];
 
 	/* eMMC and SD */
 	uint8_t ScsEmmcHs400Enabled;
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c
index 3314f6d..f957459 100644
--- a/src/soc/intel/cannonlake/fsp_params.c
+++ b/src/soc/intel/cannonlake/fsp_params.c
@@ -171,6 +171,8 @@
 	       sizeof(config->PcieClkSrcUsage));
 	memcpy(params->PcieClkSrcClkReq, config->PcieClkSrcClkReq,
 	       sizeof(config->PcieClkSrcClkReq));
+	memcpy(params->PcieRpLtrEnable, config->PcieRpLtrEnable,
+	       sizeof(config->PcieRpLtrEnable));
 
 	/* eMMC and SD */
 	dev = dev_find_slot(0, PCH_DEVFN_EMMC);

-- 
To view, visit https://review.coreboot.org/29642
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I69b423afa4f81a2d58375734bba07792e08931d5
Gerrit-Change-Number: 29642
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181115/df310946/attachment.html>


More information about the coreboot-gerrit mailing list