[coreboot-gerrit] Change in coreboot[master]: amd/gardenia: Correct PCIe port settings

Marshall Dawson (Code Review) gerrit at coreboot.org
Mon Jul 24 15:01:33 CEST 2017


Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/20744


Change subject: amd/gardenia: Correct PCIe port settings
......................................................................

amd/gardenia: Correct PCIe port settings

Fix the OEM settings for two ports and remove an extraneous comment.

Change-Id: I2812ea5945f67229872e78041c771606047bbbec
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/mainboard/amd/gardenia/OemCustomize.c
1 file changed, 3 insertions(+), 4 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/20744/1

diff --git a/src/mainboard/amd/gardenia/OemCustomize.c b/src/mainboard/amd/gardenia/OemCustomize.c
index 47e332e..692bdb2 100644
--- a/src/mainboard/amd/gardenia/OemCustomize.c
+++ b/src/mainboard/amd/gardenia/OemCustomize.c
@@ -21,7 +21,7 @@
 	/* Init port descriptor (PCIe port, Lanes 7:4, D2F1) for x4 slot */
 	{
 		0,
-		PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 4, 7),
+		PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 4, 7),
 		PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db,
 				2, 1,
 				HotplugDisabled,
@@ -32,8 +32,8 @@
 	/* Initialize Port descriptor (PCIe port, Lanes 1:0, D2F2) for M.2 */
 	{
 		0,
-		PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 0, 1),
-		PCIE_PORT_DATA_INITIALIZER_V2(PortDisabled, ChannelTypeExt6db,
+		PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 0, 1),
+		PCIE_PORT_DATA_INITIALIZER_V2(PortEnabled, ChannelTypeExt6db,
 				2, 2,
 				HotplugDisabled,
 				PcieGenMaxSupported,
@@ -72,7 +72,6 @@
 				PcieGenMaxSupported,
 				AspmL0sL1, 0x16, 0)
 	},
-	/* Initialize Port descriptor (PCIe port, Lane 1, D2F3) for M.2 */
 };
 
 static const PCIe_DDI_DESCRIPTOR DdiList[] = {

-- 
To view, visit https://review.coreboot.org/20744
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2812ea5945f67229872e78041c771606047bbbec
Gerrit-Change-Number: 20744
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170724/e717ff0a/attachment.html>


More information about the coreboot-gerrit mailing list