soc/intel/meteorlake: Add doc reference for thunderbolt port number
Document #640228 Meteor Lake - U/H and U Type4 Processor - 2.3 Device IDs - Table 8 "Other Device ID" IDs - Table 8 "Other Device ID" specifies that the first Thunderbolt PCIe root port number is 16. Change-Id: Ic394aa6795105ff613f30e8aa0ffa45500c6332a Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85820 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
00c3255214
commit
736941b6a4
1 changed files with 6 additions and 4 deletions
|
|
@ -6,13 +6,15 @@
|
|||
#include <soc/soc_info.h>
|
||||
|
||||
/*
|
||||
* TBT's LCAP registers are returning port index which starts from 0x10 (Usually for other PCIe
|
||||
* root ports index starts from 1). Thus keeping lcap_port_base 0x10 for TBT, so that coreboot's
|
||||
* PCIe remapping logic can return correct index (0-based)
|
||||
* Document #640228 Meteor Lake - U/H and U Type4 Processor - 2.3 Device IDs - Table 8 "Other
|
||||
* Device ID" specifies that the first Thunderbolt PCIe root port number is 16. TBT's LCAP
|
||||
* registers return port index which starts from 16 (usually for other PCIe root ports index
|
||||
* starts from 1). Thus, keeping lcap_port_base 16 for TBT, so that coreboot's PCIe remapping
|
||||
* logic can return a correct index (0-based).
|
||||
*/
|
||||
|
||||
static const struct pcie_rp_group tbt_rp_groups[] = {
|
||||
{ .slot = PCI_DEV_SLOT_TBT, .count = CONFIG_MAX_TBT_ROOT_PORTS, .lcap_port_base = 0x10 },
|
||||
{ .slot = PCI_DEV_SLOT_TBT, .count = CONFIG_MAX_TBT_ROOT_PORTS, .lcap_port_base = 16 },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue