summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starfighter/variants
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-10-04 12:07:24 +0100
committerSean Rhodes <sean@starlabs.systems>2024-10-11 11:27:27 +0000
commitdcda600ec3f3f17c71f8a10a34789d1c843392c0 (patch)
tree89c00fa6b7cbad2aa8316285dc8bc2c5e9775fc3 /src/mainboard/starlabs/starfighter/variants
parent4b3513056be7661268cd2d2dd98807d3e32f8ab0 (diff)
mb/starlabs/*: Set PL4 to 1.0C of the battery
Override the PL4 to the maximum power the battery can provide without a charger connected to prevent drawing too much power. Change-Id: I2945e1ed0f33ab6692631e327c1457980b353c06 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84660 Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/starfighter/variants')
-rw-r--r--src/mainboard/starlabs/starfighter/variants/rpl/devtree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starfighter/variants/rpl/devtree.c b/src/mainboard/starlabs/starfighter/variants/rpl/devtree.c
index 3e3720e7ad..ec72aa68c7 100644
--- a/src/mainboard/starlabs/starfighter/variants/rpl/devtree.c
+++ b/src/mainboard/starlabs/starfighter/variants/rpl/devtree.c
@@ -50,6 +50,10 @@ void devtree_update(void)
break;
}
+ /* Set PL4 to 1.0C */
+ soc_conf_6core->tdp_pl4 = 65;
+ soc_conf_14core->tdp_pl4 = 65;
+
/* Enable/Disable Bluetooth based on CMOS settings */
if (get_uint_option("wireless", 1) == 0)
cfg->usb2_ports[9].enable = 0;