diff --git a/src/board/system76/common/power.c b/src/board/system76/common/power.c index b1791b3fe..afe963c9b 100644 --- a/src/board/system76/common/power.c +++ b/src/board/system76/common/power.c @@ -369,7 +369,7 @@ static void power_peci_limit(bool ac) { ac ? options_get(OPT_ALLOW_BAT_BOOST) ? "AC + DC" : "AC" : "DC" ); - // Set PsysL2 to 2W below supply wattage (Intel says PL3 = PL2 + 2W) + // Set PsysPL2 to 2W below supply wattage (Intel says PL3 = PL2 + 2W) watts = supply_watts - 2; res = peci_wr_pkg_config(PECI_REG_PKG_CFG_PSYS_PL2, 0, PECI_PSYS_PL2(watts)); DEBUG(" SET PsysPL2 = %llu %s\n", watts, (res == 0x40) ? "OK" : "ERR"); @@ -377,7 +377,7 @@ static void power_peci_limit(bool ac) { // Set PsysPL3 (peak short term power) to supply wattage watts = supply_watts; res = peci_wr_pkg_config(PECI_REG_PKG_CFG_PL3, 0, PECI_PL3(watts, 6, 4)); - DEBUG(" SET PL3 = %llu %s\n", watts, (res == 0x40) ? "OK" : "ERR"); + DEBUG(" SET PsysPL3 = %llu %s\n", watts, (res == 0x40) ? "OK" : "ERR"); // Cap PL4 to supply wattage if needed watts = (supply_watts > POWER_LIMIT_AC) ? POWER_LIMIT_AC : supply_watts;