blob: f4892793d49e7968a7683497fe22b3a91970363f [file] [log] [blame]
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001/** @file
2
3Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
4
5Redistribution and use in source and binary forms, with or without modification,
6are permitted provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this
9 list of conditions and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this
11 list of conditions and the following disclaimer in the documentation and/or
12 other materials provided with the distribution.
13* Neither the name of Intel Corporation nor the names of its contributors may
14 be used to endorse or promote products derived from this software without
15 specific prior written permission.
16
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 THE POSSIBILITY OF SUCH DAMAGE.
28
29 This file is automatically generated. Please do NOT modify !!!
30
31**/
32
33#ifndef __FSPMUPD_H__
34#define __FSPMUPD_H__
35
36#include <FspUpd.h>
37
38#pragma pack(1)
39
40
41#include <MemInfoHob.h>
42
43///
44/// The ChipsetInit Info structure provides the information of ME ChipsetInit CRC and BIOS ChipsetInit CRC.
45///
46typedef struct {
47 UINT8 Revision; ///< Chipset Init Info Revision
48 UINT8 Rsvd[3]; ///< Reserved
49 UINT16 MeChipInitCrc; ///< 16 bit CRC value of MeChipInit Table
50 UINT16 BiosChipInitCrc; ///< 16 bit CRC value of PchChipInit Table
51} CHIPSET_INIT_INFO;
52
53
54/** Fsp M Configuration
55**/
56typedef struct {
57
58/** Offset 0x0040 - Platform Reserved Memory Size
59 The minimum platform memory size required to pass control into DXE
60**/
61 UINT64 PlatformMemorySize;
62
63/** Offset 0x0048 - SPD Data Length
64 Length of SPD Data
65 0x100:256 Bytes, 0x200:512 Bytes, 0x400:1024 Bytes
66**/
67 UINT16 MemorySpdDataLen;
68
Kapil Porwala42ad282022-07-07 18:28:30 +000069/** Offset 0x004A - Enable above 4GB MMIO resource support
70 Enable/disable above 4GB MMIO resource support
71 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070072**/
Kapil Porwala42ad282022-07-07 18:28:30 +000073 UINT8 EnableAbove4GBMmio;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070074
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -070075/** Offset 0x004B - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070076**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -070077 UINT8 Reserved0;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070078
79/** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0
80 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
81**/
82 UINT32 MemorySpdPtr000;
83
84/** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1
85 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
86**/
87 UINT32 MemorySpdPtr001;
88
89/** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0
90 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
91**/
92 UINT32 MemorySpdPtr010;
93
94/** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1
95 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
96**/
97 UINT32 MemorySpdPtr011;
98
99/** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0
100 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
101**/
102 UINT32 MemorySpdPtr020;
103
104/** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1
105 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
106**/
107 UINT32 MemorySpdPtr021;
108
109/** Offset 0x0064 - Memory SPD Pointer Controller 0 Channel 3 Dimm 0
110 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
111**/
112 UINT32 MemorySpdPtr030;
113
114/** Offset 0x0068 - Memory SPD Pointer Controller 0 Channel 3 Dimm 1
115 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
116**/
117 UINT32 MemorySpdPtr031;
118
119/** Offset 0x006C - Memory SPD Pointer Controller 1 Channel 0 Dimm 0
120 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
121**/
122 UINT32 MemorySpdPtr100;
123
124/** Offset 0x0070 - Memory SPD Pointer Controller 1 Channel 0 Dimm 1
125 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
126**/
127 UINT32 MemorySpdPtr101;
128
129/** Offset 0x0074 - Memory SPD Pointer Controller 1 Channel 1 Dimm 0
130 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
131**/
132 UINT32 MemorySpdPtr110;
133
134/** Offset 0x0078 - Memory SPD Pointer Controller 1 Channel 1 Dimm 1
135 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
136**/
137 UINT32 MemorySpdPtr111;
138
139/** Offset 0x007C - Memory SPD Pointer Controller 1 Channel 2 Dimm 0
140 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
141**/
142 UINT32 MemorySpdPtr120;
143
144/** Offset 0x0080 - Memory SPD Pointer Controller 1 Channel 2 Dimm 1
145 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
146**/
147 UINT32 MemorySpdPtr121;
148
149/** Offset 0x0084 - Memory SPD Pointer Controller 1 Channel 3 Dimm 0
150 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
151**/
152 UINT32 MemorySpdPtr130;
153
154/** Offset 0x0088 - Memory SPD Pointer Controller 1 Channel 3 Dimm 1
155 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
156**/
157 UINT32 MemorySpdPtr131;
158
159/** Offset 0x008C - RcompResistor settings
160 Indicates RcompResistor settings: Board-dependent
161**/
162 UINT16 RcompResistor;
163
164/** Offset 0x008E - RcompTarget settings
165 RcompTarget settings: board-dependent
166**/
167 UINT16 RcompTarget[5];
168
169/** Offset 0x0098 - Dqs Map CPU to DRAM MC 0 CH 0
170 Set Dqs mapping relationship between CPU and DRAM, Channel 0: board-dependent
171**/
172 UINT8 DqsMapCpu2DramMc0Ch0[2];
173
174/** Offset 0x009A - Dqs Map CPU to DRAM MC 0 CH 1
175 Set Dqs mapping relationship between CPU and DRAM, Channel 1: board-dependent
176**/
177 UINT8 DqsMapCpu2DramMc0Ch1[2];
178
179/** Offset 0x009C - Dqs Map CPU to DRAM MC 0 CH 2
180 Set Dqs mapping relationship between CPU and DRAM, Channel 2: board-dependent
181**/
182 UINT8 DqsMapCpu2DramMc0Ch2[2];
183
184/** Offset 0x009E - Dqs Map CPU to DRAM MC 0 CH 3
185 Set Dqs mapping relationship between CPU and DRAM, Channel 3: board-dependent
186**/
187 UINT8 DqsMapCpu2DramMc0Ch3[2];
188
189/** Offset 0x00A0 - Dqs Map CPU to DRAM MC 1 CH 0
190 Set Dqs mapping relationship between CPU and DRAM, Channel 0: board-dependent
191**/
192 UINT8 DqsMapCpu2DramMc1Ch0[2];
193
194/** Offset 0x00A2 - Dqs Map CPU to DRAM MC 1 CH 1
195 Set Dqs mapping relationship between CPU and DRAM, Channel 1: board-dependent
196**/
197 UINT8 DqsMapCpu2DramMc1Ch1[2];
198
199/** Offset 0x00A4 - Dqs Map CPU to DRAM MC 1 CH 2
200 Set Dqs mapping relationship between CPU and DRAM, Channel 2: board-dependent
201**/
202 UINT8 DqsMapCpu2DramMc1Ch2[2];
203
204/** Offset 0x00A6 - Dqs Map CPU to DRAM MC 1 CH 3
205 Set Dqs mapping relationship between CPU and DRAM, Channel 3: board-dependent
206**/
207 UINT8 DqsMapCpu2DramMc1Ch3[2];
208
209/** Offset 0x00A8 - Dq Map CPU to DRAM MC 0 CH 0
210 Set Dq mapping relationship between CPU and DRAM, Channel 0: board-dependent
211**/
212 UINT8 DqMapCpu2DramMc0Ch0[16];
213
214/** Offset 0x00B8 - Dq Map CPU to DRAM MC 0 CH 1
215 Set Dq mapping relationship between CPU and DRAM, Channel 1: board-dependent
216**/
217 UINT8 DqMapCpu2DramMc0Ch1[16];
218
219/** Offset 0x00C8 - Dq Map CPU to DRAM MC 0 CH 2
220 Set Dq mapping relationship between CPU and DRAM, Channel 2: board-dependent
221**/
222 UINT8 DqMapCpu2DramMc0Ch2[16];
223
224/** Offset 0x00D8 - Dq Map CPU to DRAM MC 0 CH 3
225 Set Dq mapping relationship between CPU and DRAM, Channel 3: board-dependent
226**/
227 UINT8 DqMapCpu2DramMc0Ch3[16];
228
229/** Offset 0x00E8 - Dq Map CPU to DRAM MC 1 CH 0
230 Set Dq mapping relationship between CPU and DRAM, Channel 0: board-dependent
231**/
232 UINT8 DqMapCpu2DramMc1Ch0[16];
233
234/** Offset 0x00F8 - Dq Map CPU to DRAM MC 1 CH 1
235 Set Dq mapping relationship between CPU and DRAM, Channel 1: board-dependent
236**/
237 UINT8 DqMapCpu2DramMc1Ch1[16];
238
239/** Offset 0x0108 - Dq Map CPU to DRAM MC 1 CH 2
240 Set Dq mapping relationship between CPU and DRAM, Channel 2: board-dependent
241**/
242 UINT8 DqMapCpu2DramMc1Ch2[16];
243
244/** Offset 0x0118 - Dq Map CPU to DRAM MC 1 CH 3
245 Set Dq mapping relationship between CPU and DRAM, Channel 3: board-dependent
246**/
247 UINT8 DqMapCpu2DramMc1Ch3[16];
248
249/** Offset 0x0128 - Dqs Pins Interleaved Setting
250 Indicates DqPinsInterleaved setting: board-dependent
251 $EN_DIS
252**/
253 UINT8 DqPinsInterleaved;
254
Kapil Porwala42ad282022-07-07 18:28:30 +0000255/** Offset 0x0129 - Smram Mask
256 The SMM Regions AB-SEG and/or H-SEG reserved
257 0: Neither, 1:AB-SEG, 2:H-SEG, 3: Both
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700258**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000259 UINT8 SmramMask;
260
261/** Offset 0x012A - MRC Fast Boot
262 Enables/Disable the MRC fast path thru the MRC
263 $EN_DIS
264**/
265 UINT8 MrcFastBoot;
266
267/** Offset 0x012B - Rank Margin Tool per Task
268 This option enables the user to execute Rank Margin Tool per major training step
269 in the MRC.
270 $EN_DIS
271**/
272 UINT8 RmtPerTask;
273
274/** Offset 0x012C - Training Trace
275 This option enables the trained state tracing feature in MRC. This feature will
276 print out the key training parameters state across major training steps.
277 $EN_DIS
278**/
279 UINT8 TrainTrace;
280
281/** Offset 0x012D - Reserved
282**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700283 UINT8 Reserved1[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700284
285/** Offset 0x0130 - Tseg Size
286 Size of SMRAM memory reserved. 0x400000 for Release build and 0x1000000 for Debug build
287 0x0400000:4MB, 0x01000000:16MB
288**/
289 UINT32 TsegSize;
290
Kapil Porwala42ad282022-07-07 18:28:30 +0000291/** Offset 0x0134 - MMIO Size
292 Size of MMIO space reserved for devices. 0(Default)=Auto, non-Zero=size in MB
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700293**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000294 UINT16 MmioSize;
295
296/** Offset 0x0136 - Probeless Trace
297 Probeless Trace: 0=Disabled, 1=Enable. Enabling Probeless Trace will reserve 128MB.
298 This also requires IED to be enabled.
299 $EN_DIS
300**/
301 UINT8 ProbelessTrace;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700302
303/** Offset 0x0137 - Enable SMBus
304 Enable/disable SMBus controller.
305 $EN_DIS
306**/
307 UINT8 SmbusEnable;
308
309/** Offset 0x0138 - Spd Address Tabl
310 Specify SPD Address table for CH0D0/CH0D1/CH1D0&CH1D1. MemorySpdPtr will be used
311 if SPD Address is 00
312**/
313 UINT8 SpdAddressTable[16];
314
315/** Offset 0x0148 - Platform Debug Consent
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530316 Enabled Trace active: TraceHub is enabled and trace is active, blocks s0ix.\n
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700317 \n
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530318 Enabled Trace ready: TraceHub is enabled and allowed S0ix.\n
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700319 \n
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530320 Enabled Trace power off: TraceHub is powergated, provide setting close to functional
321 low power state\n
322 \n
323 Manual: user needs to configure Advanced Debug Settings manually, aimed at advanced users
324 0:Disabled, 2:Enabled Trace Active, 4:Enabled Trace Ready, 6:Enable Trace Power-Off, 7:Manual
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700325**/
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530326 UINT8 PlatformDebugOption;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700327
Kapil Porwala42ad282022-07-07 18:28:30 +0000328/** Offset 0x0149 - DCI Enable
329 Determine if to enable DCI debug from host
330 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700331**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000332 UINT8 DciEn;
333
334/** Offset 0x014A - Reserved
335**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700336 UINT8 Reserved2;
Kapil Porwala42ad282022-07-07 18:28:30 +0000337
338/** Offset 0x014B - DCI DbC Mode
339 Disabled: Clear both USB2/3DBCEN; USB2: set USB2DBCEN; USB3: set USB3DBCEN; Both:
340 Set both USB2/3DBCEN; No Change: Comply with HW value
341 0:Disabled, 1:USB2 DbC, 2:USB3 DbC, 3:Both, 4:No Change
342**/
343 UINT8 DciDbcMode;
344
345/** Offset 0x014C - USB3 Type-C UFP2DFP Kernel/Platform Debug Support
346 This BIOS option enables kernel and platform debug for USB3 interface over a UFP
347 Type-C receptacle, select 'No Change' will do nothing to UFP2DFP setting.
348 0:Disabled, 1:Enabled, 2:No Change
349**/
350 UINT8 DciUsb3TypecUfpDbg;
351
352/** Offset 0x014D - Reserved
353**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700354 UINT8 Reserved3[6];
Kapil Porwala42ad282022-07-07 18:28:30 +0000355
356/** Offset 0x0153 - PCH Trace Hub Mode
357 Enable/Disable PCH TraceHub
358 $EN_DIS
359**/
360 UINT8 PchTraceHubMode;
361
362/** Offset 0x0154 - PCH Trace Hub Memory Region 0 buffer Size
363 Select size of memory region 0 buffer. Memory allocated by BIOS only applies to
364 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
365 memory shall be allocated by tool. User should be cautious to choose the amount
366 of memory. If chosen size is larger than half of system memory, setup will automatically
367 rollback to default value.
368 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
369 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
370**/
371 UINT16 PchTraceHubMemReg0Size;
372
373/** Offset 0x0156 - PCH Trace Hub Memory Region 1 buffer Size
374 Select size of memory region 1 buffer. Memory allocated by BIOS only applies to
375 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
376 memory shall be allocated by tool. User should be cautious to choose the amount
377 of memory. If chosen size is larger than half of system memory, setup will automatically
378 rollback to default value.
379 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
380 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
381**/
382 UINT16 PchTraceHubMemReg1Size;
383
384/** Offset 0x0158 - Reserved
385**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700386 UINT8 Reserved4[4];
Kapil Porwala42ad282022-07-07 18:28:30 +0000387
388/** Offset 0x015C - HD Audio DMIC Link Clock Select
389 Determines DMIC<N> Clock Source. 0: Both, 1: ClkA, 2: ClkB
390 0: Both, 1: ClkA, 2: ClkB
391**/
392 UINT8 PchHdaAudioLinkDmicClockSelect[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700393
394/** Offset 0x015E - State of X2APIC_OPT_OUT bit in the DMAR table
395 0=Disable/Clear, 1=Enable/Set
396 $EN_DIS
397**/
398 UINT8 X2ApicOptOut;
399
Kapil Porwala42ad282022-07-07 18:28:30 +0000400/** Offset 0x015F - State of DMA_CONTROL_GUARANTEE bit in the DMAR table
401 0=Disable/Clear, 1=Enable/Set
402 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700403**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000404 UINT8 DmaControlGuarantee;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700405
406/** Offset 0x0160 - Base addresses for VT-d function MMIO access
407 Base addresses for VT-d MMIO access per VT-d engine
408**/
409 UINT32 VtdBaseAddress[9];
410
411/** Offset 0x0184 - Disable VT-d
412 0=Enable/FALSE(VT-d enabled), 1=Disable/TRUE (VT-d disabled)
413 $EN_DIS
414**/
415 UINT8 VtdDisable;
416
Kapil Porwala42ad282022-07-07 18:28:30 +0000417/** Offset 0x0185 - Vtd Programming for Igd
418 1=Enable/TRUE (Igd VT-d Bar programming enabled), 0=Disable/FLASE (Igd VT-d Bar
419 programming disabled)
420 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700421**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000422 UINT8 VtdIgdEnable;
423
424/** Offset 0x0186 - Vtd Programming for Iop
425 1=Enable/TRUE (Iop VT-d Bar programming enabled), 0=Disable/FLASE (Iop VT-d Bar
426 programming disabled)
427 $EN_DIS
428**/
429 UINT8 VtdIopEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700430
431/** Offset 0x0187 - Internal Graphics Pre-allocated Memory
432 Size of memory preallocated for internal graphics.
433 0x00:0MB, 0x01:32MB, 0x02:64MB, 0x03:96MB, 0x04:128MB, 0xF0:4MB, 0xF1:8MB, 0xF2:12MB,
434 0xF3:16MB, 0xF4:20MB, 0xF5:24MB, 0xF6:28MB, 0xF7:32MB, 0xF8:36MB, 0xF9:40MB, 0xFA:44MB,
435 0xFB:48MB, 0xFC:52MB, 0xFD:56MB, 0xFE:60MB
436**/
437 UINT8 IgdDvmt50PreAlloc;
438
439/** Offset 0x0188 - Internal Graphics
440 Enable/disable internal graphics.
441 $EN_DIS
442**/
443 UINT8 InternalGfx;
444
445/** Offset 0x0189 - Board Type
446 MrcBoardType, Options are 0=Mobile/Mobile Halo, 1=Desktop/DT Halo, 5=ULT/ULX/Mobile
447 Halo, 7=UP Server
448 0:Mobile/Mobile Halo, 1:Desktop/DT Halo, 5:ULT/ULX/Mobile Halo, 7:UP Server
449**/
450 UINT8 UserBd;
451
452/** Offset 0x018A - Reserved
453**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700454 UINT8 Reserved5[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700455
456/** Offset 0x018C - DDR Frequency Limit
457 Maximum Memory Frequency Selections in Mhz. Options are 1067, 1333, 1600, 1867,
458 2133, 2400, 2667, 2933 and 0 for Auto.
459 1067:1067, 1333:1333, 1600:1600, 1867:1867, 2133:2133, 2400:2400, 2667:2667, 2933:2933, 0:Auto
460**/
461 UINT16 DdrFreqLimit;
462
463/** Offset 0x018E - SAGV
464 System Agent dynamic frequency support.
465 0:Disabled, 1:Enabled
466**/
467 UINT8 SaGv;
468
469/** Offset 0x018F - Reserved
470**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700471 UINT8 Reserved6;
Kapil Porwala42ad282022-07-07 18:28:30 +0000472
473/** Offset 0x0190 - Memory Test on Warm Boot
474 Run Base Memory Test on Warm Boot
475 0:Disable, 1:Enable
476**/
477 UINT8 MemTestOnWarmBoot;
478
479/** Offset 0x0191 - DDR Speed Control
480 DDR Frequency and Gear control for all SAGV points.
481 0:Auto, 1:Manual
482**/
483 UINT8 DdrSpeedControl;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700484
485/** Offset 0x0192 - Controller 0 Channel 0 DIMM Control
486 Enable / Disable DIMMs on Controller 0 Channel 0
487 $EN_DIS
488**/
489 UINT8 DisableMc0Ch0;
490
491/** Offset 0x0193 - Controller 0 Channel 1 DIMM Control
492 Enable / Disable DIMMs on Controller 0 Channel 1
493 $EN_DIS
494**/
495 UINT8 DisableMc0Ch1;
496
497/** Offset 0x0194 - Controller 0 Channel 2 DIMM Control
498 Enable / Disable DIMMs on Controller 0 Channel 2
499 $EN_DIS
500**/
501 UINT8 DisableMc0Ch2;
502
503/** Offset 0x0195 - Controller 0 Channel 3 DIMM Control
504 Enable / Disable DIMMs on Controller 0 Channel 3
505 $EN_DIS
506**/
507 UINT8 DisableMc0Ch3;
508
509/** Offset 0x0196 - Controller 1 Channel 0 DIMM Control
510 Enable / Disable DIMMs on Controller 1 Channel 0
511 $EN_DIS
512**/
513 UINT8 DisableMc1Ch0;
514
515/** Offset 0x0197 - Controller 1 Channel 1 DIMM Control
516 Enable / Disable DIMMs on Controller 1 Channel 1
517 $EN_DIS
518**/
519 UINT8 DisableMc1Ch1;
520
521/** Offset 0x0198 - Controller 1 Channel 2 DIMM Control
522 Enable / Disable DIMMs on Controller 1 Channel 2
523 $EN_DIS
524**/
525 UINT8 DisableMc1Ch2;
526
527/** Offset 0x0199 - Controller 1 Channel 3 DIMM Control
528 Enable / Disable DIMMs on Controller 1 Channel 3
529 $EN_DIS
530**/
531 UINT8 DisableMc1Ch3;
532
Kapil Porwala42ad282022-07-07 18:28:30 +0000533/** Offset 0x019A - Scrambler Support
534 This option enables data scrambling in memory.
535 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700536**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000537 UINT8 ScramblerSupport;
538
539/** Offset 0x019B - SPD Profile Selected
540 Select DIMM timing profile. Options are 0:Default SPD Profile, 1:Custom Profile,
541 2:XMP Profile 1, 3:XMP Profile 2, 4:XMP Profile 3, 5:XMP User Profile 4, 6:XMP
542 User Profile 5
543 0:Default SPD Profile, 1:Custom Profile, 2:XMP Profile 1, 3:XMP Profile 2, 4:XMP
544 Profile 3, 5:XMP User Profile 4, 6:XMP User Profile 5
545**/
546 UINT8 SpdProfileSelected;
547
548/** Offset 0x019C - Reserved
549**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700550 UINT8 Reserved7[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700551
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700552/** Offset 0x019F - Memory Reference Clock
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700553 100MHz, 133MHz.
554 0:133MHz, 1:100MHz
555**/
556 UINT8 RefClk;
557
Kapil Porwala42ad282022-07-07 18:28:30 +0000558/** Offset 0x01A0 - Memory Vdd Voltage
559 DRAM voltage (Vdd) (supply voltage for input buffers and core logic of the DRAM
560 chips) in millivolts. <b>0=Platform Default (no override)</b>, 1200=1.2V, 1350=1.35V etc.
561 0:Default, 1200:1.20 Volts, 1250:1.25 Volts, 1300:1.30 Volts, 1350:1.35 Volts, 1400:1.40
562 Volts, 1450:1.45 Volts, 1500:1.50 Volts, 1550:1.55 Volts, 1600:1.60 Volts, 1650:1.65 Volts
563**/
564 UINT16 VddVoltage;
565
566/** Offset 0x01A2 - Reserved
567**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700568 UINT8 Reserved8[4];
Kapil Porwala42ad282022-07-07 18:28:30 +0000569
570/** Offset 0x01A6 - Memory Ratio
571 Automatic or the frequency will equal ratio times reference clock. Set to Auto to
572 recalculate memory timings listed below.
573 0:Auto, 4:4, 5:5, 6:6, 7:7, 8:8, 9:9, 10:10, 11:11, 12:12, 13:13, 14:14, 15:15
574**/
575 UINT16 Ratio;
576
577/** Offset 0x01A8 - tCL
578 CAS Latency, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
579 == 1 (Custom Profile).
580**/
581 UINT8 tCL;
582
583/** Offset 0x01A9 - tCWL
584 Min CAS Write Latency Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
585 == 1 (Custom Profile).
586**/
587 UINT8 tCWL;
588
589/** Offset 0x01AA - tFAW
590 Min Four Activate Window Delay Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
591 == 1 (Custom Profile).
592**/
593 UINT16 tFAW;
594
595/** Offset 0x01AC - tRAS
596 RAS Active Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
597 == 1 (Custom Profile).
598**/
599 UINT16 tRAS;
600
601/** Offset 0x01AE - tRCD/tRP
602 RAS to CAS delay time and Row Precharge delay time, 0: AUTO, max: 255. Only used
603 if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
604**/
605 UINT8 tRCDtRP;
606
607/** Offset 0x01AF - Reserved
608**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700609 UINT8 Reserved9;
Kapil Porwala42ad282022-07-07 18:28:30 +0000610
611/** Offset 0x01B0 - tREFI
612 Refresh Interval, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
613 == 1 (Custom Profile).
614**/
615 UINT16 tREFI;
616
617/** Offset 0x01B2 - tRFC
618 Min Refresh Recovery Delay Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
619 == 1 (Custom Profile).
620**/
621 UINT16 tRFC;
622
623/** Offset 0x01B4 - tRRD
624 Min Row Active to Row Active Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
625 == 1 (Custom Profile).
626**/
627 UINT8 tRRD;
628
629/** Offset 0x01B5 - tRTP
630 Min Internal Read to Precharge Command Delay Time, 0: AUTO, max: 255. Only used
631 if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
632**/
633 UINT8 tRTP;
634
635/** Offset 0x01B6 - tWR
636 Min Write Recovery Time, 0: AUTO, legal values: 5, 6, 7, 8, 10, 12, 14, 16, 18,
637 20, 24, 30, 34, 40. Only used if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
638 0:Auto, 5:5, 6:6, 7:7, 8:8, 10:10, 12:12, 14:14, 16:16, 18:18, 20:20, 24:24, 30:30,
639 34:34, 40:40
640**/
641 UINT8 tWR;
642
643/** Offset 0x01B7 - tWTR
644 Min Internal Write to Read Command Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
645 == 1 (Custom Profile).
646**/
647 UINT8 tWTR;
648
649/** Offset 0x01B8 - Reserved
650**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700651 UINT8 Reserved10[11];
Kapil Porwala42ad282022-07-07 18:28:30 +0000652
653/** Offset 0x01C3 - NMode
654 System command rate, range 0-2, 0 means auto, 1 = 1N, 2 = 2N
655**/
656 UINT8 NModeSupport;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700657
658/** Offset 0x01C4 - Enable Intel HD Audio (Azalia)
659 0: Disable, 1: Enable (Default) Azalia controller
660 $EN_DIS
661**/
662 UINT8 PchHdaEnable;
663
664/** Offset 0x01C5 - Enable PCH ISH Controller
665 0: Disable, 1: Enable (Default) ISH Controller
666 $EN_DIS
667**/
668 UINT8 PchIshEnable;
669
Kapil Porwala42ad282022-07-07 18:28:30 +0000670/** Offset 0x01C6 - SAGV Gear Ratio
671 Gear Selection for SAGV points. 0 - Auto, 2-Gear 2, 4-Gear 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700672**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000673 UINT8 SaGvGear[4];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700674
Kapil Porwala42ad282022-07-07 18:28:30 +0000675/** Offset 0x01CA - SAGV Frequency
676 SAGV Frequency per point in Mhz. 0 for Auto and a ratio of 133/100MHz: 1333/1300.
677**/
678 UINT16 SaGvFreq[4];
679
680/** Offset 0x01D2 - SAGV Disabled Gear Ratio
681 Gear Selection for SAGV Disabled. 0 - Auto, 2-Gear 2, 2-Gear 4
682**/
683 UINT8 GearRatio;
684
685/** Offset 0x01D3 - Reserved
686**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700687 UINT8 Reserved11[69];
Kapil Porwala42ad282022-07-07 18:28:30 +0000688
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700689/** Offset 0x0218 - MMIO size adjustment for AUTO mode
Kapil Porwala42ad282022-07-07 18:28:30 +0000690 Positive number means increasing MMIO size, Negative value means decreasing MMIO
691 size: 0 (Default)=no change to AUTO mode MMIO size
692**/
693 UINT16 MmioSizeAdjustment;
694
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700695/** Offset 0x021A - Selection of the primary display device
Kapil Porwala42ad282022-07-07 18:28:30 +0000696 0=iGFX, 3(Default)=AUTO, 4=Hybrid Graphics
697 0:iGFX, 3:AUTO, 4:Hybrid Graphics
698**/
699 UINT8 PrimaryDisplay;
700
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700701/** Offset 0x021B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000702**/
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -0700703 UINT8 Reserved12;
Kapil Porwala42ad282022-07-07 18:28:30 +0000704
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700705/** Offset 0x021C - Temporary MMIO address for GMADR
Kapil Porwala42ad282022-07-07 18:28:30 +0000706 Obsolete field now and it has been extended to 64 bit address, used LMemBar
707**/
708 UINT32 GmAdr;
709
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700710/** Offset 0x0220 - Temporary MMIO address for GTTMMADR
Kapil Porwala42ad282022-07-07 18:28:30 +0000711 The reference code will use this as Temporary MMIO address space to access GTTMMADR
712 Registers.Platform should provide conflict free Temporary MMIO Range: GttMmAdr
713 to (GttMmAdr + 2MB MMIO + 6MB Reserved + GttSize). Default is (GmAdr - (2MB MMIO
714 + 6MB Reserved + GttSize)) to (GmAdr - 0x1) (Where GttSize = 8MB)
715**/
716 UINT32 GttMmAdr;
717
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700718/** Offset 0x0224 - Enable/Disable MRC TXT dependency
Kapil Porwala42ad282022-07-07 18:28:30 +0000719 When enabled MRC execution will wait for TXT initialization to be done first. Disabled(0x0)(Default):
720 MRC will not wait for TXT initialization, Enabled(0x1): MRC will wait for TXT initialization
721 $EN_DIS
722**/
723 UINT8 TxtImplemented;
724
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700725/** Offset 0x0225 - Enable/Disable SA OcSupport
Kapil Porwala42ad282022-07-07 18:28:30 +0000726 Enable: Enable SA OcSupport, Disable(Default): Disable SA OcSupport
727 $EN_DIS
728**/
729 UINT8 SaOcSupport;
730
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700731/** Offset 0x0226 - GT slice Voltage Mode
Kapil Porwala42ad282022-07-07 18:28:30 +0000732 0(Default): Adaptive, 1: Override
733 0: Adaptive, 1: Override
734**/
735 UINT8 GtVoltageMode;
736
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700737/** Offset 0x0227 - Maximum GTs turbo ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +0000738 0(Default)=Minimal/Auto, 60=Maximum
739**/
740 UINT8 GtMaxOcRatio;
741
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700742/** Offset 0x0228 - The voltage offset applied to GT slice
Kapil Porwala42ad282022-07-07 18:28:30 +0000743 0(Default)=Minimal, 1000=Maximum
744**/
745 UINT16 GtVoltageOffset;
746
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700747/** Offset 0x022A - The GT slice voltage override which is applied to the entire range of GT frequencies
Kapil Porwala42ad282022-07-07 18:28:30 +0000748 0(Default)=Minimal, 2000=Maximum
749**/
750 UINT16 GtVoltageOverride;
751
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700752/** Offset 0x022C - adaptive voltage applied during turbo frequencies
Kapil Porwala42ad282022-07-07 18:28:30 +0000753 0(Default)=Minimal, 2000=Maximum
754**/
755 UINT16 GtExtraTurboVoltage;
756
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700757/** Offset 0x022E - voltage offset applied to the SA
Kapil Porwala42ad282022-07-07 18:28:30 +0000758 0(Default)=Minimal, 1000=Maximum
759**/
760 UINT16 SaVoltageOffset;
761
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700762/** Offset 0x0230 - PCIe root port Function number for Hybrid Graphics dGPU
Kapil Porwala42ad282022-07-07 18:28:30 +0000763 Root port Index number to indicate which PCIe root port has dGPU
764**/
765 UINT8 RootPortIndex;
766
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700767/** Offset 0x0231 - Realtime Memory Timing
Kapil Porwala42ad282022-07-07 18:28:30 +0000768 0(Default): Disabled, 1: Enabled. When enabled, it will allow the system to perform
769 realtime memory timing changes after MRC_DONE.
770 0: Disabled, 1: Enabled
771**/
772 UINT8 RealtimeMemoryTiming;
773
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530774/** Offset 0x0232 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000775**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530776 UINT8 Reserved13;
Kapil Porwala42ad282022-07-07 18:28:30 +0000777
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700778/** Offset 0x0233 - Enable/Disable SA IPU
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700779 Enable(Default): Enable SA IPU, Disable: Disable SA IPU
780 $EN_DIS
781**/
782 UINT8 SaIpuEnable;
783
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700784/** Offset 0x0234 - IMGU CLKOUT Configuration
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700785 The configuration of IMGU CLKOUT, 0: Disable;<b>1: Enable</b>.
786 $EN_DIS
787**/
788 UINT8 ImguClkOutEn[6];
789
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700790/** Offset 0x023A - Program GPIOs for LFP on DDI port-A device
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700791 0=Disabled,1(Default)=eDP, 2=MIPI DSI
792 0:Disabled, 1:eDP, 2:MIPI DSI
793**/
794 UINT8 DdiPortAConfig;
795
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700796/** Offset 0x023B - Program GPIOs for LFP on DDI port-B device
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700797 0(Default)=Disabled,1=eDP, 2=MIPI DSI
798 0:Disabled, 1:eDP, 2:MIPI DSI
799**/
800 UINT8 DdiPortBConfig;
801
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700802/** Offset 0x023C - Enable or disable HPD of DDI port A
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700803 0(Default)=Disable, 1=Enable
804 $EN_DIS
805**/
806 UINT8 DdiPortAHpd;
807
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700808/** Offset 0x023D - Enable or disable HPD of DDI port B
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700809 0=Disable, 1(Default)=Enable
810 $EN_DIS
811**/
812 UINT8 DdiPortBHpd;
813
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700814/** Offset 0x023E - Enable or disable HPD of DDI port C
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700815 0(Default)=Disable, 1=Enable
816 $EN_DIS
817**/
818 UINT8 DdiPortCHpd;
819
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700820/** Offset 0x023F - Enable or disable HPD of DDI port 1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700821 0=Disable, 1(Default)=Enable
822 $EN_DIS
823**/
824 UINT8 DdiPort1Hpd;
825
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700826/** Offset 0x0240 - Enable or disable HPD of DDI port 2
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700827 0(Default)=Disable, 1=Enable
828 $EN_DIS
829**/
830 UINT8 DdiPort2Hpd;
831
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700832/** Offset 0x0241 - Enable or disable HPD of DDI port 3
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700833 0(Default)=Disable, 1=Enable
834 $EN_DIS
835**/
836 UINT8 DdiPort3Hpd;
837
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700838/** Offset 0x0242 - Enable or disable HPD of DDI port 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700839 0(Default)=Disable, 1=Enable
840 $EN_DIS
841**/
842 UINT8 DdiPort4Hpd;
843
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700844/** Offset 0x0243 - Enable or disable DDC of DDI port A
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700845 0(Default)=Disable, 1=Enable
846 $EN_DIS
847**/
848 UINT8 DdiPortADdc;
849
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700850/** Offset 0x0244 - Enable or disable DDC of DDI port B
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700851 0=Disable, 1(Default)=Enable
852 $EN_DIS
853**/
854 UINT8 DdiPortBDdc;
855
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700856/** Offset 0x0245 - Enable or disable DDC of DDI port C
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700857 0(Default)=Disable, 1=Enable
858 $EN_DIS
859**/
860 UINT8 DdiPortCDdc;
861
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700862/** Offset 0x0246 - Enable DDC setting of DDI Port 1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700863 0(Default)=Disable, 1=Enable
864 $EN_DIS
865**/
866 UINT8 DdiPort1Ddc;
867
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700868/** Offset 0x0247 - Enable DDC setting of DDI Port 2
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700869 0(Default)=Disable, 1=Enable
870 $EN_DIS
871**/
872 UINT8 DdiPort2Ddc;
873
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700874/** Offset 0x0248 - Enable DDC setting of DDI Port 3
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700875 0(Default)=Disable, 1=Enable
876 $EN_DIS
877**/
878 UINT8 DdiPort3Ddc;
879
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700880/** Offset 0x0249 - Enable DDC setting of DDI Port 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700881 0(Default)=Disable, 1=Enable
882 $EN_DIS
883**/
884 UINT8 DdiPort4Ddc;
885
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700886/** Offset 0x024A - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700887**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530888 UINT8 Reserved14[14];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700889
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700890/** Offset 0x0258 - Per-core HT Disable
Kapil Porwala42ad282022-07-07 18:28:30 +0000891 Defines the per-core HT disable mask where: 1 - Disable selected logical core HT,
892 0 - is ignored. Input is in HEX and each bit maps to a logical core. Ex. A value
893 of '1F' would disable HT for cores 4,3,2,1 and 0. Default is 0, all cores have
894 HT enabled. Range is 0 - 0x7F for max 8 cores. You can only disable up to MAX_CORE_COUNT - 1.
895**/
896 UINT16 PerCoreHtDisable;
897
Subrata Banikbf71c722022-10-17 14:57:41 +0530898/** Offset 0x025A - Reserved
899**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530900 UINT8 Reserved15[6];
Subrata Banikbf71c722022-10-17 14:57:41 +0530901
902/** Offset 0x0260 - Thermal Velocity Boost Ratio clipping
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530903 0: Disabled, 1(Default): Enabled. This service controls Core frequency reduction
Kapil Porwala42ad282022-07-07 18:28:30 +0000904 caused by high package temperatures for processors that implement the Intel Thermal
905 Velocity Boost (TVB) feature
906 $EN_DIS
907**/
908 UINT8 TvbRatioClipping;
909
Subrata Banikbf71c722022-10-17 14:57:41 +0530910/** Offset 0x0261 - Thermal Velocity Boost voltage optimization
Kapil Porwala42ad282022-07-07 18:28:30 +0000911 0: Disabled, 1: Enabled(Default). This service controls thermal based voltage optimizations
912 for processors that implement the Intel Thermal Velocity Boost (TVB) feature.
913 $EN_DIS
914**/
915 UINT8 TvbVoltageOptimization;
916
Subrata Banikbf71c722022-10-17 14:57:41 +0530917/** Offset 0x0262 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000918**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530919 UINT8 Reserved16[47];
Kapil Porwala42ad282022-07-07 18:28:30 +0000920
Subrata Banikbf71c722022-10-17 14:57:41 +0530921/** Offset 0x0291 - DMI Max Link Speed
Kapil Porwala42ad282022-07-07 18:28:30 +0000922 Auto (Default)(0x0): Maximum possible link speed, Gen1(0x1): Limit Link to Gen1
923 Speed, Gen2(0x2): Limit Link to Gen2 Speed, Gen3(0x3):Limit Link to Gen3 Speed
924 0:Auto, 1:Gen1, 2:Gen2, 3:Gen3
925**/
926 UINT8 DmiMaxLinkSpeed;
927
Subrata Banikbf71c722022-10-17 14:57:41 +0530928/** Offset 0x0292 - DMI Equalization Phase 2
Kapil Porwala42ad282022-07-07 18:28:30 +0000929 DMI Equalization Phase 2. (0x0): Disable phase 2, (0x1): Enable phase 2, (0x2)(Default):
930 AUTO - Use the current default method
931 0:Disable phase2, 1:Enable phase2, 2:Auto
932**/
933 UINT8 DmiGen3EqPh2Enable;
934
Subrata Banikbf71c722022-10-17 14:57:41 +0530935/** Offset 0x0293 - DMI Gen3 Equalization Phase3
Kapil Porwala42ad282022-07-07 18:28:30 +0000936 DMI Gen3 Equalization Phase3. Auto(0x0)(Default): Use the current default method,
937 HwEq(0x1): Use Adaptive Hardware Equalization, SwEq(0x2): Use Adaptive Software
938 Equalization (Implemented in BIOS Reference Code), Static(0x3): Use the Static
939 EQs provided in DmiGen3EndPointPreset array for Phase1 AND Phase3 (Instead of just
940 Phase1), Disabled(0x4): Bypass Equalization Phase 3
941 0:Auto, 1:HwEq, 2:SwEq, 3:StaticEq, 4:BypassPhase3
942**/
943 UINT8 DmiGen3EqPh3Method;
944
Subrata Banikbf71c722022-10-17 14:57:41 +0530945/** Offset 0x0294 - Enable/Disable DMI GEN3 Static EQ Phase1 programming
Kapil Porwala42ad282022-07-07 18:28:30 +0000946 Program DMI Gen3 EQ Phase1 Static Presets. Disabled(0x0): Disable EQ Phase1 Static
947 Presets Programming, Enabled(0x1)(Default): Enable EQ Phase1 Static Presets Programming
948 $EN_DIS
949**/
950 UINT8 DmiGen3ProgramStaticEq;
951
Subrata Banikbf71c722022-10-17 14:57:41 +0530952/** Offset 0x0295 - DMI Gen3 Root port preset values per lane
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700953 Used for programming DMI Gen3 preset values per lane. Range: 0-9, 4 is default for each lane
954**/
955 UINT8 DmiGen3RootPortPreset[8];
956
Subrata Banikbf71c722022-10-17 14:57:41 +0530957/** Offset 0x029D - DMI Gen3 End port preset values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +0000958 Used for programming DMI Gen3 preset values per lane. Range: 0-9, 7 is default for each lane
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700959**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000960 UINT8 DmiGen3EndPointPreset[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700961
Subrata Banikbf71c722022-10-17 14:57:41 +0530962/** Offset 0x02A5 - DMI Gen3 End port Hint values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +0000963 Used for programming DMI Gen3 Hint values per lane. Range: 0-6, 2 is default for each lane
964**/
965 UINT8 DmiGen3EndPointHint[8];
966
Subrata Banikbf71c722022-10-17 14:57:41 +0530967/** Offset 0x02AD - DMI ASPM Configuration:{Combo
Kapil Porwala42ad282022-07-07 18:28:30 +0000968 Set ASPM Configuration
969 0:Disabled, 1:L0s, 2:L1, 3:L1L0s
970**/
971 UINT8 DmiAspm;
972
Subrata Banikbf71c722022-10-17 14:57:41 +0530973/** Offset 0x02AE - Enable/Disable DMI GEN3 Hardware Eq
Kapil Porwala42ad282022-07-07 18:28:30 +0000974 Enable/Disable DMI GEN3 Hardware Eq. Disabled(0x0): Disable Hardware Eq, Enabled(0x1)(Default):
975 Enable EQ Phase1 Static Presets Programming
976 $EN_DIS
977**/
978 UINT8 DmiHweq;
979
Subrata Banikbf71c722022-10-17 14:57:41 +0530980/** Offset 0x02AF - Enable/Disable DMI GEN3 Phase 23 Bypass
Kapil Porwala42ad282022-07-07 18:28:30 +0000981 DMIGEN3 Phase 23 Bypass. Disabled(0x0)(Default): Disable Phase 23 Bypass, Enabled(0x1):
982 Enable Phase 23 Bypass
983 $EN_DIS
984**/
985 UINT8 Gen3EqPhase23Bypass;
986
Subrata Banikbf71c722022-10-17 14:57:41 +0530987/** Offset 0x02B0 - Enable/Disable DMI GEN3 Phase 3 Bypass
Kapil Porwala42ad282022-07-07 18:28:30 +0000988 DMIGEN3 Phase 3 Bypass. Disabled(0x0)(Default): Disable Phase 3 Bypass, Enabled(0x1):
989 Enable Phase 3 Bypass
990 $EN_DIS
991**/
992 UINT8 Gen3EqPhase3Bypass;
993
Subrata Banikbf71c722022-10-17 14:57:41 +0530994/** Offset 0x02B1 - Enable/Disable DMI Gen3 EQ Local Transmitter Coefficient Override Enable
Kapil Porwala42ad282022-07-07 18:28:30 +0000995 Program Gen3 EQ Local Transmitter Coefficient Override. Disabled(0x0): Disable Local
996 Transmitter Coefficient Override, Enabled(0x1)(Default): Enable Local Transmitter
997 Coefficient Override
998 $EN_DIS
999**/
1000 UINT8 Gen3LtcoEnable;
1001
Subrata Banikbf71c722022-10-17 14:57:41 +05301002/** Offset 0x02B2 - Enable/Disable DMI Gen3 EQ Remote Transmitter Coefficient/Preset Override Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00001003 Program Remote Transmitter Coefficient/Preset Override. Disabled(0x0)(Default):
1004 Disable Remote Transmitter Coefficient/Preset Override, Enabled(0x1): Enable Remote
1005 Transmitter Coefficient/Preset Override
1006 $EN_DIS
1007**/
1008 UINT8 Gen3RtcoRtpoEnable;
1009
Subrata Banikbf71c722022-10-17 14:57:41 +05301010/** Offset 0x02B3 - DMI Gen3 Transmitter Pre-Cursor Coefficient
Kapil Porwala42ad282022-07-07 18:28:30 +00001011 Used for programming DMI Gen3 Transmitter Pre-Cursor Coefficient . Range: 0-10,
1012 2 is default for each lane
1013**/
1014 UINT8 DmiGen3Ltcpre[8];
1015
Subrata Banikbf71c722022-10-17 14:57:41 +05301016/** Offset 0x02BB - DMI Gen3 Transmitter Post-Cursor Coefficient
Kapil Porwala42ad282022-07-07 18:28:30 +00001017 Used for programming Transmitter Post-Cursor Coefficient. Range: 0-9, 2 is default
1018 for each lane
1019**/
1020 UINT8 DmiGen3Ltcpo[8];
1021
Subrata Banikbf71c722022-10-17 14:57:41 +05301022/** Offset 0x02C3 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001023**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301024 UINT8 Reserved17[16];
Kapil Porwala42ad282022-07-07 18:28:30 +00001025
Subrata Banikbf71c722022-10-17 14:57:41 +05301026/** Offset 0x02D3 - Enable/Disable DMI GEN3 DmiGen3DsPresetEnable
Kapil Porwala42ad282022-07-07 18:28:30 +00001027 Enable/Disable DMI GEN3 DmiGen3DsPreset. Auto(0x0)(Default): DmiGen3DsPresetEnable,
1028 Manual(0x1): Enable DmiGen3DsPresetEnable
1029 $EN_DIS
1030**/
1031 UINT8 DmiGen3DsPresetEnable;
1032
Subrata Banikbf71c722022-10-17 14:57:41 +05301033/** Offset 0x02D4 - DMI Gen3 Root port preset Rx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001034 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 1 is default
1035 for each lane
1036**/
1037 UINT8 DmiGen3DsPortRxPreset[8];
1038
Subrata Banikbf71c722022-10-17 14:57:41 +05301039/** Offset 0x02DC - DMI Gen3 Root port preset Tx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001040 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 7 is default
1041 for each lane
1042**/
1043 UINT8 DmiGen3DsPortTxPreset[8];
1044
Subrata Banikbf71c722022-10-17 14:57:41 +05301045/** Offset 0x02E4 - Enable/Disable DMI GEN3 DmiGen3UsPresetEnable
Kapil Porwala42ad282022-07-07 18:28:30 +00001046 Enable/Disable DMI GEN3 DmiGen3UsPreset. Auto(0x0)(Default): DmiGen3UsPresetEnable,
1047 Manual(0x1): Enable DmiGen3UsPresetEnable
1048 $EN_DIS
1049**/
1050 UINT8 DmiGen3UsPresetEnable;
1051
Subrata Banikbf71c722022-10-17 14:57:41 +05301052/** Offset 0x02E5 - DMI Gen3 Root port preset Rx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001053 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 7 is default
1054 for each lane
1055**/
1056 UINT8 DmiGen3UsPortRxPreset[8];
1057
Subrata Banikbf71c722022-10-17 14:57:41 +05301058/** Offset 0x02ED - DMI Gen3 Root port preset Tx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001059 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 1 is default
1060 for each lane
1061**/
1062 UINT8 DmiGen3UsPortTxPreset[8];
1063
Subrata Banikbf71c722022-10-17 14:57:41 +05301064/** Offset 0x02F5 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001065**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301066 UINT8 Reserved18[54];
Kapil Porwala42ad282022-07-07 18:28:30 +00001067
Subrata Banikbf71c722022-10-17 14:57:41 +05301068/** Offset 0x032B - DMI ASPM L1 exit Latency
Kapil Porwala42ad282022-07-07 18:28:30 +00001069 Range: 0-7, 4 is default L1 exit Latency
1070**/
1071 UINT8 DmiAspmL1ExitLatency;
1072
Subrata Banikbf71c722022-10-17 14:57:41 +05301073/** Offset 0x032C - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001074**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301075 UINT8 Reserved19[40];
Kapil Porwala42ad282022-07-07 18:28:30 +00001076
Subrata Banik6ed43152022-11-22 16:36:37 +05301077/** Offset 0x0354 - BIST on Reset
Kapil Porwala42ad282022-07-07 18:28:30 +00001078 Enable/Disable BIST (Built-In Self Test) on reset. <b>0: Disable</b>; 1: Enable.
1079 $EN_DIS
1080**/
1081 UINT8 BistOnReset;
1082
Subrata Banik6ed43152022-11-22 16:36:37 +05301083/** Offset 0x0355 - Skip Stop PBET Timer Enable/Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00001084 Skip Stop PBET Timer; <b>0: Disable</b>; 1: Enable
1085 $EN_DIS
1086**/
1087 UINT8 SkipStopPbet;
1088
Subrata Banik6ed43152022-11-22 16:36:37 +05301089/** Offset 0x0356 - Over clocking support
Kapil Porwala42ad282022-07-07 18:28:30 +00001090 Over clocking support; <b>0: Disable</b>; 1: Enable
1091 $EN_DIS
1092**/
1093 UINT8 OcSupport;
1094
Subrata Banik6ed43152022-11-22 16:36:37 +05301095/** Offset 0x0357 - Over clocking Lock
Kapil Porwala42ad282022-07-07 18:28:30 +00001096 Lock Overclocking. 0: Disable; <b>1: Enable</b>
1097 $EN_DIS
1098**/
1099 UINT8 OcLock;
1100
Subrata Banik6ed43152022-11-22 16:36:37 +05301101/** Offset 0x0358 - Maximum Core Turbo Ratio Override
Kapil Porwala42ad282022-07-07 18:28:30 +00001102 Maximum core turbo ratio override allows to increase CPU core frequency beyond the
1103 fused max turbo ratio limit. <b>0: Hardware defaults.</b> Range: 0-85 if CoreRatioExtensionMode
1104 is disabled. 0-120 if CoreRatioExtensionMode is enabled.
1105**/
1106 UINT8 CoreMaxOcRatio;
1107
Subrata Banik6ed43152022-11-22 16:36:37 +05301108/** Offset 0x0359 - Core voltage mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001109 Core voltage mode; <b>0: Adaptive</b>; 1: Override.
1110 $EN_DIS
1111**/
1112 UINT8 CoreVoltageMode;
1113
Subrata Banik6ed43152022-11-22 16:36:37 +05301114/** Offset 0x035A - Maximum clr turbo ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +00001115 Maximum clr turbo ratio override allows to increase CPU clr frequency beyond the
1116 fused max turbo ratio limit. <b>0: Hardware defaults.</b> Range: 0-85
1117**/
1118 UINT8 RingMaxOcRatio;
1119
Subrata Banik6ed43152022-11-22 16:36:37 +05301120/** Offset 0x035B - Hyper Threading Enable/Disable
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001121 Enable or Disable Hyper-Threading Technology. 0: Disable; <b>1: Enable</b>
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001122 $EN_DIS
1123**/
1124 UINT8 HyperThreading;
1125
Subrata Banik6ed43152022-11-22 16:36:37 +05301126/** Offset 0x035C - Enable or Disable CPU Ratio Override
Kapil Porwala42ad282022-07-07 18:28:30 +00001127 Enable/Disable CPU Flex Ratio Programming; <b>0: Disable</b>; 1: Enable.
1128 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001129**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001130 UINT8 CpuRatioOverride;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001131
Subrata Banik6ed43152022-11-22 16:36:37 +05301132/** Offset 0x035D - CPU ratio value
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001133 This value must be between Max Efficiency Ratio (LFM) and Maximum non-turbo ratio
1134 set by Hardware (HFM). Valid Range 0 to 63.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001135**/
1136 UINT8 CpuRatio;
1137
Subrata Banik6ed43152022-11-22 16:36:37 +05301138/** Offset 0x035E - Reserved
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001139**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301140 UINT8 Reserved20;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001141
Subrata Banik6ed43152022-11-22 16:36:37 +05301142/** Offset 0x035F - Number of active big cores
Kapil Porwala42ad282022-07-07 18:28:30 +00001143 Number of P-cores to enable in each processor package. Note: Number of P-Cores and
1144 E-Cores are looked at together. When both are {0,0
1145 0:Disable all big cores, 1:1, 2:2, 3:3, 0xFF:Active all big cores
1146**/
1147 UINT8 ActiveCoreCount;
1148
Subrata Banik6ed43152022-11-22 16:36:37 +05301149/** Offset 0x0360 - Processor Early Power On Configuration FCLK setting
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001150 FCLK frequency can take values of 400MHz, 800MHz and 1GHz. <b>0: 800 MHz (ULT/ULX)</b>.
1151 <b>1: 1 GHz (DT/Halo)</b>. Not supported on ULT/ULX.- 2: 400 MHz. - 3: Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001152 0:800 MHz, 1: 1 GHz, 2: 400 MHz, 3: Reserved
1153**/
1154 UINT8 FClkFrequency;
1155
Subrata Banik6ed43152022-11-22 16:36:37 +05301156/** Offset 0x0361 - Enable or Disable VMX
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001157 Enable or Disable VMX, When enabled, a VMM can utilize the additional hardware capabilities
1158 provided by Vanderpool Technology. 0: Disable; <b>1: Enable</b>.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001159 $EN_DIS
1160**/
1161 UINT8 VmxEnable;
1162
Subrata Banik6ed43152022-11-22 16:36:37 +05301163/** Offset 0x0362 - AVX2 Ratio Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001164 0(Default)= No Offset. Range 0 - 31. Specifies number of bins to decrease AVX ratio
1165 vs. Core Ratio. Uses Mailbox MSR 0x150, cmd 0x1B.
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001166**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001167 UINT8 Avx2RatioOffset;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001168
Subrata Banik6ed43152022-11-22 16:36:37 +05301169/** Offset 0x0363 - AVX3 Ratio Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001170 0(Default)= No Offset. Range 0 - 31. Specifies number of bins to decrease AVX ratio
1171 vs. Core Ratio. Uses Mailbox MSR 0x150, cmd 0x1B.
1172**/
1173 UINT8 Avx3RatioOffset;
1174
Subrata Banik6ed43152022-11-22 16:36:37 +05301175/** Offset 0x0364 - BCLK Adaptive Voltage Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00001176 When enabled, the CPU V/F curves are aware of BCLK frequency when calculated. </b>0:
1177 Disable;<b> 1: Enable
1178 $EN_DIS
1179**/
1180 UINT8 BclkAdaptiveVoltage;
1181
Subrata Banik6ed43152022-11-22 16:36:37 +05301182/** Offset 0x0365 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001183**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301184 UINT8 Reserved21;
Kapil Porwala42ad282022-07-07 18:28:30 +00001185
Subrata Banik6ed43152022-11-22 16:36:37 +05301186/** Offset 0x0366 - core voltage override
Kapil Porwala42ad282022-07-07 18:28:30 +00001187 The core voltage override which is applied to the entire range of cpu core frequencies.
1188 Valid Range 0 to 2000
1189**/
1190 UINT16 CoreVoltageOverride;
1191
Subrata Banik6ed43152022-11-22 16:36:37 +05301192/** Offset 0x0368 - Core Turbo voltage Adaptive
Kapil Porwala42ad282022-07-07 18:28:30 +00001193 Extra Turbo voltage applied to the cpu core when the cpu is operating in turbo mode.
1194 Valid Range 0 to 2000
1195**/
1196 UINT16 CoreVoltageAdaptive;
1197
Subrata Banik6ed43152022-11-22 16:36:37 +05301198/** Offset 0x036A - Core Turbo voltage Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001199 The voltage offset applied to the core while operating in turbo mode.Valid Range 0 to 1000
1200**/
1201 UINT16 CoreVoltageOffset;
1202
Subrata Banik6ed43152022-11-22 16:36:37 +05301203/** Offset 0x036C - Core PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001204 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1205**/
1206 UINT8 CorePllVoltageOffset;
1207
Subrata Banik6ed43152022-11-22 16:36:37 +05301208/** Offset 0x036D - Ring Downbin
Kapil Porwala42ad282022-07-07 18:28:30 +00001209 Ring Downbin enable/disable. When enabled, CPU will ensure the ring ratio is always
1210 lower than the core ratio.0: Disable; <b>1: Enable.</b>
1211 $EN_DIS
1212**/
1213 UINT8 RingDownBin;
1214
Subrata Banik6ed43152022-11-22 16:36:37 +05301215/** Offset 0x036E - Ring voltage mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001216 Ring voltage mode; <b>0: Adaptive</b>; 1: Override.
1217 $EN_DIS
1218**/
1219 UINT8 RingVoltageMode;
1220
Subrata Banik6ed43152022-11-22 16:36:37 +05301221/** Offset 0x036F - TjMax Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001222 TjMax offset.Specified value here is clipped by pCode (125 - TjMax Offset) to support
1223 TjMax in the range of 62 to 115 deg Celsius. Valid Range 10 - 63
1224**/
1225 UINT8 TjMaxOffset;
1226
Subrata Banik6ed43152022-11-22 16:36:37 +05301227/** Offset 0x0370 - Ring voltage override
Kapil Porwala42ad282022-07-07 18:28:30 +00001228 The ring voltage override which is applied to the entire range of cpu ring frequencies.
1229 Valid Range 0 to 2000
1230**/
1231 UINT16 RingVoltageOverride;
1232
Subrata Banik6ed43152022-11-22 16:36:37 +05301233/** Offset 0x0372 - Ring Turbo voltage Adaptive
Kapil Porwala42ad282022-07-07 18:28:30 +00001234 Extra Turbo voltage applied to the cpu ring when the cpu is operating in turbo mode.
1235 Valid Range 0 to 2000
1236**/
1237 UINT16 RingVoltageAdaptive;
1238
Subrata Banik6ed43152022-11-22 16:36:37 +05301239/** Offset 0x0374 - Ring Turbo voltage Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001240 The voltage offset applied to the ring while operating in turbo mode. Valid Range 0 to 1000
1241**/
1242 UINT16 RingVoltageOffset;
1243
Subrata Banik6ed43152022-11-22 16:36:37 +05301244/** Offset 0x0376 - Enable or Disable TME
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001245 Configure Total Memory Encryption (TME) to protect DRAM data from physical attacks.
1246 <b>0: Disable</b>; 1: Enable.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001247 $EN_DIS
1248**/
1249 UINT8 TmeEnable;
1250
Subrata Banik6ed43152022-11-22 16:36:37 +05301251/** Offset 0x0377 - Enable CPU CrashLog
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001252 Enable or Disable CPU CrashLog; 0: Disable; <b>1: Enable</b>.
1253 $EN_DIS
1254**/
1255 UINT8 CpuCrashLogEnable;
1256
Subrata Banik6ed43152022-11-22 16:36:37 +05301257/** Offset 0x0378 - CPU Run Control
Kapil Porwala42ad282022-07-07 18:28:30 +00001258 Enable, Disable or Do not configure CPU Run Control; 0: Disable; 1: Enable ; <b>2:
1259 No Change</b>
1260 0:Disabled, 1:Enabled, 2:No Change
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001261**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001262 UINT8 DebugInterfaceEnable;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001263
Subrata Banik6ed43152022-11-22 16:36:37 +05301264/** Offset 0x0379 - CPU Run Control Lock
Kapil Porwala42ad282022-07-07 18:28:30 +00001265 Lock or Unlock CPU Run Control; 0: Disable; <b>1: Enable</b>.
1266 $EN_DIS
1267**/
1268 UINT8 DebugInterfaceLockEnable;
1269
Subrata Banik6ed43152022-11-22 16:36:37 +05301270/** Offset 0x037A - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001271**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301272 UINT8 Reserved22[67];
Kapil Porwala42ad282022-07-07 18:28:30 +00001273
Subrata Banik6ed43152022-11-22 16:36:37 +05301274/** Offset 0x03BD - Core VF Point Offset Mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001275 Selects Core Voltage & Frequency Offset mode between Legacy and Selection modes.
1276 In Legacy Mode, setting a global offset for the entire VF curve. In Selection Mode,
1277 setting a selected VF point; <b>0: Legacy</b>; 1: Selection.
1278 0:Legacy, 1:Selection
1279**/
1280 UINT8 CoreVfPointOffsetMode;
1281
Subrata Banik6ed43152022-11-22 16:36:37 +05301282/** Offset 0x03BE - Core VF Point Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001283 Array used to specifies the Core Voltage Offset applied to the each selected VF
1284 Point. This voltage is specified in millivolts.
1285**/
1286 UINT16 CoreVfPointOffset[15];
1287
Subrata Banik6ed43152022-11-22 16:36:37 +05301288/** Offset 0x03DC - Core VF Point Offset Prefix
Kapil Porwala42ad282022-07-07 18:28:30 +00001289 Sets the CoreVfPointOffset value as positive or negative for corresponding core
1290 VF Point; <b>0: Positive </b>; 1: Negative.
1291 0:Positive, 1:Negative
1292**/
1293 UINT8 CoreVfPointOffsetPrefix[15];
1294
Subrata Banik6ed43152022-11-22 16:36:37 +05301295/** Offset 0x03EB - Core VF Point Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +00001296 Array for the each selected Core VF Point to display the ration.
1297**/
1298 UINT8 CoreVfPointRatio[15];
1299
Subrata Banik6ed43152022-11-22 16:36:37 +05301300/** Offset 0x03FA - Core VF Point Count
Kapil Porwala42ad282022-07-07 18:28:30 +00001301 Number of supported Core Voltage & Frequency Point Offset
1302**/
1303 UINT8 CoreVfPointCount;
1304
Subrata Banik6ed43152022-11-22 16:36:37 +05301305/** Offset 0x03FB - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001306**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301307 UINT8 Reserved23[25];
Kapil Porwala42ad282022-07-07 18:28:30 +00001308
Subrata Banik6ed43152022-11-22 16:36:37 +05301309/** Offset 0x0414 - Per Core Max Ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +00001310 Enable or disable Per Core PState OC supported by writing OCMB 0x1D to program new
1311 favored core ratio to each Core. <b>0: Disable</b>, 1: enable
1312 $EN_DIS
1313**/
1314 UINT8 PerCoreRatioOverride;
1315
Subrata Banik6ed43152022-11-22 16:36:37 +05301316/** Offset 0x0415 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001317**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301318 UINT8 Reserved24[41];
Kapil Porwala42ad282022-07-07 18:28:30 +00001319
Subrata Banik6ed43152022-11-22 16:36:37 +05301320/** Offset 0x043E - Per Core Current Max Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +00001321 Array for the Per Core Max Ratio
1322**/
1323 UINT8 PerCoreRatio[8];
1324
Subrata Banik6ed43152022-11-22 16:36:37 +05301325/** Offset 0x0446 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001326**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301327 UINT8 Reserved25[69];
Kapil Porwala42ad282022-07-07 18:28:30 +00001328
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301329/** Offset 0x048B - Pvd Ratio Threshold for SOC/CPU die
Kapil Porwala42ad282022-07-07 18:28:30 +00001330 Array of Pvd Ratio Threshold for SOC/CPU die is the threshold value for input ratio
1331 (P0 to Pn) to select the multiplier so that the output is within the DCO frequency
1332 range. As per the die selected, this threshold is applied to SA and MC/CMI PLL
1333 for SOC die and SA, Ring and Atom PLL for CPU die. Range 0-63. When the threshold
1334 is 0, static PVD ratio is selected based on the PVD Mode for SOC. <b>0: Default</b>.
1335**/
1336 UINT8 PvdRatioThreshold[2];
1337
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301338/** Offset 0x048D - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001339**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301340 UINT8 Reserved26[70];
Kapil Porwala42ad282022-07-07 18:28:30 +00001341
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301342/** Offset 0x04D3 - BCLK Frequency Source
Kapil Porwala42ad282022-07-07 18:28:30 +00001343 Clock source of BCLK OC frequency, <b>0:CPU BCLK</b>, 1:PCH BCLK, 2:External CLK
1344 0:CPU BCLK, 1:PCH BCLK, 2:External CLK
1345**/
1346 UINT8 BclkSource;
1347
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301348/** Offset 0x04D4 - GPIO Override
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001349 Gpio Override Level - FSP will not configure any GPIOs and rely on GPIO setings
1350 before moved to FSP. Available configurations 0: Disable; 1: Level 1 - Skips GPIO
Subrata Banik6ed43152022-11-22 16:36:37 +05301351 configuration in PEI/FSPM/FSPT phase;2: Level 2 - Reserved for use
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001352**/
1353 UINT8 GpioOverride;
1354
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301355/** Offset 0x04D5 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001356**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301357 UINT8 Reserved27[7];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001358
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301359/** Offset 0x04DC - CPU BCLK OC Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +00001360 CPU BCLK OC Frequency in KHz units. 98000000Hz = 98MHz <b>0 - Auto</b>. Range is
1361 40Mhz-1000Mhz.
1362**/
1363 UINT32 CpuBclkOcFrequency;
1364
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301365/** Offset 0x04E0 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001366**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301367 UINT8 Reserved28[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00001368
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301369/** Offset 0x04E4 - Enable CPU CrashLog GPRs dump
Kapil Porwala42ad282022-07-07 18:28:30 +00001370 Enable or Disable CPU CrashLog GPRs dump; <b>0: Disable</b>; 1: Enable; 2: Only
1371 disable Smm GPRs dump
1372 0:Disabled, 1:Enabled, 2:Only Smm GPRs Disabled
1373**/
1374 UINT8 CrashLogGprs;
1375
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301376/** Offset 0x04E5 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001377**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301378 UINT8 Reserved29[269];
Kapil Porwala42ad282022-07-07 18:28:30 +00001379
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301380/** Offset 0x05F2 - Thermal Design Current enable/disable
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001381 Thermal Design Current enable/disable; <b>0: Disable</b>; 1: Enable. [0] for IA,
Kapil Porwala42ad282022-07-07 18:28:30 +00001382 [1] for GT, [2] for SA, [3] through [5] are Reserved.
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001383**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001384 UINT8 TdcEnable[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001385
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301386/** Offset 0x05F8 - Thermal Design Current time window
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001387 TDC Time Window, value of IA either in milliseconds or seconds, value of GT/SA is
1388 in milliseconds. 1ms is default. Range of IA from 1ms to 448s, Range of GT/SA is
1389 1ms to 10ms, except for 9ms. 9ms has no valid encoding in the MSR definition.
1390**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001391 UINT32 TdcTimeWindow[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001392
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301393/** Offset 0x0610 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001394**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301395 UINT8 Reserved30[208];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001396
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301397/** Offset 0x06E0 - BiosGuard
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001398 Enable/Disable. 0: Disable, Enable/Disable BIOS Guard feature, 1: enable
1399 $EN_DIS
1400**/
1401 UINT8 BiosGuard;
1402
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301403/** Offset 0x06E1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001404**/
1405 UINT8 BiosGuardToolsInterface;
1406
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301407/** Offset 0x06E2 - Txt
Kapil Porwala42ad282022-07-07 18:28:30 +00001408 Enables utilization of additional hardware capabilities provided by Intel (R) Trusted
1409 Execution Technology. Changes require a full power cycle to take effect. <b>0:
1410 Disable</b>, 1: Enable
1411 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001412**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001413 UINT8 Txt;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001414
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301415/** Offset 0x06E3 - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001416**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301417 UINT8 Reserved31;
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001418
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301419/** Offset 0x06E4 - PrmrrSize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001420 Enable/Disable. 0: Disable, define default value of PrmrrSize , 1: enable
1421**/
1422 UINT32 PrmrrSize;
1423
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301424/** Offset 0x06E8 - SinitMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001425 Enable/Disable. 0: Disable, define default value of SinitMemorySize , 1: enable
1426**/
1427 UINT32 SinitMemorySize;
1428
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301429/** Offset 0x06EC - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001430**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301431 UINT8 Reserved32[4];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001432
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301433/** Offset 0x06F0 - TxtDprMemoryBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001434 Enable/Disable. 0: Disable, define default value of TxtDprMemoryBase , 1: enable
1435**/
1436 UINT64 TxtDprMemoryBase;
1437
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301438/** Offset 0x06F8 - TxtHeapMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001439 Enable/Disable. 0: Disable, define default value of TxtHeapMemorySize , 1: enable
1440**/
1441 UINT32 TxtHeapMemorySize;
1442
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301443/** Offset 0x06FC - TxtDprMemorySize
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001444 Reserve DPR memory size (0-255) MB. 0: Disable, define default value of TxtDprMemorySize
1445 , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001446**/
1447 UINT32 TxtDprMemorySize;
1448
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301449/** Offset 0x0700 - BiosAcmBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001450 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001451**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001452 UINT32 BiosAcmBase;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001453
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301454/** Offset 0x0704 - BiosAcmSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001455 Enable/Disable. 0: Disable, define default value of BiosAcmSize , 1: enable
1456**/
1457 UINT32 BiosAcmSize;
1458
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301459/** Offset 0x0708 - ApStartupBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001460 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
1461**/
1462 UINT32 ApStartupBase;
1463
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301464/** Offset 0x070C - TgaSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001465 Enable/Disable. 0: Disable, define default value of TgaSize , 1: enable
1466**/
1467 UINT32 TgaSize;
1468
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301469/** Offset 0x0710 - TxtLcpPdBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001470 Enable/Disable. 0: Disable, define default value of TxtLcpPdBase , 1: enable
1471**/
1472 UINT64 TxtLcpPdBase;
1473
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301474/** Offset 0x0718 - TxtLcpPdSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001475 Enable/Disable. 0: Disable, define default value of TxtLcpPdSize , 1: enable
1476**/
1477 UINT64 TxtLcpPdSize;
1478
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301479/** Offset 0x0720 - IsTPMPresence
Kapil Porwala42ad282022-07-07 18:28:30 +00001480 IsTPMPresence default values
1481**/
1482 UINT8 IsTPMPresence;
1483
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301484/** Offset 0x0721 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001485**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301486 UINT8 Reserved33[32];
Kapil Porwala42ad282022-07-07 18:28:30 +00001487
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301488/** Offset 0x0741 - Enable PCH HSIO PCIE Rx Set Ctle
Kapil Porwala42ad282022-07-07 18:28:30 +00001489 Enable PCH PCIe Gen 3 Set CTLE Value.
1490**/
1491 UINT8 PchPcieHsioRxSetCtleEnable[28];
1492
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301493/** Offset 0x075D - PCH HSIO PCIE Rx Set Ctle Value
Kapil Porwala42ad282022-07-07 18:28:30 +00001494 PCH PCIe Gen 3 Set CTLE Value.
1495**/
1496 UINT8 PchPcieHsioRxSetCtle[28];
1497
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301498/** Offset 0x0779 - Enble PCH HSIO PCIE TX Gen 1 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001499 0: Disable; 1: Enable.
1500**/
1501 UINT8 PchPcieHsioTxGen1DownscaleAmpEnable[28];
1502
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301503/** Offset 0x0795 - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001504 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1505**/
1506 UINT8 PchPcieHsioTxGen1DownscaleAmp[28];
1507
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301508/** Offset 0x07B1 - Enable PCH HSIO PCIE TX Gen 2 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001509 0: Disable; 1: Enable.
1510**/
1511 UINT8 PchPcieHsioTxGen2DownscaleAmpEnable[28];
1512
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301513/** Offset 0x07CD - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001514 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1515**/
1516 UINT8 PchPcieHsioTxGen2DownscaleAmp[28];
1517
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301518/** Offset 0x07E9 - Enable PCH HSIO PCIE TX Gen 3 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001519 0: Disable; 1: Enable.
1520**/
1521 UINT8 PchPcieHsioTxGen3DownscaleAmpEnable[28];
1522
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301523/** Offset 0x0805 - PCH HSIO PCIE Gen 3 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001524 PCH PCIe Gen 3 TX Output Downscale Amplitude Adjustment value.
1525**/
1526 UINT8 PchPcieHsioTxGen3DownscaleAmp[28];
1527
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301528/** Offset 0x0821 - Enable PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001529 0: Disable; 1: Enable.
1530**/
1531 UINT8 PchPcieHsioTxGen1DeEmphEnable[28];
1532
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301533/** Offset 0x083D - PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001534 PCH PCIe Gen 1 TX Output De-Emphasis Adjustment Setting.
1535**/
1536 UINT8 PchPcieHsioTxGen1DeEmph[28];
1537
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301538/** Offset 0x0859 - Enable PCH HSIO PCIE Gen 2 TX Output -3.5dB De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001539 0: Disable; 1: Enable.
1540**/
1541 UINT8 PchPcieHsioTxGen2DeEmph3p5Enable[28];
1542
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301543/** Offset 0x0875 - PCH HSIO PCIE Gen 2 TX Output -3.5dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001544 PCH PCIe Gen 2 TX Output -3.5dB De-Emphasis Adjustment Setting.
1545**/
1546 UINT8 PchPcieHsioTxGen2DeEmph3p5[28];
1547
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301548/** Offset 0x0891 - Enable PCH HSIO PCIE Gen 2 TX Output -6.0dB De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001549 0: Disable; 1: Enable.
1550**/
1551 UINT8 PchPcieHsioTxGen2DeEmph6p0Enable[28];
1552
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301553/** Offset 0x08AD - PCH HSIO PCIE Gen 2 TX Output -6.0dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001554 PCH PCIe Gen 2 TX Output -6.0dB De-Emphasis Adjustment Setting.
1555**/
1556 UINT8 PchPcieHsioTxGen2DeEmph6p0[28];
1557
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301558/** Offset 0x08C9 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001559 0: Disable; 1: Enable.
1560**/
1561 UINT8 PchSataHsioRxGen1EqBoostMagEnable[8];
1562
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301563/** Offset 0x08D1 - PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001564 PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1565**/
1566 UINT8 PchSataHsioRxGen1EqBoostMag[8];
1567
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301568/** Offset 0x08D9 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001569 0: Disable; 1: Enable.
1570**/
1571 UINT8 PchSataHsioRxGen2EqBoostMagEnable[8];
1572
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301573/** Offset 0x08E1 - PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001574 PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1575**/
1576 UINT8 PchSataHsioRxGen2EqBoostMag[8];
1577
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301578/** Offset 0x08E9 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001579 0: Disable; 1: Enable.
1580**/
1581 UINT8 PchSataHsioRxGen3EqBoostMagEnable[8];
1582
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301583/** Offset 0x08F1 - PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001584 PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1585**/
1586 UINT8 PchSataHsioRxGen3EqBoostMag[8];
1587
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301588/** Offset 0x08F9 - Enable PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001589 0: Disable; 1: Enable.
1590**/
1591 UINT8 PchSataHsioTxGen1DownscaleAmpEnable[8];
1592
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301593/** Offset 0x0901 - PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001594 PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value.
1595**/
1596 UINT8 PchSataHsioTxGen1DownscaleAmp[8];
1597
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301598/** Offset 0x0909 - Enable PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001599 0: Disable; 1: Enable.
1600**/
1601 UINT8 PchSataHsioTxGen2DownscaleAmpEnable[8];
1602
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301603/** Offset 0x0911 - PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001604 PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1605**/
1606 UINT8 PchSataHsioTxGen2DownscaleAmp[8];
1607
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301608/** Offset 0x0919 - Enable PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001609 0: Disable; 1: Enable.
1610**/
1611 UINT8 PchSataHsioTxGen3DownscaleAmpEnable[8];
1612
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301613/** Offset 0x0921 - PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001614 PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1615**/
1616 UINT8 PchSataHsioTxGen3DownscaleAmp[8];
1617
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301618/** Offset 0x0929 - Enable PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001619 0: Disable; 1: Enable.
1620**/
1621 UINT8 PchSataHsioTxGen1DeEmphEnable[8];
1622
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301623/** Offset 0x0931 - PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001624 PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting.
1625**/
1626 UINT8 PchSataHsioTxGen1DeEmph[8];
1627
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301628/** Offset 0x0939 - Enable PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001629 0: Disable; 1: Enable.
1630**/
1631 UINT8 PchSataHsioTxGen2DeEmphEnable[8];
1632
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301633/** Offset 0x0941 - PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001634 PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1635**/
1636 UINT8 PchSataHsioTxGen2DeEmph[8];
1637
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301638/** Offset 0x0949 - Enable PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001639 0: Disable; 1: Enable.
1640**/
1641 UINT8 PchSataHsioTxGen3DeEmphEnable[8];
1642
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301643/** Offset 0x0951 - PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001644 PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1645**/
1646 UINT8 PchSataHsioTxGen3DeEmph[8];
1647
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301648/** Offset 0x0959 - PCH LPC Enhance the port 8xh decoding
Kapil Porwala42ad282022-07-07 18:28:30 +00001649 Original LPC only decodes one byte of port 80h.
1650 $EN_DIS
1651**/
1652 UINT8 PchLpcEnhancePort8xhDecoding;
1653
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301654/** Offset 0x095A - PCH Port80 Route
Kapil Porwala42ad282022-07-07 18:28:30 +00001655 Control where the Port 80h cycles are sent, 0: LPC; 1: PCI.
1656 $EN_DIS
1657**/
1658 UINT8 PchPort80Route;
1659
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301660/** Offset 0x095B - Enable SMBus ARP support
Kapil Porwala42ad282022-07-07 18:28:30 +00001661 Enable SMBus ARP support.
1662 $EN_DIS
1663**/
1664 UINT8 SmbusArpEnable;
1665
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301666/** Offset 0x095C - Number of RsvdSmbusAddressTable.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001667 The number of elements in the RsvdSmbusAddressTable.
1668**/
1669 UINT8 PchNumRsvdSmbusAddresses;
1670
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301671/** Offset 0x095D - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001672**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301673 UINT8 Reserved34;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001674
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301675/** Offset 0x095E - SMBUS Base Address
Kapil Porwala42ad282022-07-07 18:28:30 +00001676 SMBUS Base Address (IO space).
1677**/
1678 UINT16 PchSmbusIoBase;
1679
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301680/** Offset 0x0960 - Enable SMBus Alert Pin
Kapil Porwala42ad282022-07-07 18:28:30 +00001681 Enable SMBus Alert Pin.
1682 $EN_DIS
1683**/
1684 UINT8 PchSmbAlertEnable;
1685
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301686/** Offset 0x0961 - Usage type for ClkSrc
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001687 0-23: PCH rootport, 0x70:LAN, 0x80: unspecified but in use (free running), 0xFF: not used
1688**/
1689 UINT8 PcieClkSrcUsage[18];
1690
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301691/** Offset 0x0973 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001692**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301693 UINT8 Reserved35[14];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001694
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301695/** Offset 0x0981 - ClkReq-to-ClkSrc mapping
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001696 Number of ClkReq signal assigned to ClkSrc
1697**/
1698 UINT8 PcieClkSrcClkReq[18];
1699
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301700/** Offset 0x0993 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001701**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301702 UINT8 Reserved36[57];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001703
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301704/** Offset 0x09CC - Enable SOC/IOE PCIE RP Mask
Subrata Banik6ed43152022-11-22 16:36:37 +05301705 Enable/disable SOC/IOE PCIE Root Ports. 0: disable, 1: enable. One bit for each
1706 port, bit0 for port1, bit1 for port2, and so on.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001707**/
Subrata Banik6ed43152022-11-22 16:36:37 +05301708 UINT16 PcieRpEnableMask;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001709
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301710/** Offset 0x09CE - VC Type
Kapil Porwala42ad282022-07-07 18:28:30 +00001711 Virtual Channel Type Select: 0: VC0, 1: VC1.
1712 0: VC0, 1: VC1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001713**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001714 UINT8 PchHdaVcType;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001715
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301716/** Offset 0x09CF - Universal Audio Architecture compliance for DSP enabled system
Kapil Porwala42ad282022-07-07 18:28:30 +00001717 0: Not-UAA Compliant (Intel SST driver supported only), 1: UAA Compliant (HDA Inbox
1718 driver or SST driver supported).
1719 $EN_DIS
1720**/
1721 UINT8 PchHdaDspUaaCompliance;
1722
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301723/** Offset 0x09D0 - Enable HD Audio Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001724 Enable/disable HD Audio Link. Muxed with SSP0/SSP1/SNDW1.
1725 $EN_DIS
1726**/
1727 UINT8 PchHdaAudioLinkHdaEnable;
1728
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301729/** Offset 0x09D1 - Enable HDA SDI lanes
Kapil Porwala42ad282022-07-07 18:28:30 +00001730 Enable/disable HDA SDI lanes.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001731**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001732 UINT8 PchHdaSdiEnable[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001733
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301734/** Offset 0x09D3 - HDA Power/Clock Gating (PGD/CGD)
Kapil Porwala42ad282022-07-07 18:28:30 +00001735 Enable/Disable HD Audio Power and Clock Gating(POR: Enable). 0: PLATFORM_POR, 1:
1736 FORCE_ENABLE, 2: FORCE_DISABLE.
1737 0: POR, 1: Force Enable, 2: Force Disable
1738**/
1739 UINT8 PchHdaTestPowerClockGating;
1740
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301741/** Offset 0x09D4 - Enable HD Audio DMIC_N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001742 Enable/disable HD Audio DMIC1 link. Muxed with SNDW3.
1743**/
1744 UINT8 PchHdaAudioLinkDmicEnable[2];
1745
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301746/** Offset 0x09D6 - Reserved
Subrata Banik6ed43152022-11-22 16:36:37 +05301747**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301748 UINT8 Reserved37[2];
Subrata Banik6ed43152022-11-22 16:36:37 +05301749
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301750/** Offset 0x09D8 - DMIC<N> ClkA Pin Muxing (N - DMIC number)
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001751 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKA_*
1752**/
1753 UINT32 PchHdaAudioLinkDmicClkAPinMux[2];
1754
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301755/** Offset 0x09E0 - DMIC<N> ClkB Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001756 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKB_*
1757**/
1758 UINT32 PchHdaAudioLinkDmicClkBPinMux[2];
1759
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301760/** Offset 0x09E8 - Enable HD Audio DSP
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001761 Enable/disable HD Audio DSP feature.
1762 $EN_DIS
1763**/
1764 UINT8 PchHdaDspEnable;
1765
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301766/** Offset 0x09E9 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001767**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301768 UINT8 Reserved38[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001769
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301770/** Offset 0x09EC - DMIC<N> Data Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001771 Determines DMIC<N> Data Pin muxing. See GPIO_*_MUXING_DMIC<N>_DATA_*
1772**/
1773 UINT32 PchHdaAudioLinkDmicDataPinMux[2];
1774
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301775/** Offset 0x09F4 - Enable HD Audio SSP0 Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001776 Enable/disable HD Audio SSP_N/I2S link. Muxed with HDA. N-number 0-5
1777**/
1778 UINT8 PchHdaAudioLinkSspEnable[6];
1779
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301780/** Offset 0x09FA - Enable HD Audio SoundWire#N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001781 Enable/disable HD Audio SNDW#N link. Muxed with HDA.
1782**/
1783 UINT8 PchHdaAudioLinkSndwEnable[4];
1784
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301785/** Offset 0x09FE - iDisp-Link Frequency
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001786 iDisp-Link Freq (PCH_HDAUDIO_LINK_FREQUENCY enum): 4: 96MHz, 3: 48MHz.
1787 4: 96MHz, 3: 48MHz
1788**/
1789 UINT8 PchHdaIDispLinkFrequency;
1790
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301791/** Offset 0x09FF - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001792**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301793 UINT8 Reserved39;
Kapil Porwala42ad282022-07-07 18:28:30 +00001794
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301795/** Offset 0x0A00 - iDisp-Link T-mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001796 iDisp-Link T-Mode (PCH_HDAUDIO_IDISP_TMODE enum): 0: 2T, 2: 4T, 3: 8T, 4: 16T
1797 0: 2T, 2: 4T, 3: 8T, 4: 16T
1798**/
1799 UINT8 PchHdaIDispLinkTmode;
1800
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301801/** Offset 0x0A01 - iDisplay Audio Codec disconnection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001802 0: Not disconnected, enumerable, 1: Disconnected SDI, not enumerable.
1803 $EN_DIS
1804**/
1805 UINT8 PchHdaIDispCodecDisconnect;
1806
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301807/** Offset 0x0A02 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001808**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301809 UINT8 Reserved40[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001810
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301811/** Offset 0x0A08 - CNVi DDR RFI Mitigation
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001812 Enable/Disable DDR RFI Mitigation. Default is ENABLE. 0: DISABLE, 1: ENABLE
1813 $EN_DIS
1814**/
1815 UINT8 CnviDdrRfim;
1816
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301817/** Offset 0x0A09 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001818**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301819 UINT8 Reserved41[11];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001820
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301821/** Offset 0x0A14 - Debug Interfaces
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001822 Debug Interfaces. BIT0-RAM, BIT1-UART, BIT3-USB3, BIT4-Serial IO, BIT5-TraceHub,
1823 BIT2 - Not used.
1824**/
1825 UINT8 PcdDebugInterfaceFlags;
1826
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301827/** Offset 0x0A15 - Serial Io Uart Debug Controller Number
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001828 Select SerialIo Uart Controller for debug.
1829 0:SerialIoUart0, 1:SerialIoUart1, 2:SerialIoUart2
1830**/
1831 UINT8 SerialIoUartDebugControllerNumber;
1832
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301833/** Offset 0x0A16 - Serial Io Uart Debug Auto Flow
Kapil Porwala42ad282022-07-07 18:28:30 +00001834 Enables UART hardware flow control, CTS and RTS lines.
1835 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001836**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001837 UINT8 SerialIoUartDebugAutoFlow;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001838
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301839/** Offset 0x0A17 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001840**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301841 UINT8 Reserved42;
Kapil Porwala42ad282022-07-07 18:28:30 +00001842
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301843/** Offset 0x0A18 - Serial Io Uart Debug BaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00001844 Set default BaudRate Supported from 0 - default to 6000000. Recommended values 9600,
1845 19200, 57600, 115200, 460800, 921600, 1500000, 1843200, 3000000, 3686400, 6000000
1846**/
1847 UINT32 SerialIoUartDebugBaudRate;
1848
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301849/** Offset 0x0A1C - Serial Io Uart Debug Parity
Kapil Porwala42ad282022-07-07 18:28:30 +00001850 Set default Parity.
1851 0: DefaultParity, 1: NoParity, 2: EvenParity, 3: OddParity
1852**/
1853 UINT8 SerialIoUartDebugParity;
1854
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301855/** Offset 0x0A1D - Serial Io Uart Debug Stop Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001856 Set default stop bits.
1857 0: DefaultStopBits, 1: OneStopBit, 2: OneFiveStopBits, 3: TwoStopBits
1858**/
1859 UINT8 SerialIoUartDebugStopBits;
1860
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301861/** Offset 0x0A1E - Serial Io Uart Debug Data Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001862 Set default word length. 0: Default, 5,6,7,8
1863 5:5BITS, 6:6BITS, 7:7BITS, 8:8BITS
1864**/
1865 UINT8 SerialIoUartDebugDataBits;
1866
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301867/** Offset 0x0A1F - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001868**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301869 UINT8 Reserved43;
Kapil Porwala42ad282022-07-07 18:28:30 +00001870
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301871/** Offset 0x0A20 - Serial Io Uart Debug Mmio Base
Kapil Porwala42ad282022-07-07 18:28:30 +00001872 Select SerialIo Uart default MMIO resource in SEC/PEI phase when PcdSerialIoUartMode
1873 = SerialIoUartPci.
1874**/
1875 UINT32 SerialIoUartDebugMmioBase;
1876
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301877/** Offset 0x0A24 - ISA Serial Base selection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001878 Select ISA Serial Base address. Default is 0x3F8.
1879 0:0x3F8, 1:0x2F8
1880**/
1881 UINT8 PcdIsaSerialUartBase;
1882
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301883/** Offset 0x0A25 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001884**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301885 UINT8 Reserved44;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001886
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301887/** Offset 0x0A26 - Ring PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001888 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1889**/
1890 UINT8 RingPllVoltageOffset;
1891
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301892/** Offset 0x0A27 - System Agent PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001893 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1894**/
1895 UINT8 SaPllVoltageOffset;
1896
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301897/** Offset 0x0A28 - Reserved
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07001898**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301899 UINT8 Reserved45;
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07001900
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301901/** Offset 0x0A29 - Memory Controller PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001902 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1903**/
1904 UINT8 McPllVoltageOffset;
1905
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301906/** Offset 0x0A2A - TCSS Thunderbolt PCIE Root Port 0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001907 Set TCSS Thunderbolt PCIE Root Port 0. 0:Disabled 1:Enabled
1908 $EN_DIS
1909**/
1910 UINT8 TcssItbtPcie0En;
1911
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301912/** Offset 0x0A2B - TCSS Thunderbolt PCIE Root Port 1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001913 Set TCSS Thunderbolt PCIE Root Port 1. 0:Disabled 1:Enabled
1914 $EN_DIS
1915**/
1916 UINT8 TcssItbtPcie1En;
1917
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301918/** Offset 0x0A2C - TCSS Thunderbolt PCIE Root Port 2 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001919 Set TCSS Thunderbolt PCIE Root Port 2. 0:Disabled 1:Enabled
1920 $EN_DIS
1921**/
1922 UINT8 TcssItbtPcie2En;
1923
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301924/** Offset 0x0A2D - TCSS Thunderbolt PCIE Root Port 3 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001925 Set TCSS Thunderbolt PCIE Root Port 3. 0:Disabled 1:Enabled
1926 $EN_DIS
1927**/
1928 UINT8 TcssItbtPcie3En;
1929
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301930/** Offset 0x0A2E - TCSS USB HOST (xHCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001931 Set TCSS XHCI. 0:Disabled 1:Enabled - Must be enabled if xDCI is enabled below
1932 $EN_DIS
1933**/
1934 UINT8 TcssXhciEn;
1935
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301936/** Offset 0x0A2F - TCSS USB DEVICE (xDCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001937 Set TCSS XDCI. 0:Disabled 1:Enabled - xHCI must be enabled if xDCI is enabled
1938 $EN_DIS
1939**/
1940 UINT8 TcssXdciEn;
1941
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301942/** Offset 0x0A30 - TCSS DMA0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001943 Set TCSS DMA0. 0:Disabled 1:Enabled
1944 $EN_DIS
1945**/
1946 UINT8 TcssDma0En;
1947
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301948/** Offset 0x0A31 - TCSS DMA1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001949 Set TCSS DMA1. 0:Disabled 1:Enabled
1950 $EN_DIS
1951**/
1952 UINT8 TcssDma1En;
1953
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301954/** Offset 0x0A32 - PcdSerialDebugBaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00001955 Baud Rate for Serial Debug Messages. 3:9600, 4:19200, 6:56700, 7:115200.
1956 3:9600, 4:19200, 6:56700, 7:115200
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001957**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001958 UINT8 PcdSerialDebugBaudRate;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001959
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301960/** Offset 0x0A33 - HobBufferSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001961 Size to set HOB Buffer. 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value(assuming 63KB
1962 total HOB size).
1963 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value
1964**/
1965 UINT8 HobBufferSize;
1966
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301967/** Offset 0x0A34 - Early Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001968 Enables/Disable Early Command Training
1969 $EN_DIS
1970**/
1971 UINT8 ECT;
1972
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301973/** Offset 0x0A35 - SenseAmp Offset Training
Kapil Porwala42ad282022-07-07 18:28:30 +00001974 Enables/Disable SenseAmp Offset Training
1975 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001976**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001977 UINT8 SOT;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001978
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301979/** Offset 0x0A36 - Early ReadMPR Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00001980 Enables/Disable Early ReadMPR Timing Centering 2D
1981 $EN_DIS
1982**/
1983 UINT8 ERDMPRTC2D;
1984
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301985/** Offset 0x0A37 - Read MPR Training
Kapil Porwala42ad282022-07-07 18:28:30 +00001986 Enables/Disable Read MPR Training
1987 $EN_DIS
1988**/
1989 UINT8 RDMPRT;
1990
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301991/** Offset 0x0A38 - Receive Enable Training
Kapil Porwala42ad282022-07-07 18:28:30 +00001992 Enables/Disable Receive Enable Training
1993 $EN_DIS
1994**/
1995 UINT8 RCVET;
1996
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05301997/** Offset 0x0A39 - Jedec Write Leveling
Kapil Porwala42ad282022-07-07 18:28:30 +00001998 Enables/Disable Jedec Write Leveling
1999 $EN_DIS
2000**/
2001 UINT8 JWRL;
2002
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302003/** Offset 0x0A3A - Early Write Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002004 Enables/Disable Early Write Time Centering 2D
2005 $EN_DIS
2006**/
2007 UINT8 EWRTC2D;
2008
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302009/** Offset 0x0A3B - Early Read Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002010 Enables/Disable Early Read Time Centering 2D
2011 $EN_DIS
2012**/
2013 UINT8 ERDTC2D;
2014
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302015/** Offset 0x0A3C - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002016**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302017 UINT8 Reserved46;
Kapil Porwala42ad282022-07-07 18:28:30 +00002018
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302019/** Offset 0x0A3D - Write Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002020 Enables/Disable Write Timing Centering 1D
2021 $EN_DIS
2022**/
2023 UINT8 WRTC1D;
2024
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302025/** Offset 0x0A3E - Write Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002026 Enables/Disable Write Voltage Centering 1D
2027 $EN_DIS
2028**/
2029 UINT8 WRVC1D;
2030
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302031/** Offset 0x0A3F - Read Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002032 Enables/Disable Read Timing Centering 1D
2033 $EN_DIS
2034**/
2035 UINT8 RDTC1D;
2036
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302037/** Offset 0x0A40 - Read Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002038 Enable/Disable Read Voltage Centering 1D
2039 $EN_DIS
2040**/
2041 UINT8 RDVC1D;
2042
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302043/** Offset 0x0A41 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002044**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302045 UINT8 Reserved47[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002046
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302047/** Offset 0x0A43 - Read ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002048 Enables/Disable Read ODT Training
2049 $EN_DIS
2050**/
2051 UINT8 RDODTT;
2052
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302053/** Offset 0x0A44 - Read Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002054 Enables/Disable Read Equalization Training
2055 $EN_DIS
2056**/
2057 UINT8 RDEQT;
2058
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302059/** Offset 0x0A45 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002060**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302061 UINT8 Reserved48;
Kapil Porwala42ad282022-07-07 18:28:30 +00002062
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302063/** Offset 0x0A46 - Write Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002064 Enables/Disable Write Timing Centering 2D
2065 $EN_DIS
2066**/
2067 UINT8 WRTC2D;
2068
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302069/** Offset 0x0A47 - Read Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002070 Enables/Disable Read Timing Centering 2D
2071 $EN_DIS
2072**/
2073 UINT8 RDTC2D;
2074
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302075/** Offset 0x0A48 - Write Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002076 Enables/Disable Write Voltage Centering 2D
2077 $EN_DIS
2078**/
2079 UINT8 WRVC2D;
2080
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302081/** Offset 0x0A49 - Read Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002082 Enables/Disable Read Voltage Centering 2D
2083 $EN_DIS
2084**/
2085 UINT8 RDVC2D;
2086
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302087/** Offset 0x0A4A - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302088**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302089 UINT8 Reserved49;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302090
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302091/** Offset 0x0A4B - Command Voltage Centering
Kapil Porwala42ad282022-07-07 18:28:30 +00002092 Enables/Disable Command Voltage Centering
2093 $EN_DIS
2094**/
2095 UINT8 CMDVC;
2096
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302097/** Offset 0x0A4C - Late Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002098 Enables/Disable Late Command Training
2099 $EN_DIS
2100**/
2101 UINT8 LCT;
2102
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302103/** Offset 0x0A4D - Turn Around Timing Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002104 Enables/Disable Turn Around Timing Training
2105 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002106**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002107 UINT8 TAT;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002108
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302109/** Offset 0x0A4E - Rank Margin Tool
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002110 Enable/disable Rank Margin Tool
2111 $EN_DIS
2112**/
2113 UINT8 RMT;
2114
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302115/** Offset 0x0A4F - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002116**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302117 UINT8 Reserved50;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002118
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302119/** Offset 0x0A50 - DIMM SPD Alias Test
Kapil Porwala42ad282022-07-07 18:28:30 +00002120 Enables/Disable DIMM SPD Alias Test
2121 $EN_DIS
2122**/
2123 UINT8 ALIASCHK;
2124
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302125/** Offset 0x0A51 - Retrain Margin Check
Kapil Porwala42ad282022-07-07 18:28:30 +00002126 Enables/Disable Retrain Margin Check
2127 $EN_DIS
2128**/
2129 UINT8 RMC;
2130
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302131/** Offset 0x0A52 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002132**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302133 UINT8 Reserved51;
Kapil Porwala42ad282022-07-07 18:28:30 +00002134
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302135/** Offset 0x0A53 - Dimm ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002136 Enables/Disable Dimm ODT Training
2137 $EN_DIS
2138**/
2139 UINT8 DIMMODTT;
2140
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302141/** Offset 0x0A54 - DIMM RON Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002142 Enables/Disable DIMM RON Training
2143 $EN_DIS
2144**/
2145 UINT8 DIMMRONT;
2146
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302147/** Offset 0x0A55 - TxDqTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002148 Enable/Disable TxDqTCO Comp Training
2149 $EN_DIS
2150**/
2151 UINT8 TXTCO;
2152
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302153/** Offset 0x0A56 - ClkTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002154 Enable/Disable ClkTCO Comp Training
2155 $EN_DIS
2156**/
2157 UINT8 CLKTCO;
2158
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302159/** Offset 0x0A57 - CMD Slew Rate Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002160 Enable/Disable CMD Slew Rate Training
2161 $EN_DIS
2162**/
2163 UINT8 CMDSR;
2164
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302165/** Offset 0x0A58 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002166**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302167 UINT8 Reserved52[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002168
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302169/** Offset 0x0A5A - DIMM CA ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002170 Enable/Disable DIMM CA ODT Training
2171 $EN_DIS
2172**/
2173 UINT8 DIMMODTCA;
2174
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302175/** Offset 0x0A5B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002176**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302177 UINT8 Reserved53[3];
Kapil Porwala42ad282022-07-07 18:28:30 +00002178
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302179/** Offset 0x0A5E - Read Vref Decap Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002180 Enable/Disable Read Vref Decap Training
2181 $EN_DIS
2182**/
2183 UINT8 RDVREFDC;
2184
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302185/** Offset 0x0A5F - Vddq Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002186 Enable/Disable Vddq Training
2187 $EN_DIS
2188**/
2189 UINT8 VDDQT;
2190
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302191/** Offset 0x0A60 - Rank Margin Tool Per Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002192 Enable/Disable Rank Margin Tool Per Bit
2193 $EN_DIS
2194**/
2195 UINT8 RMTBIT;
2196
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302197/** Offset 0x0A61 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002198**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302199 UINT8 Reserved54[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002200
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302201/** Offset 0x0A65 - Duty Cycle Correction Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002202 Enable/Disable Duty Cycle Correction Training
2203 $EN_DIS
2204**/
2205 UINT8 DCC;
2206
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302207/** Offset 0x0A66 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002208**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302209 UINT8 Reserved55[17];
Kapil Porwala42ad282022-07-07 18:28:30 +00002210
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302211/** Offset 0x0A77 - ECC Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002212 Enables/Disable ECC Support
2213 $EN_DIS
2214**/
2215 UINT8 EccSupport;
2216
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302217/** Offset 0x0A78 - Ibecc
Kapil Porwala42ad282022-07-07 18:28:30 +00002218 In-Band ECC Support
2219 $EN_DIS
2220**/
2221 UINT8 Ibecc;
2222
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302223/** Offset 0x0A79 - IbeccParity
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002224 In-Band ECC Parity Control
2225 $EN_DIS
2226**/
2227 UINT8 IbeccParity;
2228
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302229/** Offset 0x0A7A - IbeccOperationMode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002230 In-Band ECC Operation Mode
2231 0:Protect base on address range, 1: Non-protected, 2: All protected
2232**/
2233 UINT8 IbeccOperationMode;
2234
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302235/** Offset 0x0A7B - IbeccProtectedRegionEnable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002236 In-Band ECC Protected Region Enable
2237 $EN_DIS
2238**/
2239 UINT8 IbeccProtectedRegionEnable[8];
2240
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302241/** Offset 0x0A83 - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302242**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302243 UINT8 Reserved56;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302244
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302245/** Offset 0x0A84 - IbeccProtectedRegionBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002246 IBECC Protected Region Bases per IBECC instance
2247**/
2248 UINT16 IbeccProtectedRegionBase[8];
2249
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302250/** Offset 0x0A94 - IbeccProtectedRegionMasks
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002251 IBECC Protected Region Masks
2252**/
2253 UINT16 IbeccProtectedRegionMask[8];
2254
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302255/** Offset 0x0AA4 - IbeccProtectedRegionOverallBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002256 IBECC Protected Region Bases based on enabled IBECC instance
2257**/
2258 UINT16 IbeccProtectedRegionOverallBase[8];
2259
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302260/** Offset 0x0AB4 - Memory Remap
Kapil Porwala42ad282022-07-07 18:28:30 +00002261 Enables/Disable Memory Remap
2262 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002263**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002264 UINT8 RemapEnable;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002265
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302266/** Offset 0x0AB5 - Rank Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002267 Enables/Disable Rank Interleave support. NOTE: RI and HORI can not be enabled at
2268 the same time.
2269 $EN_DIS
2270**/
2271 UINT8 RankInterleave;
2272
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302273/** Offset 0x0AB6 - Enhanced Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002274 Enables/Disable Enhanced Interleave support
2275 $EN_DIS
2276**/
2277 UINT8 EnhancedInterleave;
2278
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302279/** Offset 0x0AB7 - Ch Hash Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002280 Enable/Disable Channel Hash Support. NOTE: ONLY if Memory interleaved Mode
2281 $EN_DIS
2282**/
2283 UINT8 ChHashEnable;
2284
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302285/** Offset 0x0AB8 - Extern Therm Status
Kapil Porwala42ad282022-07-07 18:28:30 +00002286 Enables/Disable Extern Therm Status
2287 $EN_DIS
2288**/
2289 UINT8 EnableExtts;
2290
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302291/** Offset 0x0AB9 - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002292 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2293 $EN_DIS
2294**/
2295 UINT8 EnablePwrDn;
2296
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302297/** Offset 0x0ABA - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002298 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2299 $EN_DIS
2300**/
2301 UINT8 EnablePwrDnLpddr;
2302
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302303/** Offset 0x0ABB - SelfRefresh Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002304 Enables/Disable SelfRefresh Enable
2305 $EN_DIS
2306**/
2307 UINT8 SrefCfgEna;
2308
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302309/** Offset 0x0ABC - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002310 Enables/Disable Throttler CKEMin Defeature(For LPDDR Only)
2311 $EN_DIS
2312**/
2313 UINT8 ThrtCkeMinDefeatLpddr;
2314
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302315/** Offset 0x0ABD - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002316 Enables/Disable Throttler CKEMin Defeature
2317 $EN_DIS
2318**/
2319 UINT8 ThrtCkeMinDefeat;
2320
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302321/** Offset 0x0ABE - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002322**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302323 UINT8 Reserved57;
Kapil Porwala42ad282022-07-07 18:28:30 +00002324
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302325/** Offset 0x0ABF - Exit On Failure (MRC)
Kapil Porwala42ad282022-07-07 18:28:30 +00002326 Enables/Disable Exit On Failure (MRC)
2327 $EN_DIS
2328**/
2329 UINT8 ExitOnFailure;
2330
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302331/** Offset 0x0AC0 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002332**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302333 UINT8 Reserved58[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002334
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302335/** Offset 0x0AC4 - Select if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
Kapil Porwala42ad282022-07-07 18:28:30 +00002336 ESelect if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
2337 $EN_DIS
2338**/
2339 UINT8 Ddr4DdpSharedZq;
2340
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302341/** Offset 0x0AC5 - Ch Hash Interleaved Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002342 Select the BIT to be used for Channel Interleaved mode. NOTE: BIT7 will interlave
2343 the channels at a 2 cacheline granularity, BIT8 at 4 and BIT9 at 8. Default is BIT8
2344 0:BIT6, 1:BIT7, 2:BIT8, 3:BIT9, 4:BIT10, 5:BIT11, 6:BIT12, 7:BIT13
2345**/
2346 UINT8 ChHashInterleaveBit;
2347
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302348/** Offset 0x0AC6 - Ch Hash Mask
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002349 Set the BIT(s) to be included in the XOR function. NOTE BIT mask corresponds to
2350 BITS [19:6] Default is 0x30CC
2351**/
2352 UINT16 ChHashMask;
2353
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302354/** Offset 0x0AC8 - Base reference clock value
Kapil Porwala42ad282022-07-07 18:28:30 +00002355 Base reference clock value, in Hertz(Default is 125Hz)
2356 100000000:100Hz, 125000000:125Hz, 167000000:167Hz, 250000000:250Hz
2357**/
2358 UINT32 BClkFrequency;
2359
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302360/** Offset 0x0ACC - EPG DIMM Idd3N
Kapil Porwala42ad282022-07-07 18:28:30 +00002361 Active standby current (Idd3N) in milliamps from datasheet. Must be calculated on
2362 a per DIMM basis. Default is 26
2363**/
2364 UINT16 Idd3n;
2365
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302366/** Offset 0x0ACE - EPG DIMM Idd3P
Kapil Porwala42ad282022-07-07 18:28:30 +00002367 Active power-down current (Idd3P) in milliamps from datasheet. Must be calculated
2368 on a per DIMM basis. Default is 11
2369**/
2370 UINT16 Idd3p;
2371
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302372/** Offset 0x0AD0 - CMD Normalization
Kapil Porwala42ad282022-07-07 18:28:30 +00002373 Enable/Disable CMD Normalization
2374 $EN_DIS
2375**/
2376 UINT8 CMDNORM;
2377
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302378/** Offset 0x0AD1 - Early DQ Write Drive Strength and Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002379 Enable/Disable Early DQ Write Drive Strength and Equalization Training
2380 $EN_DIS
2381**/
2382 UINT8 EWRDSEQ;
2383
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302384/** Offset 0x0AD2 - Idle Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002385 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2386**/
2387 UINT8 IdleEnergyMc0Ch0Dimm0;
2388
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302389/** Offset 0x0AD3 - Idle Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002390 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2391**/
2392 UINT8 IdleEnergyMc0Ch0Dimm1;
2393
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302394/** Offset 0x0AD4 - Idle Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002395 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2396**/
2397 UINT8 IdleEnergyMc0Ch1Dimm0;
2398
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302399/** Offset 0x0AD5 - Idle Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002400 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2401**/
2402 UINT8 IdleEnergyMc0Ch1Dimm1;
2403
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302404/** Offset 0x0AD6 - Idle Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002405 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2406**/
2407 UINT8 IdleEnergyMc1Ch0Dimm0;
2408
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302409/** Offset 0x0AD7 - Idle Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002410 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2411**/
2412 UINT8 IdleEnergyMc1Ch0Dimm1;
2413
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302414/** Offset 0x0AD8 - Idle Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002415 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2416**/
2417 UINT8 IdleEnergyMc1Ch1Dimm0;
2418
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302419/** Offset 0x0AD9 - Idle Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002420 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2421**/
2422 UINT8 IdleEnergyMc1Ch1Dimm1;
2423
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302424/** Offset 0x0ADA - PowerDown Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002425 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2426**/
2427 UINT8 PdEnergyMc0Ch0Dimm0;
2428
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302429/** Offset 0x0ADB - PowerDown Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002430 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2431**/
2432 UINT8 PdEnergyMc0Ch0Dimm1;
2433
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302434/** Offset 0x0ADC - PowerDown Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002435 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2436**/
2437 UINT8 PdEnergyMc0Ch1Dimm0;
2438
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302439/** Offset 0x0ADD - PowerDown Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002440 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2441**/
2442 UINT8 PdEnergyMc0Ch1Dimm1;
2443
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302444/** Offset 0x0ADE - PowerDown Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002445 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2446**/
2447 UINT8 PdEnergyMc1Ch0Dimm0;
2448
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302449/** Offset 0x0ADF - PowerDown Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002450 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2451**/
2452 UINT8 PdEnergyMc1Ch0Dimm1;
2453
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302454/** Offset 0x0AE0 - PowerDown Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002455 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2456**/
2457 UINT8 PdEnergyMc1Ch1Dimm0;
2458
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302459/** Offset 0x0AE1 - PowerDown Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002460 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2461**/
2462 UINT8 PdEnergyMc1Ch1Dimm1;
2463
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302464/** Offset 0x0AE2 - Activate Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002465 Activate Energy Contribution, range[255;0],(172= Def)
2466**/
2467 UINT8 ActEnergyMc0Ch0Dimm0;
2468
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302469/** Offset 0x0AE3 - Activate Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002470 Activate Energy Contribution, range[255;0],(172= Def)
2471**/
2472 UINT8 ActEnergyMc0Ch0Dimm1;
2473
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302474/** Offset 0x0AE4 - Activate Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002475 Activate Energy Contribution, range[255;0],(172= Def)
2476**/
2477 UINT8 ActEnergyMc0Ch1Dimm0;
2478
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302479/** Offset 0x0AE5 - Activate Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002480 Activate Energy Contribution, range[255;0],(172= Def)
2481**/
2482 UINT8 ActEnergyMc0Ch1Dimm1;
2483
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302484/** Offset 0x0AE6 - Activate Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002485 Activate Energy Contribution, range[255;0],(172= Def)
2486**/
2487 UINT8 ActEnergyMc1Ch0Dimm0;
2488
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302489/** Offset 0x0AE7 - Activate Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002490 Activate Energy Contribution, range[255;0],(172= Def)
2491**/
2492 UINT8 ActEnergyMc1Ch0Dimm1;
2493
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302494/** Offset 0x0AE8 - Activate Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002495 Activate Energy Contribution, range[255;0],(172= Def)
2496**/
2497 UINT8 ActEnergyMc1Ch1Dimm0;
2498
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302499/** Offset 0x0AE9 - Activate Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002500 Activate Energy Contribution, range[255;0],(172= Def)
2501**/
2502 UINT8 ActEnergyMc1Ch1Dimm1;
2503
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302504/** Offset 0x0AEA - Read Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002505 Read Energy Contribution, range[255;0],(212= Def)
2506**/
2507 UINT8 RdEnergyMc0Ch0Dimm0;
2508
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302509/** Offset 0x0AEB - Read Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002510 Read Energy Contribution, range[255;0],(212= Def)
2511**/
2512 UINT8 RdEnergyMc0Ch0Dimm1;
2513
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302514/** Offset 0x0AEC - Read Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002515 Read Energy Contribution, range[255;0],(212= Def)
2516**/
2517 UINT8 RdEnergyMc0Ch1Dimm0;
2518
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302519/** Offset 0x0AED - Read Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002520 Read Energy Contribution, range[255;0],(212= Def)
2521**/
2522 UINT8 RdEnergyMc0Ch1Dimm1;
2523
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302524/** Offset 0x0AEE - Read Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002525 Read Energy Contribution, range[255;0],(212= Def)
2526**/
2527 UINT8 RdEnergyMc1Ch0Dimm0;
2528
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302529/** Offset 0x0AEF - Read Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002530 Read Energy Contribution, range[255;0],(212= Def)
2531**/
2532 UINT8 RdEnergyMc1Ch0Dimm1;
2533
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302534/** Offset 0x0AF0 - Read Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002535 Read Energy Contribution, range[255;0],(212= Def)
2536**/
2537 UINT8 RdEnergyMc1Ch1Dimm0;
2538
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302539/** Offset 0x0AF1 - Read Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002540 Read Energy Contribution, range[255;0],(212= Def)
2541**/
2542 UINT8 RdEnergyMc1Ch1Dimm1;
2543
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302544/** Offset 0x0AF2 - Write Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002545 Write Energy Contribution, range[255;0],(221= Def)
2546**/
2547 UINT8 WrEnergyMc0Ch0Dimm0;
2548
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302549/** Offset 0x0AF3 - Write Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002550 Write Energy Contribution, range[255;0],(221= Def)
2551**/
2552 UINT8 WrEnergyMc0Ch0Dimm1;
2553
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302554/** Offset 0x0AF4 - Write Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002555 Write Energy Contribution, range[255;0],(221= Def)
2556**/
2557 UINT8 WrEnergyMc0Ch1Dimm0;
2558
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302559/** Offset 0x0AF5 - Write Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002560 Write Energy Contribution, range[255;0],(221= Def)
2561**/
2562 UINT8 WrEnergyMc0Ch1Dimm1;
2563
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302564/** Offset 0x0AF6 - Write Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002565 Write Energy Contribution, range[255;0],(221= Def)
2566**/
2567 UINT8 WrEnergyMc1Ch0Dimm0;
2568
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302569/** Offset 0x0AF7 - Write Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002570 Write Energy Contribution, range[255;0],(221= Def)
2571**/
2572 UINT8 WrEnergyMc1Ch0Dimm1;
2573
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302574/** Offset 0x0AF8 - Write Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002575 Write Energy Contribution, range[255;0],(221= Def)
2576**/
2577 UINT8 WrEnergyMc1Ch1Dimm0;
2578
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302579/** Offset 0x0AF9 - Write Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002580 Write Energy Contribution, range[255;0],(221= Def)
2581**/
2582 UINT8 WrEnergyMc1Ch1Dimm1;
2583
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302584/** Offset 0x0AFA - Throttler CKEMin Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002585 Timer value for CKEMin, range[255;0]. Req'd min of SC_ROUND_T + BYTE_LENGTH (4).
2586 Dfault is 0x00
2587**/
2588 UINT8 ThrtCkeMinTmr;
2589
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302590/** Offset 0x0AFB - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002591**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302592 UINT8 Reserved59[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002593
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302594/** Offset 0x0AFD - Rapl Power Floor Ch0
Kapil Porwala42ad282022-07-07 18:28:30 +00002595 Power budget ,range[255;0],(0= 5.3W Def)
2596**/
2597 UINT8 RaplPwrFlCh0;
2598
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302599/** Offset 0x0AFE - Rapl Power Floor Ch1
Kapil Porwala42ad282022-07-07 18:28:30 +00002600 Power budget ,range[255;0],(0= 5.3W Def)
2601**/
2602 UINT8 RaplPwrFlCh1;
2603
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302604/** Offset 0x0AFF - Command Rate Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002605 CMD Rate and Limit Support Option. NOTE: ONLY supported in 1N Mode, Default is 3 CMDs
2606 0:Disable, 5:2 CMDS, 7:3 CMDS, 9:4 CMDS, 11:5 CMDS, 13:6 CMDS, 15:7 CMDS
2607**/
2608 UINT8 EnCmdRate;
2609
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302610/** Offset 0x0B00 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002611**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302612 UINT8 Reserved60;
Kapil Porwala42ad282022-07-07 18:28:30 +00002613
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302614/** Offset 0x0B01 - Energy Performance Gain
Kapil Porwala42ad282022-07-07 18:28:30 +00002615 Enable/disable Energy Performance Gain. <b>0: Disable</b>; 1: Enable
2616 $EN_DIS
2617**/
2618 UINT8 EpgEnable;
2619
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302620/** Offset 0x0B02 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002621**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302622 UINT8 Reserved61;
Kapil Porwala42ad282022-07-07 18:28:30 +00002623
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302624/** Offset 0x0B03 - User Manual Threshold
Kapil Porwala42ad282022-07-07 18:28:30 +00002625 Disabled: Predefined threshold will be used.\n
2626 Enabled: User Input will be used.
2627 $EN_DIS
2628**/
2629 UINT8 UserThresholdEnable;
2630
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302631/** Offset 0x0B04 - User Manual Budget
Kapil Porwala42ad282022-07-07 18:28:30 +00002632 Disabled: Configuration of memories will defined the Budget value.\n
2633 Enabled: User Input will be used.
2634 $EN_DIS
2635**/
2636 UINT8 UserBudgetEnable;
2637
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302638/** Offset 0x0B05 - Power Down Mode
Kapil Porwala42ad282022-07-07 18:28:30 +00002639 This option controls command bus tristating during idle periods
2640 0x0:No Power Down, 0x1:APD, 0x6:PPD DLL OFF, 0xFF:Auto
2641**/
2642 UINT8 PowerDownMode;
2643
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302644/** Offset 0x0B06 - Pwr Down Idle Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002645 The minimum value should = to the worst case Roundtrip delay + Burst_Length. 0 means
2646 AUTO: 64 for ULX/ULT, 128 for DT/Halo
2647**/
2648 UINT8 PwdwnIdleCounter;
2649
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302650/** Offset 0x0B07 - Page Close Idle Timeout
Kapil Porwala42ad282022-07-07 18:28:30 +00002651 This option controls Page Close Idle Timeout
2652 0:Enabled, 1:Disabled
2653**/
2654 UINT8 DisPgCloseIdleTimeout;
2655
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302656/** Offset 0x0B08 - Bitmask of ranks that have CA bus terminated
Kapil Porwala42ad282022-07-07 18:28:30 +00002657 Offset 225 LPDDR4: Bitmask of ranks that have CA bus terminated. <b>0x01=Default,
2658 Rank0 is terminating and Rank1 is non-terminating</b>
2659**/
2660 UINT8 CmdRanksTerminated;
2661
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302662/** Offset 0x0B09 - PcdSerialDebugLevel
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002663 Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2664 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2665 Info & Verbose.
2666 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2667 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
2668**/
2669 UINT8 PcdSerialDebugLevel;
2670
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302671/** Offset 0x0B0A - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002672**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302673 UINT8 Reserved62[7];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002674
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302675/** Offset 0x0B11 - Ask MRC to clear memory content
Kapil Porwala42ad282022-07-07 18:28:30 +00002676 Ask MRC to clear memory content <b>0: Do not Clear Memory;</b> 1: Clear Memory.
2677 $EN_DIS
2678**/
2679 UINT8 CleanMemory;
2680
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302681/** Offset 0x0B12 - TCSS USB Port Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002682 Bitmap for per port enabling
2683**/
2684 UINT8 UsbTcPortEnPreMem;
2685
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302686/** Offset 0x0B13 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002687**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302688 UINT8 Reserved63;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002689
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302690/** Offset 0x0B14 - Post Code Output Port
Kapil Porwala42ad282022-07-07 18:28:30 +00002691 This option configures Post Code Output Port
2692**/
2693 UINT16 PostCodeOutputPort;
2694
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302695/** Offset 0x0B16 - RMTLoopCount
Kapil Porwala42ad282022-07-07 18:28:30 +00002696 Specifies the Loop Count to be used during Rank Margin Tool Testing. 0 - AUTO
2697**/
2698 UINT8 RMTLoopCount;
2699
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302700/** Offset 0x0B17 - Enable/Disable SA CRID
Kapil Porwala42ad282022-07-07 18:28:30 +00002701 Enable: SA CRID, Disable (Default): SA CRID
2702 $EN_DIS
2703**/
2704 UINT8 CridEnable;
2705
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302706/** Offset 0x0B18 - BCLK RFI Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +00002707 Bclk RFI Frequency for each SAGV point in Hz units. 98000000Hz = 98MHz <b>0 - No
2708 RFI Tuning</b>. Range is 98Mhz-100Mhz.
2709**/
2710 UINT32 BclkRfiFreq[4];
2711
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302712/** Offset 0x0B28 - Size of PCIe IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002713 Size of PCIe IMR in megabytes
2714**/
2715 UINT16 PcieImrSize;
2716
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302717/** Offset 0x0B2A - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002718 0: Disable(AUTO), 1: Enable
2719 $EN_DIS
2720**/
2721 UINT8 PcieImrEnabled;
2722
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302723/** Offset 0x0B2B - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002724 1: PCH PCIE, 2: SA PCIE. If PCIeImrEnabled is TRUE then this will use to select
2725 the Root port location from PCH PCIe or SA PCIe
2726 $EN_DIS
2727**/
2728 UINT8 PcieImrRpLocation;
2729
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302730/** Offset 0x0B2C - Root port number for IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002731 Root port number for IMR.If PCieImrRpLocation is PCH PCIe then select root port
2732 from 0 to 23 and if it is SA PCIe then select root port from 0 to 3
2733**/
2734 UINT8 PcieImrRpSelection;
2735
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302736/** Offset 0x0B2D - SerialDebugMrcLevel
Subrata Banik82067412022-07-01 09:12:08 +00002737 MRC Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2738 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2739 Info & Verbose.
2740 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2741 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002742**/
Subrata Banik82067412022-07-01 09:12:08 +00002743 UINT8 SerialDebugMrcLevel;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002744
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302745/** Offset 0x0B2E - Reserved
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002746**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302747 UINT8 Reserved64[13];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002748
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302749/** Offset 0x0B3B - Command Pins Mapping
Kapil Porwala42ad282022-07-07 18:28:30 +00002750 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2751 1 Channel [3:0]. 0 = CCC pin mapping is Ascending, 1 = CCC pin mapping is Descending.
2752**/
2753 UINT8 Lp5CccConfig;
2754
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302755/** Offset 0x0B3C - Command Pins Mirrored
Kapil Porwala42ad282022-07-07 18:28:30 +00002756 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2757 1 Channel [3:0]. 0 = No Command Mirror and 1 = Command Mirror.
2758**/
2759 UINT8 CmdMirror;
2760
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302761/** Offset 0x0B3D - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002762**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302763 UINT8 Reserved65[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002764
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302765/** Offset 0x0B41 - Skip external display device scanning
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002766 Enable: Do not scan for external display device, Disable (Default): Scan external
2767 display devices
2768 $EN_DIS
2769**/
2770 UINT8 SkipExtGfxScan;
2771
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302772/** Offset 0x0B42 - Generate BIOS Data ACPI Table
Kapil Porwala42ad282022-07-07 18:28:30 +00002773 Enable: Generate BDAT for MRC RMT or SA PCIe data. Disable (Default): Do not generate it
2774 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002775**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002776 UINT8 BdatEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002777
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302778/** Offset 0x0B43 - Lock PCU Thermal Management registers
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002779 Lock PCU Thermal Management registers. Enable(Default)=1, Disable=0
2780 $EN_DIS
2781**/
2782 UINT8 LockPTMregs;
2783
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302784/** Offset 0x0B44 - Panel Power Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002785 Control for enabling/disabling VDD force bit (Required only for early enabling of
2786 eDP panel). 0=Disable, 1(Default)=Enable
2787 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002788**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002789 UINT8 PanelPowerEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002790
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302791/** Offset 0x0B45 - BdatTestType
Kapil Porwala42ad282022-07-07 18:28:30 +00002792 Indicates the type of Memory Training data to populate into the BDAT ACPI table.
2793 0:RMT per Rank, 1:RMT per Bit, 2:Margin2D
2794**/
2795 UINT8 BdatTestType;
2796
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302797/** Offset 0x0B46 - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002798**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302799 UINT8 Reserved66[2];
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002800
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302801/** Offset 0x0B48 - PMR Size
Kapil Porwala42ad282022-07-07 18:28:30 +00002802 Size of PMR memory buffer. 0x400000 for normal boot and 0x200000 for S3 boot
2803**/
2804 UINT32 DmaBufferSize;
2805
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302806/** Offset 0x0B4C - The policy for VTd driver behavior
Kapil Porwala42ad282022-07-07 18:28:30 +00002807 BIT0: Enable IOMMU during boot, BIT1: Enable IOMMU when transfer control to OS
2808**/
2809 UINT8 PreBootDmaMask;
2810
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302811/** Offset 0x0B4D - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002812**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302813 UINT8 Reserved67[95];
Kapil Porwala42ad282022-07-07 18:28:30 +00002814
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302815/** Offset 0x0BAC - TotalFlashSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002816 Enable/Disable. 0: Disable, define default value of TotalFlashSize , 1: enable
2817**/
2818 UINT16 TotalFlashSize;
2819
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302820/** Offset 0x0BAE - BiosSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002821 The size of the BIOS region of the IFWI. Used if FspmUpd->FspmConfig.BiosGuard !=
2822 0. If BiosGuard is enabled, MRC will increase the size of the DPR (DMA Protected
2823 Range) so that a BIOS Update Script can be stored in the DPR.
2824**/
2825 UINT16 BiosSize;
2826
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302827/** Offset 0x0BB0 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002828**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302829 UINT8 Reserved68[12];
Kapil Porwala42ad282022-07-07 18:28:30 +00002830
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302831/** Offset 0x0BBC - Smbus dynamic power gating
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002832 Disable or Enable Smbus dynamic power gating.
2833 $EN_DIS
2834**/
2835 UINT8 SmbusDynamicPowerGating;
2836
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302837/** Offset 0x0BBD - Disable and Lock Watch Dog Register
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002838 Set 1 to clear WDT status, then disable and lock WDT registers.
2839 $EN_DIS
2840**/
2841 UINT8 WdtDisableAndLock;
2842
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302843/** Offset 0x0BBE - SMBUS SPD Write Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00002844 Set/Clear Smbus SPD Write Disable. 0: leave SPD Write Disable bit; 1: set SPD Write
2845 Disable bit. For security recommendations, SPD write disable bit must be set.
2846 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002847**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002848 UINT8 SmbusSpdWriteDisable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002849
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302850/** Offset 0x0BBF - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302851**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302852 UINT8 Reserved69[34];
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302853
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302854/** Offset 0x0BE1 - HECI Timeouts
Kapil Porwala42ad282022-07-07 18:28:30 +00002855 0: Disable, 1: Enable (Default) timeout check for HECI
2856 $EN_DIS
2857**/
2858 UINT8 HeciTimeouts;
2859
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302860/** Offset 0x0BE2 - Force ME DID Init Status
Kapil Porwala42ad282022-07-07 18:28:30 +00002861 Test, 0: disable, 1: Success, 2: No Memory in Channels, 3: Memory Init Error, Set
2862 ME DID init stat value
2863 $EN_DIS
2864**/
2865 UINT8 DidInitStat;
2866
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302867/** Offset 0x0BE3 - CPU Replaced Polling Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00002868 Test, 0: disable, 1: enable, Setting this option disables CPU replacement polling loop
2869 $EN_DIS
2870**/
2871 UINT8 DisableCpuReplacedPolling;
2872
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302873/** Offset 0x0BE4 - Check HECI message before send
Kapil Porwala42ad282022-07-07 18:28:30 +00002874 Test, 0: disable, 1: enable, Enable/Disable message check.
2875 $EN_DIS
2876**/
2877 UINT8 DisableMessageCheck;
2878
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302879/** Offset 0x0BE5 - Skip MBP HOB
Kapil Porwala42ad282022-07-07 18:28:30 +00002880 Test, 0: disable, 1: enable, Enable/Disable MOB HOB.
2881 $EN_DIS
2882**/
2883 UINT8 SkipMbpHob;
2884
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302885/** Offset 0x0BE6 - HECI2 Interface Communication
Kapil Porwala42ad282022-07-07 18:28:30 +00002886 Test, 0: disable, 1: enable, Adds or Removes HECI2 Device from PCI space.
2887 $EN_DIS
2888**/
2889 UINT8 HeciCommunication2;
2890
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302891/** Offset 0x0BE7 - Enable KT device
Kapil Porwala42ad282022-07-07 18:28:30 +00002892 Test, 0: disable, 1: enable, Enable or Disable KT device.
2893 $EN_DIS
2894**/
2895 UINT8 KtDeviceEnable;
2896
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302897/** Offset 0x0BE8 - Skip CPU replacement check
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002898 Test, 0: disable, 1: enable, Setting this option to skip CPU replacement check
2899 $EN_DIS
2900**/
2901 UINT8 SkipCpuReplacementCheck;
2902
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302903/** Offset 0x0BE9 - Avx2 Voltage Guardband Scaling Factor
Kapil Porwala42ad282022-07-07 18:28:30 +00002904 AVX2 Voltage Guardband Scale factor applied to AVX2 workloads. Range is 0-200 in
2905 1/100 units, where a value of 125 would apply a 1.25 scale factor.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002906**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002907 UINT8 Avx2VoltageScaleFactor;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002908
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302909/** Offset 0x0BEA - Avx512 Voltage Guardband Scaling Factor
Kapil Porwala42ad282022-07-07 18:28:30 +00002910 AVX512 Voltage Guardband Scale factor applied to AVX512 workloads. Range is 0-200
2911 in 1/100 units, where a value of 125 would apply a 1.25 scale factor.
2912**/
2913 UINT8 Avx512VoltageScaleFactor;
2914
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302915/** Offset 0x0BEB - Serial Io Uart Debug Mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002916 Select SerialIo Uart Controller mode
2917 0:SerialIoUartDisabled, 1:SerialIoUartPci, 2:SerialIoUartHidden, 3:SerialIoUartCom,
2918 4:SerialIoUartSkipInit
2919**/
2920 UINT8 SerialIoUartDebugMode;
2921
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302922/** Offset 0x0BEC - SerialIoUartDebugRxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00002923 Select RX pin muxing for SerialIo UART used for debug
2924**/
2925 UINT32 SerialIoUartDebugRxPinMux;
2926
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302927/** Offset 0x0BF0 - SerialIoUartDebugTxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00002928 Select TX pin muxing for SerialIo UART used for debug
2929**/
2930 UINT32 SerialIoUartDebugTxPinMux;
2931
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302932/** Offset 0x0BF4 - SerialIoUartDebugRtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00002933 Select SerialIo Uart used for debug Rts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_RTS*
2934 for possible values.
2935**/
2936 UINT32 SerialIoUartDebugRtsPinMux;
2937
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302938/** Offset 0x0BF8 - SerialIoUartDebugCtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00002939 Select SerialIo Uart used for debug Cts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_CTS*
2940 for possible values.
2941**/
2942 UINT32 SerialIoUartDebugCtsPinMux;
2943
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302944/** Offset 0x0BFC - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002945**/
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302946 UINT8 Reserved70[20];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002947} FSP_M_CONFIG;
2948
2949/** Fsp M UPD Configuration
2950**/
2951typedef struct {
2952
2953/** Offset 0x0000
2954**/
2955 FSP_UPD_HEADER FspUpdHeader;
2956
2957/** Offset 0x0020
2958**/
2959 FSPM_ARCH_UPD FspmArchUpd;
2960
2961/** Offset 0x0040
2962**/
2963 FSP_M_CONFIG FspmConfig;
2964
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302965/** Offset 0x0C10
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002966**/
Subrata Banik6ed43152022-11-22 16:36:37 +05302967 UINT8 Rsvd500[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002968
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +05302969/** Offset 0x0C16
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002970**/
2971 UINT16 UpdTerminator;
2972} FSPM_UPD;
2973
2974#pragma pack()
2975
2976#endif