summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brox/variants/jubilant/overridetree.cb6
-rw-r--r--src/mainboard/google/brox/variants/jubilant/ramstage.c31
2 files changed, 16 insertions, 21 deletions
diff --git a/src/mainboard/google/brox/variants/jubilant/overridetree.cb b/src/mainboard/google/brox/variants/jubilant/overridetree.cb
index b88e959637..48cc783077 100644
--- a/src/mainboard/google/brox/variants/jubilant/overridetree.cb
+++ b/src/mainboard/google/brox/variants/jubilant/overridetree.cb
@@ -75,6 +75,12 @@ chip soc/intel/alderlake
},
}"
+ register "power_limits_config[RPL_P_282_242_142_15W_CORE]" = "{
+ .tdp_pl1_override = 15,
+ .tdp_pl2_override = 41,
+ .tdp_pl4 = 87,
+ }"
+
device domain 0 on
device ref dtt on
chip drivers/intel/dptf
diff --git a/src/mainboard/google/brox/variants/jubilant/ramstage.c b/src/mainboard/google/brox/variants/jubilant/ramstage.c
index 86418da2ad..0f78e26bd0 100644
--- a/src/mainboard/google/brox/variants/jubilant/ramstage.c
+++ b/src/mainboard/google/brox/variants/jubilant/ramstage.c
@@ -15,33 +15,23 @@ const struct cpu_power_limits performance_efficient_limits[] = {
{
.mchid = PCI_DID_INTEL_RPL_P_ID_3,
.cpu_tdp = 15,
- .pl1_min_power = 6000,
- .pl1_max_power = 15000,
- .pl2_min_power = 55000,
- .pl2_max_power = 55000,
- .pl4_power = 114000
+ .pl1_min_power = 15000,
+ .pl1_max_power = 18000,
+ .pl2_min_power = 41000,
+ .pl2_max_power = 41000,
+ .pl4_power = 87000
},
{
.mchid = PCI_DID_INTEL_RPL_P_ID_4,
.cpu_tdp = 15,
- .pl1_min_power = 6000,
- .pl1_max_power = 15000,
- .pl2_min_power = 55000,
- .pl2_max_power = 55000,
- .pl4_power = 114000
+ .pl1_min_power = 15000,
+ .pl1_max_power = 18000,
+ .pl2_min_power = 41000,
+ .pl2_max_power = 41000,
+ .pl4_power = 87000
},
};
-const struct system_power_limits sys_limits[] = {
- /* SKU_ID, TDP (Watts), psys_pl2 (Watts) */
- { PCI_DID_INTEL_RPL_P_ID_3, 15, 60 },
- { PCI_DID_INTEL_RPL_P_ID_4, 15, 60 },
-};
-
-const struct psys_config psys_config = {
- .efficiency = 86,
-};
-
void __weak variant_devtree_update(void)
{
printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
@@ -50,5 +40,4 @@ void __weak variant_devtree_update(void)
size_t limits_size = ARRAY_SIZE(performance_efficient_limits);
variant_update_power_limits(limits, limits_size);
- variant_update_psys_power_limits(limits, sys_limits, limits_size, &psys_config);
}