diff options
author | Raul E Rangel <rrangel@chromium.org> | 2020-05-20 13:52:32 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-05-21 14:42:51 +0000 |
commit | 7ed04e460d4e3e99af82c4bb445e4e1b3ac1dd47 (patch) | |
tree | f9dee9c9187a6da9703adac64e5fd2db06584afc /src/vendorcode/amd | |
parent | b768723c72b326b24703a8e67764c995711050d9 (diff) |
vc/amd/fsp/picasso: Rename the fsp_ddi and fsp_pcie descriptors
This change was missed when I ported over fsp_params.c.
BUG=b:157140753
TEST=Boot trembyle to OS
Fixes: 89e51e61781 ("soc/amd/picasso: Allow mainboard to provide pci ddi descriptors")
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: Icdb6aebe5a3be7174170bdf37a1f379f02dcc5a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41579
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r-- | src/vendorcode/amd/fsp/picasso/platform_descriptors.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/vendorcode/amd/fsp/picasso/platform_descriptors.h b/src/vendorcode/amd/fsp/picasso/platform_descriptors.h index 890804f85e..021558d600 100644 --- a/src/vendorcode/amd/fsp/picasso/platform_descriptors.h +++ b/src/vendorcode/amd/fsp/picasso/platform_descriptors.h @@ -101,17 +101,15 @@ typedef enum { MAX_CONNECTOR_TYPE // Not valid value, used to verify input } pcie_connector_type; -/* DDI Descriptor: used for configuring display outputs */ +/* Picasso DDI Descriptor: used for configuring display outputs */ typedef struct __packed { uint8_t connector_type; uint8_t aux_index; uint8_t hdp_index; uint8_t reserved; -} fsp_ddi_descriptor; +} picasso_fsp_ddi_descriptor; -/* PCIe Descriptor: used for assigning lanes, bifurcation and other settings */ -/* Since the code will always be compiled as little endian, using a bitfield struct should be - safe here. */ +/* Picasso PCIe Descriptor: used for assigning lanes, bifurcation and other settings */ typedef struct __packed { uint8_t engine_type; uint8_t start_lane; // Start lane of the pci device @@ -139,6 +137,6 @@ typedef struct __packed { unsigned int channel_type :3; unsigned int turn_off_unused_lanes :1; uint8_t reserved[4]; -} fsp_pcie_descriptor; +} picasso_fsp_pcie_descriptor; #endif /* __PI_PICASSO_PLATFORM_DESCRIPTORS_H__ */ |