From 7ed04e460d4e3e99af82c4bb445e4e1b3ac1dd47 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Wed, 20 May 2020 13:52:32 -0600 Subject: 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 Change-Id: Icdb6aebe5a3be7174170bdf37a1f379f02dcc5a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41579 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh Reviewed-by: Felix Held --- src/vendorcode/amd/fsp/picasso/platform_descriptors.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/vendorcode') 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__ */ -- cgit v1.2.3