amd: Convert dptc_enable to bool
dptc_enable is being treated as a bool, so convert to explicitly be a bool. BRANCH=none BUG=b:217911928 TEST=Build zork TEST=Build guybrush TEST=Build skyrim Change-Id: I0e93d892b3b8016221812c8b9ec6c257dcf13ef5 Signed-off-by: Tim Van Patten <timvp@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67188 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
336fdfb65d
commit
9f1588c26d
|
@ -30,7 +30,7 @@ chip soc/amd/picasso
|
|||
register "telemetry_vddcr_soc_offset" = "0"
|
||||
|
||||
# Set STAPM confiuration for tablet mode
|
||||
register "dptc_enable" = "1"
|
||||
register "dptc_enable" = "true"
|
||||
register "slow_ppt_limit_tablet_mode_mW" = "20000"
|
||||
register "fast_ppt_limit_tablet_mode_mW" = "24000"
|
||||
register "sustained_power_limit_tablet_mode_mW" = "12000"
|
||||
|
|
|
@ -86,8 +86,8 @@ struct soc_amd_cezanne_config {
|
|||
uint32_t telemetry_vddcrsocfull_scale_current_mA;
|
||||
uint32_t telemetry_vddcrsocoffset;
|
||||
|
||||
/* Enable dptc for tablet mode (0 = disable, 1 = enable) */
|
||||
uint8_t dptc_enable;
|
||||
/* Enable dptc for tablet mode */
|
||||
bool dptc_enable;
|
||||
|
||||
/* STAPM Configuration for tablet mode (need enable dptc_enable first) */
|
||||
uint32_t fast_ppt_limit_tablet_mode_mW;
|
||||
|
|
|
@ -82,8 +82,8 @@ struct soc_amd_mendocino_config {
|
|||
uint32_t telemetry_vddcrsocfull_scale_current_mA;
|
||||
uint32_t telemetry_vddcrsocoffset;
|
||||
|
||||
/* Enable dptc for tablet mode (0 = disable, 1 = enable) */
|
||||
uint8_t dptc_enable;
|
||||
/* Enable dptc for tablet mode */
|
||||
bool dptc_enable;
|
||||
|
||||
/* STAPM Configuration for tablet mode (need enable dptc_enable first) */
|
||||
uint32_t fast_ppt_limit_tablet_mode_mW;
|
||||
|
|
|
@ -117,8 +117,8 @@ struct soc_amd_picasso_config {
|
|||
uint32_t stapm_time_constant_s;
|
||||
uint32_t sustained_power_limit_mW;
|
||||
|
||||
/* Enable dptc for tablet mode (0 = disable, 1 = enable) */
|
||||
uint8_t dptc_enable;
|
||||
/* Enable dptc for tablet mode */
|
||||
bool dptc_enable;
|
||||
|
||||
/* STAPM Configuration for tablet mode (need enable dptc_enable first) */
|
||||
uint32_t fast_ppt_limit_tablet_mode_mW;
|
||||
|
|
Loading…
Reference in New Issue