diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-06-10 19:05:45 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-11 23:03:18 +0000 |
commit | ca428c3027cde0844daf823a7621db254ba23ba8 (patch) | |
tree | 9331e2b9cf8ed940ffa6c02a9316f25b385ed581 /src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c | |
parent | 4d58083703726443e712541be42eb3ec264caea8 (diff) |
vc/amd/fsp/platform_descriptors: drop prefix from PCIe/DDI structs
The picasso_ prefix on the fsp_pcie_descriptor and fsp_ddi_descriptor
structs isn't needed, since this code is picasso-specific, so drop it.
Change-Id: Ia6a0ddb411aa64becc3c23a876f2ea43cb68e028
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42252
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c')
-rw-r--r-- | src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c b/src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c index e67755ccc5..b0037090c7 100644 --- a/src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c +++ b/src/mainboard/google/zork/variants/baseboard/fsps_baseboard_dalboz.c @@ -4,16 +4,16 @@ #include <baseboard/variants.h> #include <commonlib/bsd/compiler.h> -void __weak variant_get_pcie_ddi_descriptors(const picasso_fsp_pcie_descriptor **pcie_descs, +void __weak variant_get_pcie_ddi_descriptors(const fsp_pcie_descriptor **pcie_descs, size_t *pcie_num, - const picasso_fsp_ddi_descriptor **ddi_descs, + const fsp_ddi_descriptor **ddi_descs, size_t *ddi_num) { *pcie_descs = baseboard_get_pcie_descriptors(pcie_num); *ddi_descs = baseboard_get_ddi_descriptors(ddi_num); } -static const picasso_fsp_pcie_descriptor pcie_descriptors[] = { +static const fsp_pcie_descriptor pcie_descriptors[] = { { // NVME SSD .port_present = true, @@ -60,13 +60,13 @@ static const picasso_fsp_pcie_descriptor pcie_descriptors[] = { } }; -const picasso_fsp_pcie_descriptor *baseboard_get_pcie_descriptors(size_t *num) +const fsp_pcie_descriptor *baseboard_get_pcie_descriptors(size_t *num) { *num = ARRAY_SIZE(pcie_descriptors); return pcie_descriptors; } -const picasso_fsp_ddi_descriptor *baseboard_get_ddi_descriptors(size_t *num) +const fsp_ddi_descriptor *baseboard_get_ddi_descriptors(size_t *num) { /* Different configurations of dalboz have different ddi configurations. * Therefore, don't provide any baseboard defaults. */ |