coreboot/src/soc/amd
Tim Van Patten b9caac74a3 soc/amd/mendocino: Reinterpret smu_power_and_thm_limit
The FSP will return the TDP in the format 0xX0000, where 'X' is the
value we're interested in. For example: 0xF0000 (15W), 0x60000 (6W).
Re-interpret the value so the caller just sees the TDP directly, without
needing to re-interpret things themselves.

BUG=b:253301653
TEST=Manually verify value is correct

Change-Id: I632e702d986a4ac85605040e09c1afab2bbdc59d
Signed-off-by: Tim Van Patten <timvp@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74126
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-04-06 18:00:32 +00:00
..
cezanne soc/amd/*/Makefile: use all_x86 target 2023-04-04 19:18:29 +00:00
common soc/amd/*/Makefile: use all_x86 target 2023-04-04 19:18:29 +00:00
glinda soc/amd/*/Makefile: use all_x86 target 2023-04-04 19:18:29 +00:00
mendocino soc/amd/mendocino: Reinterpret smu_power_and_thm_limit 2023-04-06 18:00:32 +00:00
phoenix soc/amd/*/Makefile: use all_x86 target 2023-04-04 19:18:29 +00:00
picasso soc/amd/*/Makefile: use all_x86 target 2023-04-04 19:18:29 +00:00
stoneyridge soc/amd/stoneyridge: factor out P-state utils to link in all stages 2023-04-01 15:06:08 +00:00