summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2023-10-18 12:39:10 -0700
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-10-28 20:57:52 +0000
commite68650a656e185c7b056d62a79611ec2ad93e7dd (patch)
tree50ef4863daf1805d96385f2b532b202d7fed75c7 /src
parent648ed149a14c217bc84b0e4414fb49c8a626c7cb (diff)
vc/intel/fsp/mtl: Add Psi[1-3]Threshold UPDs to FSP-M header file
Export Power State Current 1, 2 and 3 Threshold configuration entries. BUG=b:308002192 Change-Id: Iff4467720541efbdedace12431cd1f6f66fca8e6 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78491 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/intel/fsp/fsp2_0/meteorlake/FspmUpd.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/vendorcode/intel/fsp/fsp2_0/meteorlake/FspmUpd.h b/src/vendorcode/intel/fsp/fsp2_0/meteorlake/FspmUpd.h
index c2b2708883..7853004998 100644
--- a/src/vendorcode/intel/fsp/fsp2_0/meteorlake/FspmUpd.h
+++ b/src/vendorcode/intel/fsp/fsp2_0/meteorlake/FspmUpd.h
@@ -1442,9 +1442,30 @@ typedef struct {
**/
UINT16 DcLoadline[6];
-/** Offset 0x063C - Reserved
+/** Offset 0x063C - Power State 1 Threshold current
+ PS Current Threshold1, defined in 1/4 A increments. A value of 400 = 100A. Range
+ 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
+ [3] through [5] are Reserved.
**/
- UINT8 Reserved34[90];
+ UINT16 Psi1Threshold[6];
+
+/** Offset 0x0648 - Power State 2 Threshold current
+ PS Current Threshold2, defined in 1/4 A increments. A value of 400 = 100A. Range
+ 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
+ [3] through [5] are Reserved.
+**/
+ UINT16 Psi2Threshold[6];
+
+/** Offset 0x0654 - Power State 3 Threshold current
+ PS Current Threshold3, defined in 1/4 A increments. A value of 400 = 100A. Range
+ 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
+ [3] through [5] are Reserved.
+**/
+ UINT16 Psi3Threshold[6];
+
+/** Offset 0x0660 - Reserved
+**/
+ UINT8 Reserved34[54];
/** Offset 0x0696 - Thermal Design Current enable/disable
Thermal Design Current enable/disable; <b>0: Disable</b>; 1: Enable. [0] for IA,