From f061017480ed6bed412714c33b4a621271feffbb Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 7 May 2021 19:21:08 +0200 Subject: soc/amd/picasso,common: move ALIB DPTC parameter struct to common code Also add an alib_ prefix to avoid possible name collisions. TEST=Timeless build for Mandolin results in identical binary. Signed-off-by: Felix Held Change-Id: Ib0f220a4cde6da764bb8bc589b5f44ae16496bd7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/53918 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/root_complex.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/soc/amd/picasso/root_complex.c') diff --git a/src/soc/amd/picasso/root_complex.c b/src/soc/amd/picasso/root_complex.c index c0b444fa36..979da3ec25 100644 --- a/src/soc/amd/picasso/root_complex.c +++ b/src/soc/amd/picasso/root_complex.c @@ -20,14 +20,9 @@ #define DPTC_TOTAL_UPDATE_PARAMS 4 -struct dptc_param { - uint8_t id; - uint32_t value; -} __packed; - struct dptc_input { uint16_t size; - struct dptc_param params[DPTC_TOTAL_UPDATE_PARAMS]; + struct alib_dptc_param params[DPTC_TOTAL_UPDATE_PARAMS]; } __packed; #define DPTC_INPUTS(_thermctllmit, _sustained, _fast, _slow) \ -- cgit v1.2.3