soc/amd/picasso/root_complex: move DPTC_TOTAL_UPDATE_PARAMS out of enum

The other enum entries are control IDs for the
ALIB_FUNCTION_DYNAMIC_POWER_THERMAL_CONFIG ALIB function while
DPTC_TOTAL_UPDATE_PARAMS is the total number of configuration settings
that will get passed as parameter in the ALIB call, so it shouldn't be
part of that enum.

TEST=Timeless build for Mandolin results in identical binary.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0cb9e9d2ba579a74d916011b4ead71cc86d69a24
Reviewed-on: https://review.coreboot.org/c/coreboot/+/53916
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-05-07 19:02:45 +02:00
parent 95f1bb8525
commit ef51157e52
1 changed files with 2 additions and 1 deletions

View File

@ -23,9 +23,10 @@ enum {
SUSTAINED_POWER_LIMIT_PARAM_ID = 0x5, SUSTAINED_POWER_LIMIT_PARAM_ID = 0x5,
FAST_PPT_LIMIT_PARAM_ID = 0x6, FAST_PPT_LIMIT_PARAM_ID = 0x6,
SLOW_PPT_LIMIT_PARAM_ID = 0x7, SLOW_PPT_LIMIT_PARAM_ID = 0x7,
DPTC_TOTAL_UPDATE_PARAMS = 4,
}; };
#define DPTC_TOTAL_UPDATE_PARAMS 4
struct dptc_param { struct dptc_param {
uint8_t id; uint8_t id;
uint32_t value; uint32_t value;