diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-03-10 00:00:19 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-20 19:52:10 +0000 |
commit | 659e154d68a5dd706e1d99513a9a7947ab3b87fc (patch) | |
tree | f350b86dcd3e98ac65d09f52bba0f3f38ff49595 /src/soc/ti/am335x/header.ld | |
parent | 2b824fd28ff5cb0e771683076378a327624cfad3 (diff) |
soc/amd/picasso: introduce and use pstate_msr bitfield struct
Add the pstate_msr union of a bitfield struct and a raw uint64_t to
allow easier access of the bitfields of the P state MSRs and use this
bitfield struct in get_pstate_core_freq and get_pstate_core_power. The
signature of those two function will be changed in a follow-up commit.
TEST=The coreboot-generated SSDT containing the P state packages stays
identical on Mandolin.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I8dc293351f9941cfb8a9c84d9fb9a4fd76361d5d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73643
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/ti/am335x/header.ld')
0 files changed, 0 insertions, 0 deletions