amd/picasso: rename PCIe descriptor to DXIO descriptor

Most of the DXIO descriptors are used to configure PCIe engines and
lanes, but on Picasso system some of the DXIO lanes can also be
configured as SATA or XGBE ports.

Change-Id: I28da1b21cf0de1813d87a6873b8d4ef3c1e0e9dd
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43675
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held
2020-07-21 17:09:31 +02:00
parent a19d98647b
commit 86db2c74ff
10 changed files with 52 additions and 49 deletions

View File

@ -109,8 +109,11 @@ typedef struct __packed {
uint8_t reserved;
} fsp_ddi_descriptor;
/* Picasso PCIe Descriptor: used for assigning lanes, bifurcation and other settings */
/* Beware that the lane numbers in here are the logical and not the physical lane numbers! */
/*
* Picasso DXIO Descriptor: Used for assigning lanes to PCIe/SATA/XGBE engines, configure
* bifurcation and other settings. Beware that the lane numbers in here are the logical and not
* the physical lane numbers!
*/
typedef struct __packed {
uint8_t engine_type;
uint8_t start_logical_lane; // Start lane of the pci device
@ -138,6 +141,6 @@ typedef struct __packed {
uint32_t channel_type :3;
uint32_t turn_off_unused_lanes :1;
uint8_t reserved[4];
} fsp_pcie_descriptor;
} fsp_dxio_descriptor;
#endif /* __PI_PICASSO_PLATFORM_DESCRIPTORS_H__ */