summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-07-15 22:22:53 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-07-16 23:39:06 +0000
commit12732536df9c6ea33864a0827a739e739ec97f11 (patch)
treee98a463bb9d713b84b9f263fe45a63f58f4bd3db
parent4794264ff1089bdb45c6bbc88fc29300ccdb314d (diff)
mb/amd/mandolin: add SATA DXIO descriptor for Dali SKUs
Dali supports two SATA ports, but no PCIe alternate function on those pins. Change-Id: I27a13100e80565eb1dade2d703ba3d1f8b5f630f Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43493 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/amd/mandolin/variants/mandolin/port_descriptors.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/amd/mandolin/variants/mandolin/port_descriptors.c b/src/mainboard/amd/mandolin/variants/mandolin/port_descriptors.c
index 87cb6b6d91..326bcaa0e7 100644
--- a/src/mainboard/amd/mandolin/variants/mandolin/port_descriptors.c
+++ b/src/mainboard/amd/mandolin/variants/mandolin/port_descriptors.c
@@ -146,6 +146,14 @@ static const fsp_pcie_descriptor dali_pcie_descriptors[] = {
.link_aspm_L1_2 = true,
.turn_off_unused_lanes = true,
.clk_req = CLK_REQ1
+ },
+ { /* SATA */
+ .port_present = true,
+ .engine_type = SATA_ENGINE,
+ .start_lane = 2,
+ .end_lane = 3,
+ .gpio_group_id = 1,
+ .channel_type = SATA_CHANNEL_LONG,
}
};