diff --git a/src/mainboard/starlabs/byte_adl/cfr.c b/src/mainboard/starlabs/byte_adl/cfr.c index 442326f41c..e360e3b419 100644 --- a/src/mainboard/starlabs/byte_adl/cfr.c +++ b/src/mainboard/starlabs/byte_adl/cfr.c @@ -136,9 +136,18 @@ static const struct sm_object vtd = SM_DECLARE_BOOL({ .default_value = true, }); +static const struct sm_object bluetooth_rtd3 = SM_DECLARE_BOOL({ + .opt_name = "bluetooth_rtd3", + .ui_name = "Bluetooth Runtime-D3", + .ui_helptext = "Enable or disable Bluetooth power optimization.\n" + "Recommended to disable when booting Windows.", + .default_value = true, +}); + static struct sm_obj_form performance = { .ui_name = "Performance", .obj_list = (const struct sm_object *[]) { + &bluetooth_rtd3, &power_profile, NULL }, diff --git a/src/mainboard/starlabs/starbook/cfr.c b/src/mainboard/starlabs/starbook/cfr.c index 92416b91de..5fed679631 100644 --- a/src/mainboard/starlabs/starbook/cfr.c +++ b/src/mainboard/starlabs/starbook/cfr.c @@ -12,6 +12,7 @@ static struct sm_obj_form performance = { .ui_name = "Performance", .obj_list = (const struct sm_object *[]) { + &bluetooth_rtd3, &fan_mode, &power_profile, NULL diff --git a/src/mainboard/starlabs/starbook/cfr.h b/src/mainboard/starlabs/starbook/cfr.h index 4ddf363573..554062aeeb 100644 --- a/src/mainboard/starlabs/starbook/cfr.h +++ b/src/mainboard/starlabs/starbook/cfr.h @@ -201,4 +201,12 @@ static const struct sm_object vtd = SM_DECLARE_BOOL({ .default_value = true, }); +static const struct sm_object bluetooth_rtd3 = SM_DECLARE_BOOL({ + .opt_name = "bluetooth_rtd3", + .ui_name = "Bluetooth Runtime-D3", + .ui_helptext = "Enable or disable Bluetooth power optimization.\n" + "Recommended to disable when booting Windows.", + .default_value = true, +}); + #endif /* _STARBOOK_CFR_H_ */ diff --git a/src/mainboard/starlabs/starfighter/cfr.c b/src/mainboard/starlabs/starfighter/cfr.c index 7e040cce31..e8522f10eb 100644 --- a/src/mainboard/starlabs/starfighter/cfr.c +++ b/src/mainboard/starlabs/starfighter/cfr.c @@ -157,9 +157,18 @@ static const struct sm_object vtd = SM_DECLARE_BOOL({ .default_value = true, }); +static const struct sm_object bluetooth_rtd3 = SM_DECLARE_BOOL({ + .opt_name = "bluetooth_rtd3", + .ui_name = "Bluetooth Runtime-D3", + .ui_helptext = "Enable or disable Bluetooth power optimization.\n" + "Recommended to disable when booting Windows.", + .default_value = true, +}); + static struct sm_obj_form performance = { .ui_name = "Performance", .obj_list = (const struct sm_object *[]) { + &bluetooth_rtd3, &fan_mode, &power_profile, NULL diff --git a/src/mainboard/starlabs/starlite_adl/cfr.c b/src/mainboard/starlabs/starlite_adl/cfr.c index a00a7a7f4a..3292835c08 100644 --- a/src/mainboard/starlabs/starlite_adl/cfr.c +++ b/src/mainboard/starlabs/starlite_adl/cfr.c @@ -189,9 +189,18 @@ static const struct sm_object vtd = SM_DECLARE_BOOL({ .default_value = true, }); +static const struct sm_object bluetooth_rtd3 = SM_DECLARE_BOOL({ + .opt_name = "bluetooth_rtd3", + .ui_name = "Bluetooth Runtime-D3", + .ui_helptext = "Enable or disable Bluetooth power optimization.\n" + "Recommended to disable when booting Windows.", + .default_value = true, +}); + static struct sm_obj_form performance = { .ui_name = "Performance", .obj_list = (const struct sm_object *[]) { + &bluetooth_rtd3, &memory_speed, &power_profile, NULL