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:
Subrata Banik 2025-02-10 09:56:40 +05:30
commit 825ad863b5

View file

@ -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,