From 80783ae70ff071f92106a919809ce9ad09ec16fd Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Thu, 31 Mar 2022 11:20:54 -0400 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63261 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/mainboard/amd/majolica/port_descriptors.c | 14 +++++++------- 1 file 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 #include -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); }