mb/prodrive/hermes: Enable LTR for all PCIe ports

Set the `PcieRpLtrEnable` option to enable the LTR capability on all PCH
PCIe root ports.

TEST=Verify LTR capability enabled in `DevCap2` using `lspci -vv`

Change-Id: I07ea37d178ea61d904c4f131fdea31479e899ef3
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58326
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-10-15 15:42:14 +02:00 committed by Felix Held
parent 047835aba7
commit 9c30a2944b
1 changed files with 8 additions and 0 deletions

View File

@ -198,34 +198,42 @@ chip soc/intel/cannonlake
end end
device pci 1c.4 on # PCIe root port 5 (PHY 3) device pci 1c.4 on # PCIe root port 5 (PHY 3)
register "PcieRpEnable[4]" = "1" register "PcieRpEnable[4]" = "1"
register "PcieRpLtrEnable[4]" = "1"
end end
device pci 1c.5 on # PCIe root port 6 (PHY 4) device pci 1c.5 on # PCIe root port 6 (PHY 4)
register "PcieRpEnable[5]" = "1" register "PcieRpEnable[5]" = "1"
register "PcieRpLtrEnable[5]" = "1"
end end
device pci 1c.6 on # PCIe root port 7 (PHY 2) device pci 1c.6 on # PCIe root port 7 (PHY 2)
register "PcieRpEnable[6]" = "1" register "PcieRpEnable[6]" = "1"
register "PcieRpLtrEnable[6]" = "1"
end end
device pci 1c.7 on # PCIe root port 8 (PHY 1) device pci 1c.7 on # PCIe root port 8 (PHY 1)
register "PcieRpEnable[7]" = "1" register "PcieRpEnable[7]" = "1"
register "PcieRpLtrEnable[7]" = "1"
end end
device pci 1d.0 on # PCIe root port 9 (M2 M) device pci 1d.0 on # PCIe root port 9 (M2 M)
smbios_slot_desc "SlotTypePciExpressGen3X16" "SlotLengthOther" "M2 M" "SlotDataBusWidth4X" smbios_slot_desc "SlotTypePciExpressGen3X16" "SlotLengthOther" "M2 M" "SlotDataBusWidth4X"
register "PcieRpEnable[8]" = "1" register "PcieRpEnable[8]" = "1"
register "PcieRpLtrEnable[8]" = "1"
register "PcieRpSlotImplemented[8]" = "1" register "PcieRpSlotImplemented[8]" = "1"
end end
device pci 1d.5 on # PCIe root port 14 (PHY 0) device pci 1d.5 on # PCIe root port 14 (PHY 0)
register "PcieRpEnable[13]" = "1" register "PcieRpEnable[13]" = "1"
register "PcieRpLtrEnable[13]" = "1"
end end
device pci 1d.6 on # PCIe root port 15 (BMC) device pci 1d.6 on # PCIe root port 15 (BMC)
device pci 00.0 on # Aspeed PCI Bridge device pci 00.0 on # Aspeed PCI Bridge
device pci 00.0 on end # Aspeed 2500 VGA device pci 00.0 on end # Aspeed 2500 VGA
end end
register "PcieRpEnable[14]" = "1" register "PcieRpEnable[14]" = "1"
register "PcieRpLtrEnable[14]" = "1"
register "PcieRpSlotImplemented[14]" = "1" register "PcieRpSlotImplemented[14]" = "1"
end end
device pci 1d.7 on # PCIe root port 16 (M.2 E/CNVi) device pci 1d.7 on # PCIe root port 16 (M.2 E/CNVi)
# Disabled when CNVi is present # Disabled when CNVi is present
register "PcieRpEnable[15]" = "1" register "PcieRpEnable[15]" = "1"
register "PcieRpLtrEnable[15]" = "1"
register "PcieRpSlotImplemented[15]" = "1" register "PcieRpSlotImplemented[15]" = "1"
end end
device pci 1e.0 on end # UART #0 device pci 1e.0 on end # UART #0