| 1 | /** @file |
| 2 | |
| 3 | Copyright (c) 2024, 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 __FSPSUPD_H__ |
| 34 | #define __FSPSUPD_H__ |
| 35 | |
| 36 | #include <FspUpd.h> |
| 37 | |
| 38 | #pragma pack(1) |
| 39 | |
| 40 | |
| 41 | /** FSP-S Configuration |
| 42 | **/ |
| 43 | typedef struct { |
| 44 | |
| 45 | /** Offset 0x0020 |
| 46 | **/ |
| 47 | UINT32 PcdCpuMicrocodePatchBase; |
| 48 | |
| 49 | /** Offset 0x0024 |
| 50 | **/ |
| 51 | UINT32 PcdCpuMicrocodePatchSize; |
| 52 | |
| 53 | /** Offset 0x0028 - SATA Controllers |
| 54 | Enable/disable SATA Controller. Byte 0,2 is for SATA controller 0,2 respectively. |
| 55 | Byte1 and 4 are unused |
| 56 | **/ |
| 57 | UINT32 PcdEnableSATA; |
| 58 | |
| 59 | /** Offset 0x002C - SATA port Enable for Controller 0 |
| 60 | 0:Disabled , 1: Enabled . Each one of 8 ports are represented by a nibble . for |
| 61 | example : nibble 0 controls port 0 , nibble 1 controls port 1 |
| 62 | **/ |
| 63 | UINT32 PcdSATA0PortEnable; |
| 64 | |
| 65 | /** Offset 0x0030 - SATA port HotPlug capability for Controller 0 |
| 66 | 0:Disabled , 1: Enabled . Each one of 8 ports are represented by a nibble . for |
| 67 | example : nibble 0 controls port 0 , nibble 1 controls port 1 |
| 68 | **/ |
| 69 | UINT32 PcdSATA0PortHotplug; |
| 70 | |
| 71 | /** Offset 0x0034 - SATA port Enable for Controller 2 |
| 72 | 0:Disabled , 1: Enabled . Each one of 8 ports are represented by a nibble . for |
| 73 | example : nibble 0 controls port 0 , nibble 1 controls port 1 |
| 74 | **/ |
| 75 | UINT32 PcdSATA2PortEnable; |
| 76 | |
| 77 | /** Offset 0x0038 - SATA port HotPlug capability for Controller 2 |
| 78 | 0:Disabled , 1: Enabled . Each one of 8 ports are represented by a nibble . for |
| 79 | example : nibble 0 controls port 0 , nibble 1 controls port 1 |
| 80 | **/ |
| 81 | UINT32 PcdSATA2PortHotplug; |
| 82 | |
| 83 | /** Offset 0x003C - EMMC controller |
| 84 | Enable/Disable EMMC controller. |
| 85 | $EN_DIS |
| 86 | **/ |
| 87 | UINT8 PcdEmmc; |
| 88 | |
| 89 | /** Offset 0x003D - EMMC HS400 Support |
| 90 | Enable/Disable EMMC HS400 Support. |
| 91 | $EN_DIS |
| 92 | **/ |
| 93 | UINT8 PcdEmmcHS400Support; |
| 94 | |
| 95 | /** Offset 0x003E - PCH PCIe Root Port 0 Link Speed |
| 96 | Desired Link Speed level for PCIe Root Port 0 |
| 97 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 98 | **/ |
| 99 | UINT8 PcdPcieRootPort0LinkSpeed; |
| 100 | |
| 101 | /** Offset 0x003F - PCH PCIe Root Port 1 Link Speed |
| 102 | Desired Link Speed level for PCIe Root Port 1 |
| 103 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 104 | **/ |
| 105 | UINT8 PcdPcieRootPort1LinkSpeed; |
| 106 | |
| 107 | /** Offset 0x0040 - PCH PCIe Root Port 2 Link Speed |
| 108 | Desired Link Speed level for PCIe Root Port 0 |
| 109 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 110 | **/ |
| 111 | UINT8 PcdPcieRootPort2LinkSpeed; |
| 112 | |
| 113 | /** Offset 0x0041 - PCH PCIe Root Port 3 Link Speed |
| 114 | Desired Link Speed level for PCIe Root Port 3 |
| 115 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 116 | **/ |
| 117 | UINT8 PcdPcieRootPort3LinkSpeed; |
| 118 | |
| 119 | /** Offset 0x0042 - PCH PCIe Root Port 8 Link Speed |
| 120 | Desired Link Speed level for PCIe Root Port 8 |
| 121 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 122 | **/ |
| 123 | UINT8 PcdPcieRootPort8LinkSpeed; |
| 124 | |
| 125 | /** Offset 0x0043 - PCH PCIe Root Port 9 Link Speed |
| 126 | Desired Link Speed level for PCIe Root Port 9 |
| 127 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 128 | **/ |
| 129 | UINT8 PcdPcieRootPort9LinkSpeed; |
| 130 | |
| 131 | /** Offset 0x0044 - PCH PCIe Root Port 10 Link Speed |
| 132 | Desired Link Speed level for PCIe Root Port 10 |
| 133 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 134 | **/ |
| 135 | UINT8 PcdPcieRootPort10LinkSpeed; |
| 136 | |
| 137 | /** Offset 0x0045 - PCH PCIe Root Port 11 Link Speed |
| 138 | Desired Link Speed level for PCIe Root Port 11 |
| 139 | 1:GEN1, 2:GEN2, 3:GEN3 |
| 140 | **/ |
| 141 | UINT8 PcdPcieRootPort11LinkSpeed; |
| 142 | |
| 143 | /** Offset 0x0046 - PCH PCIe Root Port 0 Aspm |
| 144 | Desired Active state power management settings for PCIe Root Port 0 |
| 145 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 146 | **/ |
| 147 | UINT8 PcdPcieRootPort0Aspm; |
| 148 | |
| 149 | /** Offset 0x0047 - PCH PCIe Root Port 1 Aspm |
| 150 | Desired Active state power management settings for PCIe Root Port 1 |
| 151 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 152 | **/ |
| 153 | UINT8 PcdPcieRootPort1Aspm; |
| 154 | |
| 155 | /** Offset 0x0048 - PCH PCIe Root Port 2 Aspm |
| 156 | Desired Active state power management settings for PCIe Root Port 2 |
| 157 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 158 | **/ |
| 159 | UINT8 PcdPcieRootPort2Aspm; |
| 160 | |
| 161 | /** Offset 0x0049 - PCH PCIe Root Port 3 Aspm |
| 162 | Desired Active state power management settings for PCIe Root Port 3 |
| 163 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 164 | **/ |
| 165 | UINT8 PcdPcieRootPort3Aspm; |
| 166 | |
| 167 | /** Offset 0x004A - PCH PCIe Root Port 8 Aspm |
| 168 | Desired Active state power management settings for PCIe Root Port 8 |
| 169 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 170 | **/ |
| 171 | UINT8 PcdPcieRootPort8Aspm; |
| 172 | |
| 173 | /** Offset 0x004B - PCH PCIe Root Port 9 Aspm |
| 174 | Desired Active state power management settings for PCIe Root Port 9 |
| 175 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 176 | **/ |
| 177 | UINT8 PcdPcieRootPort9Aspm; |
| 178 | |
| 179 | /** Offset 0x004C - PCH PCIe Root Port 10 Aspm |
| 180 | Desired Active state power management settings for PCIe Root Port 10 |
| 181 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 182 | **/ |
| 183 | UINT8 PcdPcieRootPort10Aspm; |
| 184 | |
| 185 | /** Offset 0x004D - PCH PCIe Root Port 11 Aspm |
| 186 | Desired Active state power management settings for PCIe Root Port 11 |
| 187 | 0:Disabled, 1:L0, 2:L1, 3:L0SL1 |
| 188 | **/ |
| 189 | UINT8 PcdPcieRootPort11Aspm; |
| 190 | |
| 191 | /** Offset 0x004E - PCH PCIe Root Port 0 Connection Type |
| 192 | Set Connection Type for PCIe Root Port 0. PCIe Root Port 0 Hotplug enable forces |
| 193 | connection type to Slot. |
| 194 | 0:Built-In, 1:Slot |
| 195 | **/ |
| 196 | UINT8 PcdPcieRootPort0ConnectionType; |
| 197 | |
| 198 | /** Offset 0x004F - PCH PCIe Root Port 1 Connection Type |
| 199 | Set Connection Type for PCIe Root Port 1. PCIe Root Port 1 Hotplug enable forces |
| 200 | connection type to Slot. |
| 201 | 0:Built-In, 1:Slot |
| 202 | **/ |
| 203 | UINT8 PcdPcieRootPort1ConnectionType; |
| 204 | |
| 205 | /** Offset 0x0050 - PCH PCIe Root Port 2 Connection Type |
| 206 | Set Connection Type for PCIe Root Port 2. PCIe Root Port 2 Hotplug enable forces |
| 207 | connection type to Slot. |
| 208 | 0:Built-In, 1:Slot |
| 209 | **/ |
| 210 | UINT8 PcdPcieRootPort2ConnectionType; |
| 211 | |
| 212 | /** Offset 0x0051 - PCH PCIe Root Port 3 Connection Type |
| 213 | Set Connection Type for PCIe Root Port 3. PCIe Root Port 3 Hotplug enable forces |
| 214 | connection type to Slot. |
| 215 | 0:Built-In, 1:Slot |
| 216 | **/ |
| 217 | UINT8 PcdPcieRootPort3ConnectionType; |
| 218 | |
| 219 | /** Offset 0x0052 - PCH PCIe Root Port 8 Connection Type |
| 220 | Set Connection Type for PCIe Root Port 8. PCIe Root Port 8 Hotplug enable forces |
| 221 | connection type to Slot. |
| 222 | 0:Built-In, 1:Slot |
| 223 | **/ |
| 224 | UINT8 PcdPcieRootPort8ConnectionType; |
| 225 | |
| 226 | /** Offset 0x0053 - PCH PCIe Root Port 9 Connection Type |
| 227 | Set Connection Type for PCIe Root Port 9. PCIe Root Port 9 Hotplug enable forces |
| 228 | connection type to Slot. |
| 229 | 0:Built-In, 1:Slot |
| 230 | **/ |
| 231 | UINT8 PcdPcieRootPort9ConnectionType; |
| 232 | |
| 233 | /** Offset 0x0054 - PCH PCIe Root Port 10 Connection Type |
| 234 | Set Connection Type for PCIe Root Port 10. PCIe Root Port 10 Hotplug enable forces |
| 235 | connection type to Slot. |
| 236 | 0:Built-In, 1:Slot |
| 237 | **/ |
| 238 | UINT8 PcdPcieRootPort10ConnectionType; |
| 239 | |
| 240 | /** Offset 0x0055 - PCH PCIe Root Port 11 Connection Type |
| 241 | Set Connection Type for PCIe Root Port 11. PCIe Root Port 11 Hotplug enable forces |
| 242 | connection type to Slot. |
| 243 | 0:Built-In, 1:Slot |
| 244 | **/ |
| 245 | UINT8 PcdPcieRootPort11ConnectionType; |
| 246 | |
| 247 | /** Offset 0x0056 - PCH PCIe Root Port 0 HotPlug |
| 248 | Enable/Disable HotPlug for PCIe Root Port 0 |
| 249 | $EN_DIS |
| 250 | **/ |
| 251 | UINT8 PcdPcieRootPort0HotPlug; |
| 252 | |
| 253 | /** Offset 0x0057 - PCH PCIe Root Port 1 HotPlug |
| 254 | Enable/Disable HotPlug for PCIe Root Port 1 |
| 255 | $EN_DIS |
| 256 | **/ |
| 257 | UINT8 PcdPcieRootPort1HotPlug; |
| 258 | |
| 259 | /** Offset 0x0058 - PCH PCIe Root Port 2 HotPlug |
| 260 | Enable/Disable HotPlug for PCIe Root Port 2 |
| 261 | $EN_DIS |
| 262 | **/ |
| 263 | UINT8 PcdPcieRootPort2HotPlug; |
| 264 | |
| 265 | /** Offset 0x0059 - PCH PCIe Root Port 3 HotPlug |
| 266 | Enable/Disable HotPlug for PCIe Root Port 3 |
| 267 | $EN_DIS |
| 268 | **/ |
| 269 | UINT8 PcdPcieRootPort3HotPlug; |
| 270 | |
| 271 | /** Offset 0x005A - PCH PCIe Root Port 8 HotPlug |
| 272 | Enable/Disable HotPlug for PCIe Root Port 8 |
| 273 | $EN_DIS |
| 274 | **/ |
| 275 | UINT8 PcdPcieRootPort8HotPlug; |
| 276 | |
| 277 | /** Offset 0x005B - PCH PCIe Root Port 9 HotPlug |
| 278 | Enable/Disable HotPlug for PCIe Root Port 9 |
| 279 | $EN_DIS |
| 280 | **/ |
| 281 | UINT8 PcdPcieRootPort9HotPlug; |
| 282 | |
| 283 | /** Offset 0x005C - PCH PCIe Root Port 10 HotPlug |
| 284 | Enable/Disable HotPlug for PCIe Root Port 10 |
| 285 | $EN_DIS |
| 286 | **/ |
| 287 | UINT8 PcdPcieRootPort10HotPlug; |
| 288 | |
| 289 | /** Offset 0x005D - PCH PCIe Root Port 11 HotPlug |
| 290 | Enable/Disable HotPlug for PCIe Root Port 11 |
| 291 | $EN_DIS |
| 292 | **/ |
| 293 | UINT8 PcdPcieRootPort11HotPlug; |
| 294 | |
| 295 | /** Offset 0x005E - IO-APIC 24-119 RTE |
| 296 | Enable/Disable IO APIC entries 24-119 |
| 297 | $EN_DIS |
| 298 | **/ |
| 299 | UINT8 PcdPchIoApic24119Entries; |
| 300 | |
| 301 | /** Offset 0x005F |
| 302 | **/ |
| 303 | UINT8 UnusedUpdSpace0[125]; |
| 304 | |
| 305 | /** Offset 0x00DC |
| 306 | **/ |
| 307 | UINT32 PcdEMMCDLLConfigPtr; |
| 308 | |
| 309 | /** Offset 0x00E0 |
| 310 | **/ |
| 311 | UINT8 ReservedSiliconInitUpd[16]; |
| 312 | } FSP_S_CONFIG; |
| 313 | |
| 314 | /** Fsp S UPD Configuration |
| 315 | **/ |
| 316 | typedef struct { |
| 317 | |
| 318 | /** Offset 0x0000 |
| 319 | **/ |
| 320 | FSP_UPD_HEADER FspUpdHeader; |
| 321 | |
| 322 | /** Offset 0x0020 |
| 323 | **/ |
| 324 | FSP_S_CONFIG FspsConfig; |
| 325 | |
| 326 | /** Offset 0x00F0 |
| 327 | **/ |
| 328 | UINT8 UnusedUpdSpace1[14]; |
| 329 | |
| 330 | /** Offset 0x00FE |
| 331 | **/ |
| 332 | UINT16 UpdTerminator; |
| 333 | } FSPS_UPD; |
| 334 | |
| 335 | #pragma pack() |
| 336 | |
| 337 | #endif |