diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2022-03-31 11:20:54 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-01 22:16:03 +0000 |
commit | 80783ae70ff071f92106a919809ce9ad09ec16fd (patch) | |
tree | 3c707808e16957159f87776d86752db876a31f6b /src/mainboard | |
parent | 0cbde30d61324ea0ed5a5ffe1689e424349b0444 (diff) |
mb/amd/majolica/port_descriptors: clean up variable names
Removing unnecessary "czn" in variable name. Majolica is always a
cezanne.
TEST=Timeless build
Change-Id: I490111ecea84c934585d0bbd623486fba76eb7f1
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63261
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/amd/majolica/port_descriptors.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainboard/amd/majolica/port_descriptors.c b/src/mainboard/amd/majolica/port_descriptors.c index 4cbccf626a..47c9d584db 100644 --- a/src/mainboard/amd/majolica/port_descriptors.c +++ b/src/mainboard/amd/majolica/port_descriptors.c @@ -5,7 +5,7 @@ #include <types.h> #include <amdblocks/cpu.h> -static const fsp_dxio_descriptor majolica_czn_dxio_descriptors[] = { +static const fsp_dxio_descriptor majolica_dxio_descriptors[] = { { /* MXM */ .engine_type = PCIE_ENGINE, .port_present = true, @@ -93,7 +93,7 @@ static const fsp_dxio_descriptor majolica_czn_dxio_descriptors[] = { } }; -static fsp_ddi_descriptor majolica_czn_ddi_descriptors[] = { +static fsp_ddi_descriptor majolica_ddi_descriptors[] = { { /* DDI0 - DP */ .connector_type = DDI_DP, .aux_index = DDI_AUX1, @@ -126,10 +126,10 @@ void mainboard_get_dxio_ddi_descriptors( const fsp_ddi_descriptor **ddi_descs, size_t *ddi_num) { if ((get_cpu_count() == 4 && get_threads_per_core() == 2) || get_cpu_count() == 2) - majolica_czn_ddi_descriptors[1].connector_type = DDI_UNUSED_TYPE; + majolica_ddi_descriptors[1].connector_type = DDI_UNUSED_TYPE; - *dxio_descs = majolica_czn_dxio_descriptors; - *dxio_num = ARRAY_SIZE(majolica_czn_dxio_descriptors); - *ddi_descs = majolica_czn_ddi_descriptors; - *ddi_num = ARRAY_SIZE(majolica_czn_ddi_descriptors); + *dxio_descs = majolica_dxio_descriptors; + *dxio_num = ARRAY_SIZE(majolica_dxio_descriptors); + *ddi_descs = majolica_ddi_descriptors; + *ddi_num = ARRAY_SIZE(majolica_ddi_descriptors); } |