Debian Codegraph @

src/vendorcode/intel/fsp/fsp2_0/jasperlake/FsptUpd.h

raw symbols SCIP
1 /** @file
2
3 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
4
5 Redistribution and use in source and binary forms, with or without modification,
6 are 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 __FSPTUPD_H__
34 #define __FSPTUPD_H__
35
36 #include <FspUpd.h>
37
38 #pragma pack(1)
39
40
41 /** Fsp T Core UPD
42 **/
43 typedef struct {
44
45 /** Offset 0x0020
46 **/
47 UINT32 MicrocodeRegionBase;
48
49 /** Offset 0x0024
50 **/
51 UINT32 MicrocodeRegionSize;
52
53 /** Offset 0x0028
54 **/
55 UINT32 CodeRegionBase;
56
57 /** Offset 0x002C
58 **/
59 UINT32 CodeRegionSize;
60
61 /** Offset 0x0030
62 **/
63 UINT8 Reserved[16];
64 } FSPT_CORE_UPD;
65
66 /** Fsp T Configuration
67 **/
68 typedef struct {
69
70 /** Offset 0x0040 - PcdSerialIoUartDebugEnable
71 Enable SerialIo Uart debug library with/without initializing SerialIo Uart device in FSP.
72 0:Disable, 1:Enable and Initialize, 2:Enable without Initializing
73 **/
74 UINT8 PcdSerialIoUartDebugEnable;
75
76 /** Offset 0x0041 - PcdSerialIoUartNumber - FSPT
77 Select SerialIo Uart Controller for debug. Note: If UART0 is selected as CNVi BT
78 Core interface, it cannot be used for debug purpose.
79 0:SerialIoUart0, 1:SerialIoUart1, 2:SerialIoUart2
80 **/
81 UINT8 PcdSerialIoUartNumber;
82
83 /** Offset 0x0042 - PcdSerialIoUartMode - FSPT
84 Select SerialIo Uart Controller mode
85 0:SerialIoUartDisabled, 1:SerialIoUartPci, 2:SerialIoUartHidden, 3:SerialIoUartCom,
86 4:SerialIoUartSkipInit
87 **/
88 UINT8 PcdSerialIoUartMode;
89
90 /** Offset 0x0043
91 **/
92 UINT8 UnusedUpdSpace0;
93
94 /** Offset 0x0044 - PcdSerialIoUartBaudRate - FSPT
95 Set default BaudRate Supported from 0 - default to 6000000
96 **/
97 UINT32 PcdSerialIoUartBaudRate;
98
99 /** Offset 0x0048 - Pci Express Base Address
100 Base address to be programmed for Pci Express
101 **/
102 UINT64 PcdPciExpressBaseAddress;
103
104 /** Offset 0x0050 - Pci Express Region Length
105 Region Length to be programmed for Pci Express
106 **/
107 UINT32 PcdPciExpressRegionLength;
108
109 /** Offset 0x0054 - PcdSerialIoUartParity - FSPT
110 Set default Parity.
111 0: DefaultParity, 1: NoParity, 2: EvenParity, 3: OddParity
112 **/
113 UINT8 PcdSerialIoUartParity;
114
115 /** Offset 0x0055 - PcdSerialIoUartDataBits - FSPT
116 Set default word length. 0: Default, 5,6,7,8
117 **/
118 UINT8 PcdSerialIoUartDataBits;
119
120 /** Offset 0x0056 - PcdSerialIoUartStopBits - FSPT
121 Set default stop bits.
122 0: DefaultStopBits, 1: OneStopBit, 2: OneFiveStopBits, 3: TwoStopBits
123 **/
124 UINT8 PcdSerialIoUartStopBits;
125
126 /** Offset 0x0057 - PcdSerialIoUartAutoFlow - FSPT
127 Enables UART hardware flow control, CTS and RTS lines.
128 0: Disable, 1:Enable
129 **/
130 UINT8 PcdSerialIoUartAutoFlow;
131
132 /** Offset 0x0058 - PcdSerialIoUartRxPinMux - FSPT
133 Select RX pin muxing for SerialIo UART used for debug
134 **/
135 UINT32 PcdSerialIoUartRxPinMux;
136
137 /** Offset 0x005C - PcdSerialIoUartTxPinMux - FSPT
138 Select TX pin muxing for SerialIo UART used for debug
139 **/
140 UINT32 PcdSerialIoUartTxPinMux;
141
142 /** Offset 0x0060 - PcdSerialIoUartRtsPinMux - FSPT
143 Select SerialIo Uart used for debug Rts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_RTS*
144 for possible values.
145 **/
146 UINT32 PcdSerialIoUartRtsPinMux;
147
148 /** Offset 0x0064 - PcdSerialIoUartCtsPinMux - FSPT
149 Select SerialIo Uart used for debug Cts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_CTS*
150 for possible values.
151 **/
152 UINT32 PcdSerialIoUartCtsPinMux;
153
154 /** Offset 0x0068
155 **/
156 UINT8 ReservedFsptUpd1[24];
157 } FSP_T_CONFIG;
158
159 /** Fsp T UPD Configuration
160 **/
161 typedef struct {
162
163 /** Offset 0x0000
164 **/
165 FSP_UPD_HEADER FspUpdHeader;
166
167 /** Offset 0x0020
168 **/
169 FSPT_CORE_UPD FsptCoreUpd;
170
171 /** Offset 0x0040
172 **/
173 FSP_T_CONFIG FsptConfig;
174
175 /** Offset 0x0080
176 **/
177 UINT8 UnusedUpdSpace1[6];
178
179 /** Offset 0x0086
180 **/
181 UINT16 UpdTerminator;
182 } FSPT_UPD;
183
184 #pragma pack()
185
186 #endif