aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/cezanne/chip.h8
-rw-r--r--src/soc/amd/cezanne/fsp_m_params.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/amd/cezanne/chip.h b/src/soc/amd/cezanne/chip.h
index 4c5118e914..6b6a28f749 100644
--- a/src/soc/amd/cezanne/chip.h
+++ b/src/soc/amd/cezanne/chip.h
@@ -50,11 +50,11 @@ struct soc_amd_cezanne_config {
uint16_t stt_error_rate_coefficient;
uint8_t stapm_boost;
- uint32_t stapm_time_constant;
+ uint32_t stapm_time_constant_s;
uint32_t apu_only_sppt_limit;
- uint32_t sustained_power_limit;
- uint32_t fast_ppt_limit;
- uint32_t slow_ppt_limit;
+ uint32_t sustained_power_limit_mW;
+ uint32_t fast_ppt_limit_mW;
+ uint32_t slow_ppt_limit_mW;
uint32_t slow_ppt_time_constant_s;
uint32_t thermctl_limit_degreeC;
diff --git a/src/soc/amd/cezanne/fsp_m_params.c b/src/soc/amd/cezanne/fsp_m_params.c
index 964ec1880c..2528086977 100644
--- a/src/soc/amd/cezanne/fsp_m_params.c
+++ b/src/soc/amd/cezanne/fsp_m_params.c
@@ -93,11 +93,11 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
/* all following fields being 0 is a valid config */
mcfg->stapm_boost = config->stapm_boost;
- mcfg->stapm_time_constant = config->stapm_time_constant;
+ mcfg->stapm_time_constant = config->stapm_time_constant_s;
mcfg->apu_only_sppt_limit = config->apu_only_sppt_limit;
- mcfg->sustained_power_limit = config->sustained_power_limit;
- mcfg->fast_ppt_limit = config->fast_ppt_limit;
- mcfg->slow_ppt_limit = config->slow_ppt_limit;
+ mcfg->sustained_power_limit = config->sustained_power_limit_mW;
+ mcfg->fast_ppt_limit = config->fast_ppt_limit_mW;
+ mcfg->slow_ppt_limit = config->slow_ppt_limit_mW;
mcfg->slow_ppt_time_constant = config->slow_ppt_time_constant_s;
mcfg->thermctl_limit = config->thermctl_limit_degreeC;