From 3441292ecda5e76a98ff63f55fc45d010fc76188 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 10 Jan 2018 16:56:04 -0800 Subject: [PATCH] mainboard/google/kahlee: Enable PCIe Lane 2 The Port initializer had been changed from PortDisabled to PortEnabled, but engine inializer hadn't been updated from PcieUnusedEngine to PciePortEngine. Update this so the port works. Also change disabled port to PcieUnusedEngine. BUG=b:71818026 TEST=PCIe device now shows up on D2F4 Change-Id: I11eb8c1fbad12fa9cf34d758a4ef3c22ef8ba4f7 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/23210 Reviewed-by: Daniel Kurtz Reviewed-by: Chris Ching Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c index 622152b8e6..aa0edf7d91 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c +++ b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c @@ -52,7 +52,7 @@ static const PCIe_PORT_DESCRIPTOR PortList[] = { /* Init Port descriptor (PCIe port, Lanes 1:1, D2F3) NC */ { 0, - PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 1, 1), + PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 1, 1), PCIE_PORT_DATA_INITIALIZER_V2( PortDisabled, /* mPortPresent */ ChannelTypeExt6db, /* mChannelType */ @@ -68,7 +68,7 @@ static const PCIe_PORT_DESCRIPTOR PortList[] = { /* Initialize Port descriptor (PCIe port, Lane 2, D2F4) for EMMC */ { 0, - PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 2, 2), + PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 2, 2), PCIE_PORT_DATA_INITIALIZER_V2( PortEnabled, /* mPortPresent */ ChannelTypeExt6db, /* mChannelType */