mainboard/starlabs: namespace PL4 powercap setting

Rename the PL4 powercap Kconfig symbol to MB_STARLABS_PL4_WATTS
and update the common powercap logic to use the namespaced
option.

Change-Id: If36d087accc13a03eac4715948a4ca47bd70c3c4
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91461
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2026-02-27 21:58:04 +00:00
commit 724176a218
5 changed files with 5 additions and 5 deletions

View file

@ -171,7 +171,7 @@ endif # BOARD_STARLABS_ADL_HORIZON || BOARD_STARLABS_LITE_ADL
if BOARD_STARLABS_BYTE_ADL || BOARD_STARLABS_BYTE_TWL || BOARD_STARLABS_LITE_ADL
config PL4_WATTS
config MB_STARLABS_PL4_WATTS
int
default 65 if BOARD_STARLABS_BYTE_ADL || BOARD_STARLABS_BYTE_TWL
default 37 if BOARD_STARLABS_LITE_ADL

View file

@ -45,7 +45,7 @@ void update_power_limits(config_t *cfg)
struct soc_power_limits_config *entry = &limits[i];
uint16_t tdp, pl1, pl2;
entry->tdp_pl4 = (uint16_t)CONFIG_PL4_WATTS;
entry->tdp_pl4 = (uint16_t)CONFIG_MB_STARLABS_PL4_WATTS;
tdp = entry->tdp_pl1_override;
if (!tdp)

View file

@ -87,7 +87,7 @@ config TJ_MAX
int
default 100
config PL4_WATTS
config MB_STARLABS_PL4_WATTS
int
default 45

View file

@ -203,7 +203,7 @@ config TJ_MAX
default 105 if BOARD_STARLABS_STARBOOK_ADL_N
default 110
config PL4_WATTS
config MB_STARLABS_PL4_WATTS
int
default 45 if BOARD_STARLABS_LABTOP_KBL || BOARD_STARLABS_LABTOP_CML
default 65

View file

@ -126,7 +126,7 @@ config TJ_MAX
int
default 110
config PL4_WATTS
config MB_STARLABS_PL4_WATTS
int
default 80