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>
This commit is contained in:
Jon Murphy 2023-06-01 14:40:37 -06:00 committed by Martin L Roth
parent 7c5c4fdf18
commit ba5a2a189e
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ static const fsp_dxio_descriptor emmc_descriptor = {
.function_number = PCI_FUNC(NVME_DEVFN), .function_number = PCI_FUNC(NVME_DEVFN),
.link_speed_capability = GEN_MAX, .link_speed_capability = GEN_MAX,
.turn_off_unused_lanes = true, .turn_off_unused_lanes = true,
/* TODO(b/284213391): Fix PCIe shutdown */
.link_hotplug = 3,
.clk_req = CLK_REQ3, .clk_req = CLK_REQ3,
}; };
@ -66,6 +68,8 @@ static const fsp_dxio_descriptor nvme_descriptor = {
.function_number = PCI_FUNC(NVME_DEVFN), .function_number = PCI_FUNC(NVME_DEVFN),
.link_speed_capability = GEN_MAX, .link_speed_capability = GEN_MAX,
.turn_off_unused_lanes = true, .turn_off_unused_lanes = true,
/* TODO(b/284213391): Fix PCIe shutdown */
.link_hotplug = 3,
.clk_req = CLK_REQ3, .clk_req = CLK_REQ3,
}; };