diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-03-22 23:51:46 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-23 23:08:00 +0000 |
commit | 56d2a9766507f88dec5176a3ef3f05dea44390aa (patch) | |
tree | 0845d5818cacd2dae1b3883429daf425045ffaf3 /tests/lib/cbfs-lookup-test.c | |
parent | a25117d83f2929c4c51ec8afa0798f015cdaa3db (diff) |
soc/amd/common/block/acpi/cpu_power_state: use pstate_msr union
Use the pstate_msr union in get_pstate_info to check if the P state
enable bit is set. Also drop the now unused PSTATE_DEF_HI_ENABLE_SHIFT
and PSTATE_DEF_HI_ENABLE_MASK definitions.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I79119e09af79a4bb680a18e93b4a61a049f0080e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73925
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'tests/lib/cbfs-lookup-test.c')
0 files changed, 0 insertions, 0 deletions