mb/google/fatcat: Use TDP macros for CPU TDP values
This commit replaces the hardcoded 25 values for CPU TDP with the TDP_25W macro. Change-Id: I45cf507fe5300466519aafb0b920c8ae1d62ace0 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86340 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
parent
d669736841
commit
825ad863b5
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
const struct cpu_tdp_power_limits power_optimized_limits[] = {
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_1,
|
||||
.cpu_tdp = 25,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_1_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
|
|
@ -20,7 +20,7 @@ const struct cpu_tdp_power_limits power_optimized_limits[] = {
|
|||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_2,
|
||||
.cpu_tdp = 25,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_1_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
|
|
@ -30,7 +30,7 @@ const struct cpu_tdp_power_limits power_optimized_limits[] = {
|
|||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_3,
|
||||
.cpu_tdp = 25,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
|
|
@ -40,7 +40,7 @@ const struct cpu_tdp_power_limits power_optimized_limits[] = {
|
|||
},
|
||||
{
|
||||
.mch_id = PCI_DID_INTEL_PTL_H_ID_4,
|
||||
.cpu_tdp = 25,
|
||||
.cpu_tdp = TDP_25W,
|
||||
.power_limits_index = PTL_H_2_CORE,
|
||||
.pl1_min_power = 10000,
|
||||
.pl1_max_power = 25000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue