From 78633e3d810119b09653320e9ad43b07d569eada Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 7 Mar 2023 03:08:27 +0100 Subject: soc/amd/include/msr: factor out P state MSR enable bit to cpu/amd/msr.h The bit position of the P state enable bit in the 8 P state MSRs is identical for all AMD chips including the family 16h model 30h APU that lives outside of soc/amd. The other bits in those 8 MSRs are more or less family- and model-specific. Signed-off-by: Felix Held Change-Id: Ia69c33e28e2a91ff9a9bfe95859c1fd454921b77 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73506 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Eric Lai --- src/soc/amd/common/block/acpi/cpu_power_state.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/block/acpi/cpu_power_state.c b/src/soc/amd/common/block/acpi/cpu_power_state.c index dbda621141..9eb636d7d7 100644 --- a/src/soc/amd/common/block/acpi/cpu_power_state.c +++ b/src/soc/amd/common/block/acpi/cpu_power_state.c @@ -7,7 +7,6 @@ #include #include #include -#include #include /* -- cgit v1.2.3