diff options
author | Subrata Banik <subratabanik@google.com> | 2022-09-08 13:29:22 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2022-09-10 19:00:56 +0000 |
commit | 2bce51ea2a105e3a78b321411c053760aa6b8de7 (patch) | |
tree | 2290f478057d0b23b1178f704c5d094c0e959d2d /src/ec/google/wilco/bootblock.c | |
parent | 8b518776dacc929b52f5d2f89cc36c8eef361daa (diff) |
soc/intel/meteorlake: Hook up common code for thermal configuration
Thermal configuration registers are now located behind PMC PWRMBASE
for MeteorLake as well (same as ADL). Hence, using thermal common code
to sets the thermal low threshold as per mainboard provided
`pch_thermal_trip`.
Note: These thermal configuration registers are RW/O hence, setting
those early prior to FSP-S helps coreboot to set the desired low
thermal threshold for the platform.
TEST=Dump thermal configuration registers PWRMBASE+0x150c etc on
Google/rex prior to FSP-S shows that registers are now programmed
based on 'pch_thermal_trip' and lock register BIT31 is set.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I1d6b179a1ed43f00416d90490e0a91710648655e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67462
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/ec/google/wilco/bootblock.c')
0 files changed, 0 insertions, 0 deletions