soc/amd/cezanne: Update STAPM vars with units
Like the Picasso platform, it's very useful to have units on these variables. BUG=b:185209734 TEST=Build & Boot Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: I592c807c5e9a2c17b1c5959e56a01237352c5204 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Peers <epeers@google.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
029d997b6e
commit
9c17665aaa
|
@ -50,11 +50,11 @@ struct soc_amd_cezanne_config {
|
||||||
uint16_t stt_error_rate_coefficient;
|
uint16_t stt_error_rate_coefficient;
|
||||||
|
|
||||||
uint8_t stapm_boost;
|
uint8_t stapm_boost;
|
||||||
uint32_t stapm_time_constant;
|
uint32_t stapm_time_constant_s;
|
||||||
uint32_t apu_only_sppt_limit;
|
uint32_t apu_only_sppt_limit;
|
||||||
uint32_t sustained_power_limit;
|
uint32_t sustained_power_limit_mW;
|
||||||
uint32_t fast_ppt_limit;
|
uint32_t fast_ppt_limit_mW;
|
||||||
uint32_t slow_ppt_limit;
|
uint32_t slow_ppt_limit_mW;
|
||||||
uint32_t slow_ppt_time_constant_s;
|
uint32_t slow_ppt_time_constant_s;
|
||||||
uint32_t thermctl_limit_degreeC;
|
uint32_t thermctl_limit_degreeC;
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
/* all following fields being 0 is a valid config */
|
||||||
mcfg->stapm_boost = config->stapm_boost;
|
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->apu_only_sppt_limit = config->apu_only_sppt_limit;
|
||||||
mcfg->sustained_power_limit = config->sustained_power_limit;
|
mcfg->sustained_power_limit = config->sustained_power_limit_mW;
|
||||||
mcfg->fast_ppt_limit = config->fast_ppt_limit;
|
mcfg->fast_ppt_limit = config->fast_ppt_limit_mW;
|
||||||
mcfg->slow_ppt_limit = config->slow_ppt_limit;
|
mcfg->slow_ppt_limit = config->slow_ppt_limit_mW;
|
||||||
mcfg->slow_ppt_time_constant = config->slow_ppt_time_constant_s;
|
mcfg->slow_ppt_time_constant = config->slow_ppt_time_constant_s;
|
||||||
mcfg->thermctl_limit = config->thermctl_limit_degreeC;
|
mcfg->thermctl_limit = config->thermctl_limit_degreeC;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue