mb/starlabs/*: Adjust the default power profile
If the board has a fan, set the default profile to Performance. If not, use Balanced. Change-Id: I8adb22f38a8aec55ed86a3aa29e8abfde5670867 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90837 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
96d5c3dd54
commit
53d31a4152
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ static const struct sm_object power_profile = SM_DECLARE_ENUM({
|
|||
.opt_name = "power_profile",
|
||||
.ui_name = "Power Profile",
|
||||
.ui_helptext = "Select whether to maximize performance, battery life or both.",
|
||||
.default_value = 1,
|
||||
.default_value = CONFIG(EC_STARLABS_FAN) ? PP_PERFORMANCE : PP_BALANCED,
|
||||
.values = (const struct sm_enum_value[]) {
|
||||
{ "Power Saver", PP_POWER_SAVER },
|
||||
{ "Balanced", PP_BALANCED },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue