coreboot/src/mainboard/google
Subrata Banik 6d3346068b intel/common/block: Program the right power_limits_config entry
When variant_update_cpu_power_limits() programs PL4, it systematically
sets the first entry of the power_limits_config SoC chip data
structure. This approach is problematic because the current SoC SKU
may align with a different data structure entry, introducing
inconsistencies.

This commit introduces the power_limits_index field to the
cpu_tdp_power_limits data structure. This field specifies the specific
power limits entry that should be updated.

All data structures utilized by this function are updated accordingly.

BUG=b:380408956
TEST=Able to retrieve collect 28W power_limit.

Change-Id: I32de8a24a2b5aee3eb5a6eee2d1d91e203085e65
Signed-off-by: Subrata Banik <subratabanik@google.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85244
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-12-11 04:35:55 +00:00
..
asurada soc/mediatek: Rename dpm to dpm_v1 2024-11-21 13:46:47 +00:00
auron tree: Use boolean for s0ix_enable 2024-09-01 04:58:51 +00:00
beltino mb/google: Correct number of jacks in hda_verb.c 2024-09-30 11:07:11 +00:00
brox mb/google/brox/var/jubilant: Set PCIe root port 5 speed to Gen2 2024-12-10 02:06:33 +00:00
brya mb/google/nissa/var/riven: Set PCIe root port 4 speed to Gen2 2024-12-08 17:01:42 +00:00
butterfly
cherry soc/mediatek: Rename dpm to dpm_v1 2024-11-21 13:46:47 +00:00
corsola tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
cyan
daisy
dedede vc/google: Refactor config to set Fn key scancode 2024-11-13 10:07:13 +00:00
drallion tree: Use boolean for s0ix_enable 2024-09-01 04:58:51 +00:00
eve tree: Use boolean for "eist_enable" 2024-08-28 00:35:27 +00:00
fatcat mb/google/fatcat: Enable Intel DPTF support and configure policies 2024-12-10 02:56:42 +00:00
fizz mb/google/fizz: Fix USB port defintions 2024-11-04 19:54:52 +00:00
foster ec/google/chromeec: Drop ability to build Chrome-EC, PD components 2024-07-26 02:58:36 +00:00
gale
geralt mb/google/geralt: Replace GERALT_USE_MAX98390 with FW_CONFIG for TAS2563 2024-07-03 14:31:32 +00:00
glados skl/kbl mainboards: Move PCIe related settings into their device scope 2024-07-12 20:08:01 +00:00
gru
guybrush mb/google/*: Explicitly include static.h for DEV_PTR 2024-11-10 19:12:06 +00:00
hatch mb/google/*: Explicitly include static.h for DEV_PTR 2024-11-10 19:12:06 +00:00
herobrine
jecht superio/ite,mb: Switch to new ITE GPIO driver 2024-08-09 17:01:45 +00:00
kahlee mb/google/kahlee/var/careena: Make sure bid isn't used uninitialized 2024-09-30 11:12:42 +00:00
kukui
link mb/google: Correct number of jacks in hda_verb.c 2024-09-30 11:07:11 +00:00
mistral
myst
nyan
nyan_big
nyan_blaze
oak
octopus tree: Use boolean for lpss_s0ix_enable 2024-09-10 19:39:38 +00:00
parrot
peach_pit
poppy mb/*: Explicitly include static.h for config_of_soc 2024-10-07 20:37:06 +00:00
puff mb/*: Explicitly include static.h for config_of_soc 2024-10-07 20:37:06 +00:00
rambi ec/google/chromeec: Drop ability to build Chrome-EC, PD components 2024-07-26 02:58:36 +00:00
rauru mb/google/rauru: Add 2nd source TAS2563 amps to support beep 2024-12-03 09:35:40 +00:00
reef tree: Use boolean for lpss_s0ix_enable 2024-09-10 19:39:38 +00:00
rex intel/common/block: Program the right power_limits_config entry 2024-12-11 04:35:55 +00:00
sarien tree: Use boolean for s0ix_enable 2024-09-01 04:58:51 +00:00
skyrim mb/google/*: Explicitly include static.h for DEV_PTR 2024-11-10 19:12:06 +00:00
slippy
smaug
storm
stout
trogdor
veyron
veyron_mickey
veyron_rialto
volteer mb/google/*: Explicitly include static.h for DEV_PTR 2024-11-10 19:12:06 +00:00
zork mb/google/zork: Update FP enable 2024-11-28 18:35:19 +00:00
Kconfig
Kconfig.name