summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/include
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2022-11-21 12:51:20 +0100
committerMichał Żygowski <michal.zygowski@3mdeb.com>2023-06-15 14:14:05 +0000
commit3d51e833478005196b5e0e01bb60878a76274a3d (patch)
treece66d04562804e9a3f056695042c25bc6a8d6345 /src/soc/intel/skylake/include
parentc68456ee4b03051f24de3cf57cdb8e0ea1be99fb (diff)
soc/intel/*/include/soc/pmc.h: Add missing periodic SMI rate bits
Based on: - Apollo Lake datasheet Vol. 3 Revision 005: https://cdrdv2.intel.com/v1/dl/getContent/334819 - 7th Generation Intel Processor Families I/O for U/Y Platforms Datasheet Vol.2 August 2017: https://cdrdv2.intel.com/v1/dl/getContent/334659 - edk2-platforms source for Whitley and Purley platforms (Xeon SP) Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: Ic600d39d49135808dd1f571c9eff3cdb98682796 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69871 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r--src/soc/intel/skylake/include/soc/pmc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/include/soc/pmc.h b/src/soc/intel/skylake/include/soc/pmc.h
index 165d57170e..50f605f09e 100644
--- a/src/soc/intel/skylake/include/soc/pmc.h
+++ b/src/soc/intel/skylake/include/soc/pmc.h
@@ -35,6 +35,12 @@
#define ALLOW_L1LOW_C0 (1 << 7)
#define ALLOW_L1LOW_OPI_ON (1 << 6)
#define SMI_LOCK (1 << 4)
+#define PER_SMI_SEL_MASK (3 << 0)
+#define SMI_RATE_64S (0 << 0)
+#define SMI_RATE_32S (1 << 0)
+#define SMI_RATE_16S (2 << 0)
+#define SMI_RATE_8S (3 << 0)
+
#define GEN_PMCON_B 0xa4
#define SLP_STR_POL_LOCK (1 << 18)
#define ACPI_BASE_LOCK (1 << 17)