summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-06-01 14:40:37 -0600
committerMartin L Roth <gaumless@gmail.com>2023-06-04 18:52:09 +0000
commitba5a2a189ef8594b773888f94ef9fd3ffa199fc4 (patch)
treefb2ac5cd30b486f12827ebb9a0282af9304c2e03 /src
parent7c5c4fdf18820623262b78c57a9a77d0f6b45282 (diff)
mb/google/myst: Add PCIe shutdown workaround
On Myst, the FSP is shutting down the PCIe lanes that the SSD is on. Enable hotplug to force the FSP to keep the lanes active. BUG=b:284213391 TEST=Boot to OS Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: Iaf0aca329f05f15a3ce9edfa6a0e782c2edccabe Reviewed-on: https://review.coreboot.org/c/coreboot/+/75583 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/myst/port_descriptors.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/myst/port_descriptors.c b/src/mainboard/google/myst/port_descriptors.c
index 6d0d0d6ff9..108dd4e639 100644
--- a/src/mainboard/google/myst/port_descriptors.c
+++ b/src/mainboard/google/myst/port_descriptors.c
@@ -54,6 +54,8 @@ static const fsp_dxio_descriptor emmc_descriptor = {
.function_number = PCI_FUNC(NVME_DEVFN),
.link_speed_capability = GEN_MAX,
.turn_off_unused_lanes = true,
+ /* TODO(b/284213391): Fix PCIe shutdown */
+ .link_hotplug = 3,
.clk_req = CLK_REQ3,
};
@@ -66,6 +68,8 @@ static const fsp_dxio_descriptor nvme_descriptor = {
.function_number = PCI_FUNC(NVME_DEVFN),
.link_speed_capability = GEN_MAX,
.turn_off_unused_lanes = true,
+ /* TODO(b/284213391): Fix PCIe shutdown */
+ .link_hotplug = 3,
.clk_req = CLK_REQ3,
};