zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 1 | /* $NoKeywords:$ */ |
| 2 | /** |
| 3 | * @file |
| 4 | * |
| 5 | * Install of build options for a combination of package type, processor, and features. |
| 6 | * |
| 7 | * This file generates the defaults tables for the all platform solution |
| 8 | * combinations. The documented build options are imported from a user |
| 9 | * controlled file for processing. |
| 10 | * |
| 11 | * @xrefitem bom "File Content Label" "Release Content" |
| 12 | * @e project: AGESA |
| 13 | * @e sub-project: Core |
| 14 | * @e \$Revision: 65065 $ @e \$Date: 2012-02-07 01:26:53 -0600 (Tue, 07 Feb 2012) $ |
| 15 | */ |
| 16 | /***************************************************************************** |
| 17 | * |
Siyuan Wang | 641f00c | 2013-06-08 11:50:55 +0800 | [diff] [blame] | 18 | * Copyright (c) 2008 - 2012, Advanced Micro Devices, Inc. |
| 19 | * All rights reserved. |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 20 | * |
Siyuan Wang | 641f00c | 2013-06-08 11:50:55 +0800 | [diff] [blame] | 21 | * Redistribution and use in source and binary forms, with or without |
| 22 | * modification, are permitted provided that the following conditions are met: |
| 23 | * * Redistributions of source code must retain the above copyright |
| 24 | * notice, this list of conditions and the following disclaimer. |
| 25 | * * Redistributions in binary form must reproduce the above copyright |
| 26 | * notice, this list of conditions and the following disclaimer in the |
| 27 | * documentation and/or other materials provided with the distribution. |
| 28 | * * Neither the name of Advanced Micro Devices, Inc. nor the names of |
| 29 | * its contributors may be used to endorse or promote products derived |
| 30 | * from this software without specific prior written permission. |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 31 | * |
Siyuan Wang | 641f00c | 2013-06-08 11:50:55 +0800 | [diff] [blame] | 32 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 33 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 34 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 35 | * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY |
| 36 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 37 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 38 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 39 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 40 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 41 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 42 | * |
| 43 | ***************************************************************************/ |
| 44 | |
| 45 | /***************************************************************************** |
| 46 | * |
| 47 | * Start processing the user options: First, set default settings |
| 48 | * |
| 49 | ****************************************************************************/ |
| 50 | |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 51 | VOLATILE AMD_MODULE_HEADER mCpuModuleID = { |
| 52 | //ModuleHeaderSignature |
| 53 | // Remove 'DOM$' as temp solution before update BinUtil.exe , |
| 54 | Int32FromChar ('0', '0', '0', '0'), |
| 55 | //ModuleIdentifier[8] |
| 56 | AGESA_ID, |
| 57 | //ModuleVersion[12] |
| 58 | AGESA_VERSION_STRING, |
| 59 | //ModuleDispatcher |
| 60 | NULL,//(VOID *)(UINT64)((MODULE_ENTRY)AmdAgesaDispatcher), |
| 61 | //NextBlock |
| 62 | NULL |
| 63 | }; |
| 64 | |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 65 | |
| 66 | /* Process solution defined socket / family installations |
| 67 | * |
| 68 | * As part of the release package for each image, define the options below to select the |
| 69 | * AGESA processor support included in that image. |
| 70 | */ |
| 71 | |
| 72 | /* Default sockets to off */ |
| 73 | #define OPTION_G34_SOCKET_SUPPORT FALSE |
| 74 | #define OPTION_C32_SOCKET_SUPPORT FALSE |
| 75 | #define OPTION_S1G3_SOCKET_SUPPORT FALSE |
| 76 | #define OPTION_S1G4_SOCKET_SUPPORT FALSE |
| 77 | #define OPTION_ASB2_SOCKET_SUPPORT FALSE |
| 78 | #define OPTION_FS1_SOCKET_SUPPORT FALSE |
| 79 | #define OPTION_FM1_SOCKET_SUPPORT FALSE |
| 80 | #define OPTION_FM2_SOCKET_SUPPORT FALSE |
| 81 | #define OPTION_FP1_SOCKET_SUPPORT FALSE |
| 82 | #define OPTION_FP2_SOCKET_SUPPORT FALSE |
| 83 | #define OPTION_FT1_SOCKET_SUPPORT FALSE |
| 84 | #define OPTION_AM3_SOCKET_SUPPORT FALSE |
| 85 | |
| 86 | /* Default families to off */ |
| 87 | #define OPTION_FAMILY10H FALSE |
| 88 | #define OPTION_FAMILY12H FALSE |
| 89 | #define OPTION_FAMILY14H FALSE |
| 90 | #define OPTION_FAMILY15H FALSE |
| 91 | #define OPTION_FAMILY15H_MODEL_0x FALSE |
| 92 | #define OPTION_FAMILY15H_MODEL_1x FALSE |
| 93 | |
| 94 | |
| 95 | /* Enable the appropriate socket support */ |
| 96 | #ifdef INSTALL_G34_SOCKET_SUPPORT |
| 97 | #if INSTALL_G34_SOCKET_SUPPORT == TRUE |
| 98 | #undef OPTION_G34_SOCKET_SUPPORT |
| 99 | #define OPTION_G34_SOCKET_SUPPORT TRUE |
| 100 | #endif |
| 101 | #endif |
| 102 | |
| 103 | #ifdef INSTALL_C32_SOCKET_SUPPORT |
| 104 | #if INSTALL_C32_SOCKET_SUPPORT == TRUE |
| 105 | #undef OPTION_C32_SOCKET_SUPPORT |
| 106 | #define OPTION_C32_SOCKET_SUPPORT TRUE |
| 107 | #endif |
| 108 | #endif |
| 109 | |
| 110 | #ifdef INSTALL_S1G3_SOCKET_SUPPORT |
| 111 | #if INSTALL_S1G3_SOCKET_SUPPORT == TRUE |
| 112 | #undef OPTION_S1G3_SOCKET_SUPPORT |
| 113 | #define OPTION_S1G3_SOCKET_SUPPORT TRUE |
| 114 | #endif |
| 115 | #endif |
| 116 | |
| 117 | #ifdef INSTALL_S1G4_SOCKET_SUPPORT |
| 118 | #if INSTALL_S1G4_SOCKET_SUPPORT == TRUE |
| 119 | #undef OPTION_S1G4_SOCKET_SUPPORT |
| 120 | #define OPTION_S1G4_SOCKET_SUPPORT TRUE |
| 121 | #endif |
| 122 | #endif |
| 123 | |
| 124 | #ifdef INSTALL_ASB2_SOCKET_SUPPORT |
| 125 | #if INSTALL_ASB2_SOCKET_SUPPORT == TRUE |
| 126 | #undef OPTION_ASB2_SOCKET_SUPPORT |
| 127 | #define OPTION_ASB2_SOCKET_SUPPORT TRUE |
| 128 | #endif |
| 129 | #endif |
| 130 | |
| 131 | #ifdef INSTALL_FS1_SOCKET_SUPPORT |
| 132 | #if INSTALL_FS1_SOCKET_SUPPORT == TRUE |
| 133 | #undef OPTION_FS1_SOCKET_SUPPORT |
| 134 | #define OPTION_FS1_SOCKET_SUPPORT TRUE |
| 135 | #endif |
| 136 | #endif |
| 137 | |
| 138 | |
| 139 | #ifdef INSTALL_FM1_SOCKET_SUPPORT |
| 140 | #if INSTALL_FM1_SOCKET_SUPPORT == TRUE |
| 141 | #undef OPTION_FM1_SOCKET_SUPPORT |
| 142 | #define OPTION_FM1_SOCKET_SUPPORT TRUE |
| 143 | #endif |
| 144 | #endif |
| 145 | |
| 146 | #ifdef INSTALL_FM2_SOCKET_SUPPORT |
| 147 | #if INSTALL_FM2_SOCKET_SUPPORT == TRUE |
| 148 | #undef OPTION_FM2_SOCKET_SUPPORT |
| 149 | #define OPTION_FM2_SOCKET_SUPPORT TRUE |
| 150 | #endif |
| 151 | #endif |
| 152 | |
| 153 | |
| 154 | #ifdef INSTALL_FP1_SOCKET_SUPPORT |
| 155 | #if INSTALL_FP1_SOCKET_SUPPORT == TRUE |
| 156 | #undef OPTION_FP1_SOCKET_SUPPORT |
| 157 | #define OPTION_FP1_SOCKET_SUPPORT TRUE |
| 158 | #endif |
| 159 | #endif |
| 160 | |
| 161 | #ifdef INSTALL_FP2_SOCKET_SUPPORT |
| 162 | #if INSTALL_FP2_SOCKET_SUPPORT == TRUE |
| 163 | #undef OPTION_FP2_SOCKET_SUPPORT |
| 164 | #define OPTION_FP2_SOCKET_SUPPORT TRUE |
| 165 | #endif |
| 166 | #endif |
| 167 | |
| 168 | #ifdef INSTALL_FT1_SOCKET_SUPPORT |
| 169 | #if INSTALL_FT1_SOCKET_SUPPORT == TRUE |
| 170 | #undef OPTION_FT1_SOCKET_SUPPORT |
| 171 | #define OPTION_FT1_SOCKET_SUPPORT TRUE |
| 172 | #endif |
| 173 | #endif |
| 174 | |
| 175 | |
| 176 | #ifdef INSTALL_AM3_SOCKET_SUPPORT |
| 177 | #if INSTALL_AM3_SOCKET_SUPPORT == TRUE |
| 178 | #undef OPTION_AM3_SOCKET_SUPPORT |
| 179 | #define OPTION_AM3_SOCKET_SUPPORT TRUE |
| 180 | #endif |
| 181 | #endif |
| 182 | |
| 183 | |
| 184 | /* Enable the appropriate family support */ |
| 185 | // F10 is supported in G34, C32, S1g4, ASB2, S1g3, & AM3 |
| 186 | #ifdef INSTALL_FAMILY_10_SUPPORT |
| 187 | #if INSTALL_FAMILY_10_SUPPORT == TRUE |
| 188 | #undef OPTION_FAMILY10H |
| 189 | #define OPTION_FAMILY10H TRUE |
| 190 | #endif |
| 191 | #endif |
| 192 | |
| 193 | // F12 is supported in FP1, FS1, & FM1 |
| 194 | #ifdef INSTALL_FAMILY_12_SUPPORT |
| 195 | #if INSTALL_FAMILY_12_SUPPORT == TRUE |
| 196 | #undef OPTION_FAMILY12H |
| 197 | #define OPTION_FAMILY12H TRUE |
| 198 | #endif |
| 199 | #endif |
| 200 | |
| 201 | #ifdef INSTALL_FAMILY_14_SUPPORT |
| 202 | #if INSTALL_FAMILY_14_SUPPORT == TRUE |
| 203 | #undef OPTION_FAMILY14H |
| 204 | #define OPTION_FAMILY14H TRUE |
| 205 | #endif |
| 206 | #endif |
| 207 | |
| 208 | // F15_0x is supported in G34, C32, & AM3 |
| 209 | #ifdef INSTALL_FAMILY_15_MODEL_0x_SUPPORT |
| 210 | #if INSTALL_FAMILY_15_MODEL_0x_SUPPORT == TRUE |
| 211 | #undef OPTION_FAMILY15H |
| 212 | #define OPTION_FAMILY15H TRUE |
| 213 | #undef OPTION_FAMILY15H_MODEL_0x |
| 214 | #define OPTION_FAMILY15H_MODEL_0x TRUE |
| 215 | #endif |
| 216 | #endif |
| 217 | |
| 218 | // F15_1x is supported in FS1r2, FM2, & FP2 |
| 219 | #ifdef INSTALL_FAMILY_15_MODEL_1x_SUPPORT |
| 220 | #if INSTALL_FAMILY_15_MODEL_1x_SUPPORT == TRUE |
| 221 | #undef OPTION_FAMILY15H |
| 222 | #define OPTION_FAMILY15H TRUE |
| 223 | #undef OPTION_FAMILY15H_MODEL_1x |
| 224 | #define OPTION_FAMILY15H_MODEL_1x TRUE |
| 225 | #endif |
| 226 | #endif |
| 227 | |
| 228 | |
| 229 | /* Turn off families not required by socket designations */ |
| 230 | #if (OPTION_FAMILY10H == TRUE) |
| 231 | #if (OPTION_G34_SOCKET_SUPPORT == FALSE) && (OPTION_C32_SOCKET_SUPPORT == FALSE) && (OPTION_S1G3_SOCKET_SUPPORT == FALSE) && (OPTION_S1G4_SOCKET_SUPPORT == FALSE) && (OPTION_ASB2_SOCKET_SUPPORT == FALSE) && (OPTION_AM3_SOCKET_SUPPORT == FALSE) |
| 232 | #undef OPTION_FAMILY10H |
| 233 | #define OPTION_FAMILY10H FALSE |
| 234 | #endif |
| 235 | #endif |
| 236 | |
| 237 | #if (OPTION_FAMILY12H == TRUE) |
| 238 | #if (OPTION_FS1_SOCKET_SUPPORT == FALSE) && (OPTION_FM1_SOCKET_SUPPORT == FALSE) && (OPTION_FP1_SOCKET_SUPPORT == FALSE) |
| 239 | #undef OPTION_FAMILY12H |
| 240 | #define OPTION_FAMILY12H FALSE |
| 241 | #endif |
| 242 | #endif |
| 243 | |
| 244 | #if (OPTION_FAMILY14H == TRUE) |
| 245 | #if (OPTION_FT1_SOCKET_SUPPORT == FALSE) |
| 246 | #undef OPTION_FAMILY14H |
| 247 | #define OPTION_FAMILY14H FALSE |
| 248 | #endif |
| 249 | #endif |
| 250 | |
| 251 | #if (OPTION_FAMILY15H_MODEL_0x == TRUE) |
| 252 | #if (OPTION_G34_SOCKET_SUPPORT == FALSE) && (OPTION_C32_SOCKET_SUPPORT == FALSE) && (OPTION_AM3_SOCKET_SUPPORT == FALSE) |
| 253 | #undef OPTION_FAMILY15H_MODEL_0x |
| 254 | #define OPTION_FAMILY15H_MODEL_0x FALSE |
| 255 | #endif |
| 256 | #endif |
| 257 | |
| 258 | #if (OPTION_FAMILY15H_MODEL_1x == TRUE) |
| 259 | #if (OPTION_FS1_SOCKET_SUPPORT == FALSE) && (OPTION_FM2_SOCKET_SUPPORT == FALSE) && (OPTION_FP2_SOCKET_SUPPORT == FALSE) |
| 260 | #undef OPTION_FAMILY15H_MODEL_1x |
| 261 | #define OPTION_FAMILY15H_MODEL_1x FALSE |
| 262 | #endif |
| 263 | #endif |
| 264 | |
| 265 | |
| 266 | #if (OPTION_FAMILY15H_MODEL_0x == FALSE) && (OPTION_FAMILY15H_MODEL_1x == FALSE) |
| 267 | #undef OPTION_FAMILY15H |
| 268 | #define OPTION_FAMILY15H FALSE |
| 269 | #endif |
| 270 | |
| 271 | |
| 272 | /* Check for invalid combinations of socket/family */ |
| 273 | #if (OPTION_G34_SOCKET_SUPPORT == TRUE) |
| 274 | #if (OPTION_FAMILY10H == FALSE) && (OPTION_FAMILY15H_MODEL_0x == FALSE) |
| 275 | #error No G34 supported families included in the build |
| 276 | #endif |
| 277 | #endif |
| 278 | |
| 279 | #if (OPTION_C32_SOCKET_SUPPORT == TRUE) |
| 280 | #if (OPTION_FAMILY10H == FALSE) && (OPTION_FAMILY15H_MODEL_0x == FALSE) |
| 281 | #error No C32 supported families included in the build |
| 282 | #endif |
| 283 | #endif |
| 284 | |
| 285 | #if (OPTION_S1G3_SOCKET_SUPPORT == TRUE) |
| 286 | #if (OPTION_FAMILY10H == FALSE) |
| 287 | #error No S1G3 supported families included in the build |
| 288 | #endif |
| 289 | #endif |
| 290 | |
| 291 | #if (OPTION_S1G4_SOCKET_SUPPORT == TRUE) |
| 292 | #if (OPTION_FAMILY10H == FALSE) |
| 293 | #error No S1G4 supported families included in the build |
| 294 | #endif |
| 295 | #endif |
| 296 | |
| 297 | #if (OPTION_ASB2_SOCKET_SUPPORT == TRUE) |
| 298 | #if (OPTION_FAMILY10H == FALSE) |
| 299 | #error No ASB2 supported families included in the build |
| 300 | #endif |
| 301 | #endif |
| 302 | |
| 303 | #if (OPTION_FS1_SOCKET_SUPPORT == TRUE) |
| 304 | #if (OPTION_FAMILY12H == FALSE) && (OPTION_FAMILY15H_MODEL_1x == FALSE) |
| 305 | #error No FS1 supported families included in the build |
| 306 | #endif |
| 307 | #endif |
| 308 | |
| 309 | |
| 310 | #if (OPTION_FM1_SOCKET_SUPPORT == TRUE) |
| 311 | #if (OPTION_FAMILY12H == FALSE) |
| 312 | #error No FM1 supported families included in the build |
| 313 | #endif |
| 314 | #endif |
| 315 | |
| 316 | #if (OPTION_FM2_SOCKET_SUPPORT == TRUE) |
| 317 | #if (OPTION_FAMILY15H_MODEL_1x == FALSE) |
| 318 | #error No FM2 supported families included in the build |
| 319 | #endif |
| 320 | #endif |
| 321 | |
| 322 | |
| 323 | #if (OPTION_FP1_SOCKET_SUPPORT == TRUE) |
| 324 | #if (OPTION_FAMILY12H == FALSE) |
| 325 | #error No FP1 supported families included in the build |
| 326 | #endif |
| 327 | #endif |
| 328 | |
| 329 | #if (OPTION_FP2_SOCKET_SUPPORT == TRUE) |
| 330 | #if (OPTION_FAMILY15H_MODEL_1x == FALSE) |
| 331 | #error No FP2 supported families included in the build |
| 332 | #endif |
| 333 | #endif |
| 334 | |
| 335 | #if (OPTION_FT1_SOCKET_SUPPORT == TRUE) |
| 336 | #if (OPTION_FAMILY14H == FALSE) |
| 337 | #error No FT1 supported families included in the build |
| 338 | #endif |
| 339 | #endif |
| 340 | |
| 341 | |
| 342 | #if (OPTION_AM3_SOCKET_SUPPORT == TRUE) |
| 343 | #if (OPTION_FAMILY10H == FALSE) && (OPTION_FAMILY15H_MODEL_0x == FALSE) |
| 344 | #error No AM3 supported families included in the build |
| 345 | #endif |
| 346 | #endif |
| 347 | |
| 348 | |
| 349 | /* Process AGESA private data |
| 350 | * |
| 351 | * Turn on appropriate CPU models and memory controllers, |
| 352 | * as well as some other memory controls. |
| 353 | */ |
| 354 | |
| 355 | /* Default all models to off */ |
| 356 | #define OPTION_FAMILY10H_BL FALSE |
| 357 | #define OPTION_FAMILY10H_DA FALSE |
| 358 | #define OPTION_FAMILY10H_HY FALSE |
| 359 | #define OPTION_FAMILY10H_PH FALSE |
| 360 | #define OPTION_FAMILY10H_RB FALSE |
| 361 | #define OPTION_FAMILY12H_LN FALSE |
| 362 | #define OPTION_FAMILY14H_ON FALSE |
| 363 | #define OPTION_FAMILY15H_OR FALSE |
| 364 | #define OPTION_FAMILY15H_TN FALSE |
| 365 | #define OPTION_FAMILY15H_UNKNOWN FALSE |
| 366 | |
| 367 | /* Default all memory controllers to off */ |
| 368 | #define OPTION_MEMCTLR_DR FALSE |
| 369 | #define OPTION_MEMCTLR_HY FALSE |
| 370 | #define OPTION_MEMCTLR_OR FALSE |
| 371 | #define OPTION_MEMCTLR_C32 FALSE |
| 372 | #define OPTION_MEMCTLR_DA FALSE |
| 373 | #define OPTION_MEMCTLR_LN FALSE |
| 374 | #define OPTION_MEMCTLR_ON FALSE |
| 375 | #define OPTION_MEMCTLR_Ni FALSE |
| 376 | #define OPTION_MEMCTLR_PH FALSE |
| 377 | #define OPTION_MEMCTLR_RB FALSE |
| 378 | #define OPTION_MEMCTLR_TN FALSE |
| 379 | |
| 380 | /* Default all memory controls to off */ |
| 381 | #define OPTION_HW_WRITE_LEV_TRAINING FALSE |
| 382 | #define OPTION_SW_WRITE_LEV_TRAINING FALSE |
| 383 | #define OPTION_CONTINOUS_PATTERN_GENERATION FALSE |
| 384 | #define OPTION_HW_DQS_REC_EN_TRAINING FALSE |
| 385 | #define OPTION_NON_OPT_SW_DQS_REC_EN_TRAINING FALSE |
| 386 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING FALSE |
| 387 | #define OPTION_NON_OPT_SW_RD_WR_POS_TRAINING FALSE |
| 388 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING FALSE |
| 389 | #define OPTION_MAX_RD_LAT_TRAINING FALSE |
| 390 | #define OPTION_HW_DRAM_INIT FALSE |
| 391 | #define OPTION_SW_DRAM_INIT FALSE |
| 392 | #define OPTION_S3_MEM_SUPPORT FALSE |
| 393 | #define OPTION_ADDR_TO_CS_TRANSLATOR FALSE |
| 394 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING FALSE |
| 395 | #define OPTION_PRE_MEM_INIT FALSE |
| 396 | #define OPTION_POST_MEM_INIT FALSE |
| 397 | |
| 398 | /* Defaults for public user options */ |
| 399 | #define OPTION_UDIMMS FALSE |
| 400 | #define OPTION_RDIMMS FALSE |
| 401 | #define OPTION_SODIMMS FALSE |
| 402 | #define OPTION_LRDIMMS FALSE |
| 403 | #define OPTION_DDR2 FALSE |
| 404 | #define OPTION_DDR3 FALSE |
| 405 | #define OPTION_ECC FALSE |
| 406 | #define OPTION_BANK_INTERLEAVE FALSE |
| 407 | #define OPTION_DCT_INTERLEAVE FALSE |
| 408 | #define OPTION_NODE_INTERLEAVE FALSE |
| 409 | #define OPTION_PARALLEL_TRAINING FALSE |
| 410 | #define OPTION_ONLINE_SPARE FALSE |
| 411 | #define OPTION_MEM_RESTORE FALSE |
| 412 | #define OPTION_DIMM_EXCLUDE FALSE |
| 413 | |
| 414 | /* Default all CPU controls to off */ |
| 415 | #define OPTION_MULTISOCKET FALSE |
| 416 | #define OPTION_SRAT FALSE |
| 417 | #define OPTION_SLIT FALSE |
| 418 | #define OPTION_HT_ASSIST FALSE |
| 419 | #define OPTION_ATM_MODE FALSE |
| 420 | #define OPTION_CPU_CORELEVLING FALSE |
| 421 | #define OPTION_MSG_BASED_C1E FALSE |
| 422 | #define OPTION_CPU_CFOH FALSE |
| 423 | #define OPTION_C6_STATE FALSE |
| 424 | #define OPTION_IO_CSTATE FALSE |
| 425 | #define OPTION_CPB FALSE |
| 426 | #define OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT FALSE |
| 427 | #define OPTION_CPU_PSTATE_HPC_MODE FALSE |
| 428 | #define OPTION_CPU_APM FALSE |
| 429 | #define OPTION_CPU_PSI FALSE |
| 430 | #define OPTION_CPU_HTC FALSE |
| 431 | #define OPTION_S3SCRIPT FALSE |
| 432 | #define OPTION_GFX_RECOVERY FALSE |
| 433 | |
| 434 | /* Default FCH controls to off */ |
| 435 | #define FCH_SUPPORT FALSE |
| 436 | |
| 437 | /* Enable all private controls based on socket/family enables */ |
| 438 | #if (OPTION_G34_SOCKET_SUPPORT == TRUE) |
| 439 | #if (OPTION_FAMILY10H == TRUE) |
| 440 | #undef OPTION_FAMILY10H_HY |
| 441 | #define OPTION_FAMILY10H_HY TRUE |
| 442 | #undef OPTION_MEMCTLR_HY |
| 443 | #define OPTION_MEMCTLR_HY TRUE |
| 444 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 445 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 446 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 447 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 448 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 449 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 450 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 451 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 452 | #undef OPTION_SW_DRAM_INIT |
| 453 | #define OPTION_SW_DRAM_INIT TRUE |
| 454 | #undef OPTION_S3_MEM_SUPPORT |
| 455 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 456 | #undef OPTION_MULTISOCKET |
| 457 | #define OPTION_MULTISOCKET TRUE |
| 458 | #undef OPTION_SRAT |
| 459 | #define OPTION_SRAT TRUE |
| 460 | #undef OPTION_SLIT |
| 461 | #define OPTION_SLIT TRUE |
| 462 | #undef OPTION_HT_ASSIST |
| 463 | #define OPTION_HT_ASSIST TRUE |
| 464 | #undef OPTION_CPU_CORELEVLING |
| 465 | #define OPTION_CPU_CORELEVLING TRUE |
| 466 | #undef OPTION_MSG_BASED_C1E |
| 467 | #define OPTION_MSG_BASED_C1E TRUE |
| 468 | #undef OPTION_CPU_CFOH |
| 469 | #define OPTION_CPU_CFOH TRUE |
| 470 | #undef OPTION_UDIMMS |
| 471 | #define OPTION_UDIMMS TRUE |
| 472 | #undef OPTION_RDIMMS |
| 473 | #define OPTION_RDIMMS TRUE |
| 474 | #undef OPTION_SODIMMS |
| 475 | #define OPTION_SODIMMS TRUE |
| 476 | #undef OPTION_DDR3 |
| 477 | #define OPTION_DDR3 TRUE |
| 478 | #undef OPTION_ECC |
| 479 | #define OPTION_ECC TRUE |
| 480 | #undef OPTION_BANK_INTERLEAVE |
| 481 | #define OPTION_BANK_INTERLEAVE TRUE |
| 482 | #undef OPTION_DCT_INTERLEAVE |
| 483 | #define OPTION_DCT_INTERLEAVE TRUE |
| 484 | #undef OPTION_NODE_INTERLEAVE |
| 485 | #define OPTION_NODE_INTERLEAVE TRUE |
| 486 | #undef OPTION_PARALLEL_TRAINING |
| 487 | #define OPTION_PARALLEL_TRAINING TRUE |
| 488 | #undef OPTION_MEM_RESTORE |
| 489 | #define OPTION_MEM_RESTORE TRUE |
| 490 | #undef OPTION_ONLINE_SPARE |
| 491 | #define OPTION_ONLINE_SPARE TRUE |
| 492 | #undef OPTION_DIMM_EXCLUDE |
| 493 | #define OPTION_DIMM_EXCLUDE TRUE |
| 494 | #endif |
| 495 | #if (OPTION_FAMILY15H_MODEL_0x == TRUE) |
| 496 | #undef OPTION_FAMILY15H_OR |
| 497 | #define OPTION_FAMILY15H_OR TRUE |
| 498 | #undef OPTION_FAMILY15H_UNKNOWN |
| 499 | #define OPTION_FAMILY15H_UNKNOWN TRUE |
| 500 | #undef OPTION_MEMCTLR_OR |
| 501 | #define OPTION_MEMCTLR_OR TRUE |
| 502 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 503 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 504 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 505 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 506 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 507 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 508 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 509 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 510 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 511 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 512 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 513 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 514 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 515 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 516 | #undef OPTION_SW_DRAM_INIT |
| 517 | #define OPTION_SW_DRAM_INIT TRUE |
| 518 | #undef OPTION_S3_MEM_SUPPORT |
| 519 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 520 | #undef OPTION_MULTISOCKET |
| 521 | #define OPTION_MULTISOCKET TRUE |
| 522 | #undef OPTION_C6_STATE |
| 523 | #define OPTION_C6_STATE TRUE |
| 524 | #undef OPTION_IO_CSTATE |
| 525 | #define OPTION_IO_CSTATE TRUE |
| 526 | #undef OPTION_CPB |
| 527 | #define OPTION_CPB TRUE |
| 528 | #undef OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT |
| 529 | #define OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT TRUE |
| 530 | #undef OPTION_CPU_APM |
| 531 | #define OPTION_CPU_APM TRUE |
| 532 | #undef OPTION_SRAT |
| 533 | #define OPTION_SRAT TRUE |
| 534 | #undef OPTION_SLIT |
| 535 | #define OPTION_SLIT TRUE |
| 536 | #undef OPTION_HT_ASSIST |
| 537 | #define OPTION_HT_ASSIST TRUE |
| 538 | #undef OPTION_ATM_MODE |
| 539 | #define OPTION_ATM_MODE TRUE |
| 540 | #undef OPTION_CPU_CORELEVLING |
| 541 | #define OPTION_CPU_CORELEVLING TRUE |
| 542 | #undef OPTION_MSG_BASED_C1E |
| 543 | #define OPTION_MSG_BASED_C1E TRUE |
| 544 | #undef OPTION_CPU_CFOH |
| 545 | #define OPTION_CPU_CFOH TRUE |
| 546 | #undef OPTION_UDIMMS |
| 547 | #define OPTION_UDIMMS TRUE |
| 548 | #undef OPTION_RDIMMS |
| 549 | #define OPTION_RDIMMS TRUE |
| 550 | #undef OPTION_SODIMMS |
| 551 | #define OPTION_SODIMMS TRUE |
| 552 | #undef OPTION_LRDIMMS |
| 553 | #define OPTION_LRDIMMS TRUE |
| 554 | #undef OPTION_DDR3 |
| 555 | #define OPTION_DDR3 TRUE |
| 556 | #undef OPTION_ECC |
| 557 | #define OPTION_ECC TRUE |
| 558 | #undef OPTION_BANK_INTERLEAVE |
| 559 | #define OPTION_BANK_INTERLEAVE TRUE |
| 560 | #undef OPTION_DCT_INTERLEAVE |
| 561 | #define OPTION_DCT_INTERLEAVE TRUE |
| 562 | #undef OPTION_NODE_INTERLEAVE |
| 563 | #define OPTION_NODE_INTERLEAVE TRUE |
| 564 | #undef OPTION_MEM_RESTORE |
| 565 | #define OPTION_MEM_RESTORE TRUE |
| 566 | #undef OPTION_ONLINE_SPARE |
| 567 | #define OPTION_ONLINE_SPARE TRUE |
| 568 | #undef OPTION_DIMM_EXCLUDE |
| 569 | #define OPTION_DIMM_EXCLUDE TRUE |
| 570 | #endif |
| 571 | #endif |
| 572 | |
| 573 | #if (OPTION_C32_SOCKET_SUPPORT == TRUE) |
| 574 | #if (OPTION_FAMILY10H == TRUE) |
| 575 | #undef OPTION_FAMILY10H_HY |
| 576 | #define OPTION_FAMILY10H_HY TRUE |
| 577 | #undef OPTION_MEMCTLR_C32 |
| 578 | #define OPTION_MEMCTLR_C32 TRUE |
| 579 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 580 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 581 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 582 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 583 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 584 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 585 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 586 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 587 | #undef OPTION_SW_DRAM_INIT |
| 588 | #define OPTION_SW_DRAM_INIT TRUE |
| 589 | #undef OPTION_S3_MEM_SUPPORT |
| 590 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 591 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 592 | #define OPTION_ADDR_TO_CS_TRANSLATOR FALSE |
| 593 | #undef OPTION_MULTISOCKET |
| 594 | #define OPTION_MULTISOCKET TRUE |
| 595 | #undef OPTION_SRAT |
| 596 | #define OPTION_SRAT TRUE |
| 597 | #undef OPTION_SLIT |
| 598 | #define OPTION_SLIT TRUE |
| 599 | #undef OPTION_HT_ASSIST |
| 600 | #define OPTION_HT_ASSIST TRUE |
| 601 | #undef OPTION_CPU_CORELEVLING |
| 602 | #define OPTION_CPU_CORELEVLING TRUE |
| 603 | #undef OPTION_MSG_BASED_C1E |
| 604 | #define OPTION_MSG_BASED_C1E TRUE |
| 605 | #undef OPTION_CPU_CFOH |
| 606 | #define OPTION_CPU_CFOH TRUE |
| 607 | #undef OPTION_UDIMMS |
| 608 | #define OPTION_UDIMMS TRUE |
| 609 | #undef OPTION_RDIMMS |
| 610 | #define OPTION_RDIMMS TRUE |
| 611 | #undef OPTION_SODIMMS |
| 612 | #define OPTION_SODIMMS TRUE |
| 613 | #undef OPTION_DDR3 |
| 614 | #define OPTION_DDR3 TRUE |
| 615 | #undef OPTION_ECC |
| 616 | #define OPTION_ECC TRUE |
| 617 | #undef OPTION_BANK_INTERLEAVE |
| 618 | #define OPTION_BANK_INTERLEAVE TRUE |
| 619 | #undef OPTION_DCT_INTERLEAVE |
| 620 | #define OPTION_DCT_INTERLEAVE TRUE |
| 621 | #undef OPTION_NODE_INTERLEAVE |
| 622 | #define OPTION_NODE_INTERLEAVE TRUE |
| 623 | #undef OPTION_PARALLEL_TRAINING |
| 624 | #define OPTION_PARALLEL_TRAINING TRUE |
| 625 | #undef OPTION_MEM_RESTORE |
| 626 | #define OPTION_MEM_RESTORE TRUE |
| 627 | #undef OPTION_ONLINE_SPARE |
| 628 | #define OPTION_ONLINE_SPARE TRUE |
| 629 | #undef OPTION_DIMM_EXCLUDE |
| 630 | #define OPTION_DIMM_EXCLUDE TRUE |
| 631 | #endif |
| 632 | #if (OPTION_FAMILY15H_MODEL_0x == TRUE) |
| 633 | #undef OPTION_FAMILY15H_OR |
| 634 | #define OPTION_FAMILY15H_OR TRUE |
| 635 | #undef OPTION_FAMILY15H_UNKNOWN |
| 636 | #define OPTION_FAMILY15H_UNKNOWN TRUE |
| 637 | #undef OPTION_MEMCTLR_OR |
| 638 | #define OPTION_MEMCTLR_OR TRUE |
| 639 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 640 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 641 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 642 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 643 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 644 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 645 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 646 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 647 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 648 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 649 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 650 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 651 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 652 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 653 | #undef OPTION_SW_DRAM_INIT |
| 654 | #define OPTION_SW_DRAM_INIT TRUE |
| 655 | #undef OPTION_S3_MEM_SUPPORT |
| 656 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 657 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 658 | #define OPTION_ADDR_TO_CS_TRANSLATOR TRUE |
| 659 | #undef OPTION_MULTISOCKET |
| 660 | #define OPTION_MULTISOCKET TRUE |
| 661 | #undef OPTION_C6_STATE |
| 662 | #define OPTION_C6_STATE TRUE |
| 663 | #undef OPTION_IO_CSTATE |
| 664 | #define OPTION_IO_CSTATE TRUE |
| 665 | #undef OPTION_CPB |
| 666 | #define OPTION_CPB TRUE |
| 667 | #undef OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT |
| 668 | #define OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT TRUE |
| 669 | #undef OPTION_CPU_APM |
| 670 | #define OPTION_CPU_APM TRUE |
| 671 | #undef OPTION_SRAT |
| 672 | #define OPTION_SRAT TRUE |
| 673 | #undef OPTION_SLIT |
| 674 | #define OPTION_SLIT TRUE |
| 675 | #undef OPTION_HT_ASSIST |
| 676 | #define OPTION_HT_ASSIST TRUE |
| 677 | #undef OPTION_ATM_MODE |
| 678 | #define OPTION_ATM_MODE TRUE |
| 679 | #undef OPTION_CPU_CORELEVLING |
| 680 | #define OPTION_CPU_CORELEVLING TRUE |
| 681 | #undef OPTION_MSG_BASED_C1E |
| 682 | #define OPTION_MSG_BASED_C1E TRUE |
| 683 | #undef OPTION_CPU_CFOH |
| 684 | #define OPTION_CPU_CFOH TRUE |
| 685 | #undef OPTION_UDIMMS |
| 686 | #define OPTION_UDIMMS TRUE |
| 687 | #undef OPTION_RDIMMS |
| 688 | #define OPTION_RDIMMS TRUE |
| 689 | #undef OPTION_SODIMMS |
| 690 | #define OPTION_SODIMMS TRUE |
| 691 | #undef OPTION_LRDIMMS |
| 692 | #define OPTION_LRDIMMS TRUE |
| 693 | #undef OPTION_DDR3 |
| 694 | #define OPTION_DDR3 TRUE |
| 695 | #undef OPTION_ECC |
| 696 | #define OPTION_ECC TRUE |
| 697 | #undef OPTION_BANK_INTERLEAVE |
| 698 | #define OPTION_BANK_INTERLEAVE TRUE |
| 699 | #undef OPTION_DCT_INTERLEAVE |
| 700 | #define OPTION_DCT_INTERLEAVE TRUE |
| 701 | #undef OPTION_NODE_INTERLEAVE |
| 702 | #define OPTION_NODE_INTERLEAVE TRUE |
| 703 | #undef OPTION_MEM_RESTORE |
| 704 | #define OPTION_MEM_RESTORE TRUE |
| 705 | #undef OPTION_ONLINE_SPARE |
| 706 | #define OPTION_ONLINE_SPARE TRUE |
| 707 | #undef OPTION_DIMM_EXCLUDE |
| 708 | #define OPTION_DIMM_EXCLUDE TRUE |
| 709 | #endif |
| 710 | #endif |
| 711 | |
| 712 | #if (OPTION_S1G3_SOCKET_SUPPORT == TRUE) |
| 713 | #if (OPTION_FAMILY10H == TRUE) |
| 714 | #undef OPTION_FAMILY10H_BL |
| 715 | #define OPTION_FAMILY10H_BL TRUE |
| 716 | #undef OPTION_FAMILY10H_DA |
| 717 | #define OPTION_FAMILY10H_DA TRUE |
| 718 | #undef OPTION_MEMCTLR_DA |
| 719 | #define OPTION_MEMCTLR_DA TRUE |
| 720 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 721 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 722 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 723 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 724 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 725 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 726 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 727 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 728 | #undef OPTION_SW_DRAM_INIT |
| 729 | #define OPTION_SW_DRAM_INIT TRUE |
| 730 | #undef OPTION_S3_MEM_SUPPORT |
| 731 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 732 | #undef OPTION_CPU_CORELEVLING |
| 733 | #define OPTION_CPU_CORELEVLING TRUE |
| 734 | #undef OPTION_CPU_CFOH |
| 735 | #define OPTION_CPU_CFOH TRUE |
| 736 | #undef OPTION_UDIMMS |
| 737 | #define OPTION_UDIMMS TRUE |
| 738 | #undef OPTION_SODIMMS |
| 739 | #define OPTION_SODIMMS TRUE |
| 740 | #undef OPTION_DDR3 |
| 741 | #define OPTION_DDR3 TRUE |
| 742 | #undef OPTION_ECC |
| 743 | #define OPTION_ECC TRUE |
| 744 | #undef OPTION_BANK_INTERLEAVE |
| 745 | #define OPTION_BANK_INTERLEAVE TRUE |
| 746 | #undef OPTION_DCT_INTERLEAVE |
| 747 | #define OPTION_DCT_INTERLEAVE TRUE |
| 748 | #undef OPTION_NODE_INTERLEAVE |
| 749 | #define OPTION_NODE_INTERLEAVE TRUE |
| 750 | #undef OPTION_PARALLEL_TRAINING |
| 751 | #define OPTION_PARALLEL_TRAINING TRUE |
| 752 | #undef OPTION_MEM_RESTORE |
| 753 | #define OPTION_MEM_RESTORE TRUE |
| 754 | #undef OPTION_ONLINE_SPARE |
| 755 | #define OPTION_ONLINE_SPARE TRUE |
| 756 | #undef OPTION_DIMM_EXCLUDE |
| 757 | #define OPTION_DIMM_EXCLUDE TRUE |
| 758 | #endif |
| 759 | #endif |
| 760 | |
| 761 | #if (OPTION_S1G4_SOCKET_SUPPORT == TRUE) |
| 762 | #if (OPTION_FAMILY10H == TRUE) |
| 763 | #undef OPTION_FAMILY10H_BL |
| 764 | #define OPTION_FAMILY10H_BL TRUE |
| 765 | #undef OPTION_FAMILY10H_DA |
| 766 | #define OPTION_FAMILY10H_DA TRUE |
| 767 | #undef OPTION_MEMCTLR_DA |
| 768 | #define OPTION_MEMCTLR_DA TRUE |
| 769 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 770 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 771 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 772 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 773 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 774 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 775 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 776 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 777 | #undef OPTION_SW_DRAM_INIT |
| 778 | #define OPTION_SW_DRAM_INIT TRUE |
| 779 | #undef OPTION_S3_MEM_SUPPORT |
| 780 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 781 | #undef OPTION_CPU_CORELEVLING |
| 782 | #define OPTION_CPU_CORELEVLING TRUE |
| 783 | #undef OPTION_CPU_CFOH |
| 784 | #define OPTION_CPU_CFOH TRUE |
| 785 | #undef OPTION_UDIMMS |
| 786 | #define OPTION_UDIMMS TRUE |
| 787 | #undef OPTION_SODIMMS |
| 788 | #define OPTION_SODIMMS TRUE |
| 789 | #undef OPTION_DDR3 |
| 790 | #define OPTION_DDR3 TRUE |
| 791 | #undef OPTION_ECC |
| 792 | #define OPTION_ECC TRUE |
| 793 | #undef OPTION_BANK_INTERLEAVE |
| 794 | #define OPTION_BANK_INTERLEAVE TRUE |
| 795 | #undef OPTION_DCT_INTERLEAVE |
| 796 | #define OPTION_DCT_INTERLEAVE TRUE |
| 797 | #undef OPTION_NODE_INTERLEAVE |
| 798 | #define OPTION_NODE_INTERLEAVE TRUE |
| 799 | #undef OPTION_MEM_RESTORE |
| 800 | #define OPTION_MEM_RESTORE TRUE |
| 801 | #undef OPTION_DIMM_EXCLUDE |
| 802 | #define OPTION_DIMM_EXCLUDE TRUE |
| 803 | #endif |
| 804 | #endif |
| 805 | |
| 806 | #if (OPTION_ASB2_SOCKET_SUPPORT == TRUE) |
| 807 | #if (OPTION_FAMILY10H == TRUE) |
| 808 | #undef OPTION_FAMILY10H_BL |
| 809 | #define OPTION_FAMILY10H_BL TRUE |
| 810 | #undef OPTION_FAMILY10H_DA |
| 811 | #define OPTION_FAMILY10H_DA TRUE |
| 812 | #undef OPTION_MEMCTLR_Ni |
| 813 | #define OPTION_MEMCTLR_Ni TRUE |
| 814 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 815 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 816 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 817 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 818 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 819 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 820 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 821 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 822 | #undef OPTION_SW_DRAM_INIT |
| 823 | #define OPTION_SW_DRAM_INIT TRUE |
| 824 | #undef OPTION_S3_MEM_SUPPORT |
| 825 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 826 | #undef OPTION_CPU_CORELEVLING |
| 827 | #define OPTION_CPU_CORELEVLING TRUE |
| 828 | #undef OPTION_CPU_CFOH |
| 829 | #define OPTION_CPU_CFOH TRUE |
| 830 | #undef OPTION_UDIMMS |
| 831 | #define OPTION_UDIMMS TRUE |
| 832 | #undef OPTION_SODIMMS |
| 833 | #define OPTION_SODIMMS TRUE |
| 834 | #undef OPTION_DDR3 |
| 835 | #define OPTION_DDR3 TRUE |
| 836 | #undef OPTION_ECC |
| 837 | #define OPTION_ECC TRUE |
| 838 | #undef OPTION_BANK_INTERLEAVE |
| 839 | #define OPTION_BANK_INTERLEAVE TRUE |
| 840 | #undef OPTION_DCT_INTERLEAVE |
| 841 | #define OPTION_DCT_INTERLEAVE TRUE |
| 842 | #undef OPTION_NODE_INTERLEAVE |
| 843 | #define OPTION_NODE_INTERLEAVE TRUE |
| 844 | #undef OPTION_MEM_RESTORE |
| 845 | #define OPTION_MEM_RESTORE TRUE |
| 846 | #undef OPTION_DIMM_EXCLUDE |
| 847 | #define OPTION_DIMM_EXCLUDE TRUE |
| 848 | #endif |
| 849 | #endif |
| 850 | |
| 851 | #if (OPTION_FS1_SOCKET_SUPPORT == TRUE) |
| 852 | #if (OPTION_FAMILY12H == TRUE) |
| 853 | #undef OPTION_FAMILY12H_LN |
| 854 | #define OPTION_FAMILY12H_LN TRUE |
| 855 | #undef OPTION_MEMCTLR_LN |
| 856 | #define OPTION_MEMCTLR_LN TRUE |
| 857 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 858 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 859 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 860 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 861 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 862 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 863 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 864 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 865 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 866 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 867 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 868 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 869 | #undef OPTION_SW_DRAM_INIT |
| 870 | #define OPTION_SW_DRAM_INIT TRUE |
| 871 | #undef OPTION_S3_MEM_SUPPORT |
| 872 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 873 | #undef OPTION_GFX_RECOVERY |
| 874 | #define OPTION_GFX_RECOVERY TRUE |
| 875 | #undef OPTION_C6_STATE |
| 876 | #define OPTION_C6_STATE TRUE |
| 877 | #undef OPTION_IO_CSTATE |
| 878 | #define OPTION_IO_CSTATE TRUE |
| 879 | #undef OPTION_CPB |
| 880 | #define OPTION_CPB TRUE |
| 881 | #undef OPTION_S3SCRIPT |
| 882 | #define OPTION_S3SCRIPT TRUE |
| 883 | #undef OPTION_UDIMMS |
| 884 | #define OPTION_UDIMMS TRUE |
| 885 | #undef OPTION_SODIMMS |
| 886 | #define OPTION_SODIMMS TRUE |
| 887 | #undef OPTION_DDR3 |
| 888 | #define OPTION_DDR3 TRUE |
| 889 | #undef OPTION_BANK_INTERLEAVE |
| 890 | #define OPTION_BANK_INTERLEAVE TRUE |
| 891 | #undef OPTION_DCT_INTERLEAVE |
| 892 | #define OPTION_DCT_INTERLEAVE TRUE |
| 893 | #undef OPTION_MEM_RESTORE |
| 894 | #define OPTION_MEM_RESTORE TRUE |
| 895 | #undef OPTION_DIMM_EXCLUDE |
| 896 | #define OPTION_DIMM_EXCLUDE TRUE |
| 897 | #endif |
| 898 | #if (OPTION_FAMILY15H_MODEL_1x == TRUE) |
| 899 | #undef FCH_SUPPORT |
| 900 | #define FCH_SUPPORT TRUE |
| 901 | #undef OPTION_FAMILY15H_TN |
| 902 | #define OPTION_FAMILY15H_TN TRUE |
| 903 | #undef OPTION_MEMCTLR_TN |
| 904 | #define OPTION_MEMCTLR_TN TRUE |
| 905 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 906 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 907 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 908 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 909 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 910 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 911 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 912 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 913 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 914 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 915 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 916 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 917 | #undef OPTION_SW_DRAM_INIT |
| 918 | #define OPTION_SW_DRAM_INIT TRUE |
| 919 | #undef OPTION_S3_MEM_SUPPORT |
| 920 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 921 | #undef OPTION_GFX_RECOVERY |
| 922 | #define OPTION_GFX_RECOVERY TRUE |
| 923 | #undef OPTION_CPU_CORELEVLING |
| 924 | #define OPTION_CPU_CORELEVLING TRUE |
| 925 | #undef OPTION_C6_STATE |
| 926 | #define OPTION_C6_STATE TRUE |
| 927 | #undef OPTION_IO_CSTATE |
| 928 | #define OPTION_IO_CSTATE TRUE |
| 929 | #undef OPTION_CPB |
| 930 | #define OPTION_CPB TRUE |
| 931 | #undef OPTION_CPU_PSI |
| 932 | #define OPTION_CPU_PSI TRUE |
| 933 | #undef OPTION_CPU_HTC |
| 934 | #define OPTION_CPU_HTC TRUE |
| 935 | #undef OPTION_S3SCRIPT |
| 936 | #define OPTION_S3SCRIPT TRUE |
| 937 | #undef OPTION_CPU_CFOH |
| 938 | #define OPTION_CPU_CFOH TRUE |
| 939 | #undef OPTION_UDIMMS |
| 940 | #define OPTION_UDIMMS TRUE |
| 941 | #undef OPTION_SODIMMS |
| 942 | #define OPTION_SODIMMS TRUE |
| 943 | #undef OPTION_DDR3 |
| 944 | #define OPTION_DDR3 TRUE |
| 945 | #undef OPTION_BANK_INTERLEAVE |
| 946 | #define OPTION_BANK_INTERLEAVE TRUE |
| 947 | #undef OPTION_DCT_INTERLEAVE |
| 948 | #define OPTION_DCT_INTERLEAVE TRUE |
| 949 | #undef OPTION_MEM_RESTORE |
| 950 | #define OPTION_MEM_RESTORE TRUE |
| 951 | #undef OPTION_DIMM_EXCLUDE |
| 952 | #define OPTION_DIMM_EXCLUDE TRUE |
| 953 | #endif |
| 954 | #endif |
| 955 | |
| 956 | #if (OPTION_FM1_SOCKET_SUPPORT == TRUE) |
| 957 | #if (OPTION_FAMILY12H == TRUE) |
| 958 | #undef OPTION_FAMILY12H_LN |
| 959 | #define OPTION_FAMILY12H_LN TRUE |
| 960 | #undef OPTION_MEMCTLR_LN |
| 961 | #define OPTION_MEMCTLR_LN TRUE |
| 962 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 963 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 964 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 965 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 966 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 967 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 968 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 969 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 970 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 971 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 972 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 973 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 974 | #undef OPTION_SW_DRAM_INIT |
| 975 | #define OPTION_SW_DRAM_INIT TRUE |
| 976 | #undef OPTION_S3_MEM_SUPPORT |
| 977 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 978 | #undef OPTION_GFX_RECOVERY |
| 979 | #define OPTION_GFX_RECOVERY TRUE |
| 980 | #undef OPTION_C6_STATE |
| 981 | #define OPTION_C6_STATE TRUE |
| 982 | #undef OPTION_IO_CSTATE |
| 983 | #define OPTION_IO_CSTATE TRUE |
| 984 | #undef OPTION_CPB |
| 985 | #define OPTION_CPB TRUE |
| 986 | #undef OPTION_S3SCRIPT |
| 987 | #define OPTION_S3SCRIPT TRUE |
| 988 | #undef OPTION_UDIMMS |
| 989 | #define OPTION_UDIMMS TRUE |
| 990 | #undef OPTION_SODIMMS |
| 991 | #define OPTION_SODIMMS TRUE |
| 992 | #undef OPTION_DDR3 |
| 993 | #define OPTION_DDR3 TRUE |
| 994 | #undef OPTION_BANK_INTERLEAVE |
| 995 | #define OPTION_BANK_INTERLEAVE TRUE |
| 996 | #undef OPTION_DCT_INTERLEAVE |
| 997 | #define OPTION_DCT_INTERLEAVE TRUE |
| 998 | #undef OPTION_MEM_RESTORE |
| 999 | #define OPTION_MEM_RESTORE TRUE |
| 1000 | #undef OPTION_DIMM_EXCLUDE |
| 1001 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1002 | #endif |
| 1003 | #endif |
| 1004 | |
| 1005 | #if (OPTION_FM2_SOCKET_SUPPORT == TRUE) |
| 1006 | #if (OPTION_FAMILY15H_MODEL_1x == TRUE) |
| 1007 | #undef FCH_SUPPORT |
| 1008 | #define FCH_SUPPORT TRUE |
| 1009 | #undef OPTION_FAMILY15H_TN |
| 1010 | #define OPTION_FAMILY15H_TN TRUE |
| 1011 | #undef OPTION_MEMCTLR_TN |
| 1012 | #define OPTION_MEMCTLR_TN TRUE |
| 1013 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1014 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1015 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 1016 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 1017 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 1018 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 1019 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1020 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 1021 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1022 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1023 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1024 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1025 | #undef OPTION_SW_DRAM_INIT |
| 1026 | #define OPTION_SW_DRAM_INIT TRUE |
| 1027 | #undef OPTION_S3_MEM_SUPPORT |
| 1028 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1029 | #undef OPTION_GFX_RECOVERY |
| 1030 | #define OPTION_GFX_RECOVERY TRUE |
| 1031 | #undef OPTION_CPU_HTC |
| 1032 | #define OPTION_CPU_HTC TRUE |
| 1033 | #undef OPTION_CPU_CORELEVLING |
| 1034 | #define OPTION_CPU_CORELEVLING TRUE |
| 1035 | #undef OPTION_C6_STATE |
| 1036 | #define OPTION_C6_STATE TRUE |
| 1037 | #undef OPTION_IO_CSTATE |
| 1038 | #define OPTION_IO_CSTATE TRUE |
| 1039 | #undef OPTION_CPB |
| 1040 | #define OPTION_CPB TRUE |
| 1041 | #undef OPTION_CPU_PSI |
| 1042 | #define OPTION_CPU_PSI TRUE |
| 1043 | #undef OPTION_S3SCRIPT |
| 1044 | #define OPTION_S3SCRIPT TRUE |
| 1045 | #undef OPTION_CPU_CFOH |
| 1046 | #define OPTION_CPU_CFOH TRUE |
| 1047 | #undef OPTION_UDIMMS |
| 1048 | #define OPTION_UDIMMS TRUE |
| 1049 | #undef OPTION_SODIMMS |
| 1050 | #define OPTION_SODIMMS TRUE |
| 1051 | #undef OPTION_DDR3 |
| 1052 | #define OPTION_DDR3 TRUE |
| 1053 | #undef OPTION_BANK_INTERLEAVE |
| 1054 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1055 | #undef OPTION_DCT_INTERLEAVE |
| 1056 | #define OPTION_DCT_INTERLEAVE TRUE |
| 1057 | #undef OPTION_MEM_RESTORE |
| 1058 | #define OPTION_MEM_RESTORE TRUE |
| 1059 | #undef OPTION_DIMM_EXCLUDE |
| 1060 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1061 | #endif |
| 1062 | #endif |
| 1063 | |
| 1064 | #if (OPTION_FP1_SOCKET_SUPPORT == TRUE) |
| 1065 | #if (OPTION_FAMILY12H == TRUE) |
| 1066 | #undef OPTION_FAMILY12H_LN |
| 1067 | #define OPTION_FAMILY12H_LN TRUE |
| 1068 | #undef OPTION_MEMCTLR_LN |
| 1069 | #define OPTION_MEMCTLR_LN TRUE |
| 1070 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1071 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1072 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 1073 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 1074 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 1075 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 1076 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1077 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 1078 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1079 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1080 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1081 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1082 | #undef OPTION_SW_DRAM_INIT |
| 1083 | #define OPTION_SW_DRAM_INIT TRUE |
| 1084 | #undef OPTION_S3_MEM_SUPPORT |
| 1085 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1086 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 1087 | #define OPTION_ADDR_TO_CS_TRANSLATOR TRUE |
| 1088 | #undef OPTION_GFX_RECOVERY |
| 1089 | #define OPTION_GFX_RECOVERY TRUE |
| 1090 | #undef OPTION_C6_STATE |
| 1091 | #define OPTION_C6_STATE TRUE |
| 1092 | #undef OPTION_IO_CSTATE |
| 1093 | #define OPTION_IO_CSTATE TRUE |
| 1094 | #undef OPTION_CPB |
| 1095 | #define OPTION_CPB TRUE |
| 1096 | #undef OPTION_S3SCRIPT |
| 1097 | #define OPTION_S3SCRIPT TRUE |
| 1098 | #undef OPTION_UDIMMS |
| 1099 | #define OPTION_UDIMMS TRUE |
| 1100 | #undef OPTION_SODIMMS |
| 1101 | #define OPTION_SODIMMS TRUE |
| 1102 | #undef OPTION_DDR3 |
| 1103 | #define OPTION_DDR3 TRUE |
| 1104 | #undef OPTION_BANK_INTERLEAVE |
| 1105 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1106 | #undef OPTION_DCT_INTERLEAVE |
| 1107 | #define OPTION_DCT_INTERLEAVE TRUE |
| 1108 | #undef OPTION_MEM_RESTORE |
| 1109 | #define OPTION_MEM_RESTORE TRUE |
| 1110 | #undef OPTION_ONLINE_SPARE |
| 1111 | #define OPTION_ONLINE_SPARE TRUE |
| 1112 | #undef OPTION_DIMM_EXCLUDE |
| 1113 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1114 | #endif |
| 1115 | #endif |
| 1116 | |
| 1117 | #if (OPTION_FP2_SOCKET_SUPPORT == TRUE) |
| 1118 | #if (OPTION_FAMILY15H_MODEL_1x == TRUE) |
| 1119 | #undef FCH_SUPPORT |
| 1120 | #define FCH_SUPPORT TRUE |
| 1121 | #undef OPTION_FAMILY15H_TN |
| 1122 | #define OPTION_FAMILY15H_TN TRUE |
| 1123 | #undef OPTION_MEMCTLR_TN |
| 1124 | #define OPTION_MEMCTLR_TN TRUE |
| 1125 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1126 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1127 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 1128 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 1129 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 1130 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 1131 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1132 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 1133 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1134 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1135 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1136 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1137 | #undef OPTION_SW_DRAM_INIT |
| 1138 | #define OPTION_SW_DRAM_INIT TRUE |
| 1139 | #undef OPTION_S3_MEM_SUPPORT |
| 1140 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1141 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 1142 | #define OPTION_ADDR_TO_CS_TRANSLATOR TRUE |
| 1143 | #undef OPTION_GFX_RECOVERY |
| 1144 | #define OPTION_GFX_RECOVERY TRUE |
| 1145 | #undef OPTION_CPU_HTC |
| 1146 | #define OPTION_CPU_HTC TRUE |
| 1147 | #undef OPTION_CPU_CORELEVLING |
| 1148 | #define OPTION_CPU_CORELEVLING TRUE |
| 1149 | #undef OPTION_C6_STATE |
| 1150 | #define OPTION_C6_STATE TRUE |
| 1151 | #undef OPTION_IO_CSTATE |
| 1152 | #define OPTION_IO_CSTATE TRUE |
| 1153 | #undef OPTION_CPB |
| 1154 | #define OPTION_CPB TRUE |
| 1155 | #undef OPTION_CPU_PSI |
| 1156 | #define OPTION_CPU_PSI TRUE |
| 1157 | #undef OPTION_S3SCRIPT |
| 1158 | #define OPTION_S3SCRIPT TRUE |
| 1159 | #undef OPTION_CPU_CFOH |
| 1160 | #define OPTION_CPU_CFOH TRUE |
| 1161 | #undef OPTION_UDIMMS |
| 1162 | #define OPTION_UDIMMS TRUE |
| 1163 | #undef OPTION_SODIMMS |
| 1164 | #define OPTION_SODIMMS TRUE |
| 1165 | #undef OPTION_DDR3 |
| 1166 | #define OPTION_DDR3 TRUE |
| 1167 | #undef OPTION_BANK_INTERLEAVE |
| 1168 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1169 | #undef OPTION_DCT_INTERLEAVE |
| 1170 | #define OPTION_DCT_INTERLEAVE TRUE |
| 1171 | #undef OPTION_MEM_RESTORE |
| 1172 | #define OPTION_MEM_RESTORE TRUE |
| 1173 | #undef OPTION_DIMM_EXCLUDE |
| 1174 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1175 | #endif |
| 1176 | #endif |
| 1177 | |
| 1178 | #if (OPTION_FT1_SOCKET_SUPPORT == TRUE) |
| 1179 | #if (OPTION_FT1_T_SOCKET_SUPPORT == TRUE) |
| 1180 | #undef FCH_SUPPORT |
| 1181 | #define FCH_SUPPORT TRUE |
| 1182 | #endif |
| 1183 | #if (OPTION_FAMILY14H == TRUE) |
| 1184 | #if (OPTION_FAMILY14H_FCH == TRUE) |
| 1185 | #undef FCH_SUPPORT |
| 1186 | #define FCH_SUPPORT TRUE |
| 1187 | #endif |
| 1188 | #undef OPTION_FAMILY14H_ON |
| 1189 | #define OPTION_FAMILY14H_ON TRUE |
| 1190 | #undef OPTION_MEMCTLR_ON |
| 1191 | #define OPTION_MEMCTLR_ON TRUE |
| 1192 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1193 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1194 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 1195 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 1196 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1197 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1198 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 1199 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 1200 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1201 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING FALSE |
| 1202 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1203 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1204 | #undef OPTION_SW_DRAM_INIT |
| 1205 | #define OPTION_SW_DRAM_INIT TRUE |
| 1206 | #undef OPTION_S3_MEM_SUPPORT |
| 1207 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1208 | #undef OPTION_GFX_RECOVERY |
| 1209 | #define OPTION_GFX_RECOVERY TRUE |
| 1210 | #undef OPTION_C6_STATE |
| 1211 | #define OPTION_C6_STATE TRUE |
| 1212 | #undef OPTION_IO_CSTATE |
| 1213 | #define OPTION_IO_CSTATE TRUE |
| 1214 | #undef OPTION_CPB |
| 1215 | #define OPTION_CPB TRUE |
| 1216 | #undef OPTION_S3SCRIPT |
| 1217 | #define OPTION_S3SCRIPT TRUE |
| 1218 | #undef OPTION_UDIMMS |
| 1219 | #define OPTION_UDIMMS TRUE |
| 1220 | #undef OPTION_SODIMMS |
| 1221 | #define OPTION_SODIMMS TRUE |
| 1222 | #undef OPTION_DDR3 |
| 1223 | #define OPTION_DDR3 TRUE |
| 1224 | #undef OPTION_BANK_INTERLEAVE |
| 1225 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1226 | #undef OPTION_MEM_RESTORE |
| 1227 | #define OPTION_MEM_RESTORE TRUE |
| 1228 | #undef OPTION_DIMM_EXCLUDE |
| 1229 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1230 | #endif |
| 1231 | #endif |
| 1232 | |
| 1233 | |
| 1234 | #if (OPTION_AM3_SOCKET_SUPPORT == TRUE) |
| 1235 | #if (OPTION_FAMILY10H == TRUE) |
| 1236 | #undef OPTION_FAMILY10H_BL |
| 1237 | #define OPTION_FAMILY10H_BL TRUE |
| 1238 | #undef OPTION_FAMILY10H_DA |
| 1239 | #define OPTION_FAMILY10H_DA TRUE |
| 1240 | #undef OPTION_FAMILY10H_PH |
| 1241 | #define OPTION_FAMILY10H_PH TRUE |
| 1242 | #undef OPTION_FAMILY10H_RB |
| 1243 | #define OPTION_FAMILY10H_RB TRUE |
| 1244 | #undef OPTION_MEMCTLR_RB |
| 1245 | #define OPTION_MEMCTLR_RB TRUE |
| 1246 | #undef OPTION_MEMCTLR_DA |
| 1247 | #define OPTION_MEMCTLR_DA TRUE |
| 1248 | #undef OPTION_MEMCTLR_PH |
| 1249 | #define OPTION_MEMCTLR_PH TRUE |
| 1250 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1251 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1252 | #undef OPTION_OPT_SW_DQS_REC_EN_TRAINING |
| 1253 | #define OPTION_OPT_SW_DQS_REC_EN_TRAINING TRUE |
| 1254 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1255 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1256 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1257 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1258 | #undef OPTION_SW_DRAM_INIT |
| 1259 | #define OPTION_SW_DRAM_INIT TRUE |
| 1260 | #undef OPTION_S3_MEM_SUPPORT |
| 1261 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1262 | #undef OPTION_CPU_CORELEVLING |
| 1263 | #define OPTION_CPU_CORELEVLING TRUE |
| 1264 | #undef OPTION_CPU_CFOH |
| 1265 | #define OPTION_CPU_CFOH TRUE |
| 1266 | #undef OPTION_IO_CSTATE |
| 1267 | #define OPTION_IO_CSTATE TRUE |
| 1268 | #undef OPTION_CPB |
| 1269 | #define OPTION_CPB TRUE |
| 1270 | #undef OPTION_UDIMMS |
| 1271 | #define OPTION_UDIMMS TRUE |
| 1272 | #undef OPTION_SODIMMS |
| 1273 | #define OPTION_SODIMMS TRUE |
| 1274 | #undef OPTION_DDR3 |
| 1275 | #define OPTION_DDR3 TRUE |
| 1276 | #undef OPTION_ECC |
| 1277 | #define OPTION_ECC TRUE |
| 1278 | #undef OPTION_BANK_INTERLEAVE |
| 1279 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1280 | #undef OPTION_DCT_INTERLEAVE |
| 1281 | #define OPTION_DCT_INTERLEAVE TRUE |
| 1282 | #undef OPTION_NODE_INTERLEAVE |
| 1283 | #define OPTION_NODE_INTERLEAVE TRUE |
| 1284 | #undef OPTION_PARALLEL_TRAINING |
| 1285 | #define OPTION_PARALLEL_TRAINING TRUE |
| 1286 | #undef OPTION_MEM_RESTORE |
| 1287 | #define OPTION_MEM_RESTORE TRUE |
| 1288 | #undef OPTION_ONLINE_SPARE |
| 1289 | #define OPTION_ONLINE_SPARE TRUE |
| 1290 | #undef OPTION_DIMM_EXCLUDE |
| 1291 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1292 | #endif |
| 1293 | #if (OPTION_FAMILY15H_MODEL_0x == TRUE) |
| 1294 | #undef OPTION_FAMILY15H_OR |
| 1295 | #define OPTION_FAMILY15H_OR TRUE |
| 1296 | #undef OPTION_FAMILY15H_UNKNOWN |
| 1297 | #define OPTION_FAMILY15H_UNKNOWN TRUE |
| 1298 | #undef OPTION_MEMCTLR_OR |
| 1299 | #define OPTION_MEMCTLR_OR TRUE |
| 1300 | #undef OPTION_HW_WRITE_LEV_TRAINING |
| 1301 | #define OPTION_HW_WRITE_LEV_TRAINING TRUE |
| 1302 | #undef OPTION_CONTINOUS_PATTERN_GENERATION |
| 1303 | #define OPTION_CONTINOUS_PATTERN_GENERATION TRUE |
| 1304 | #undef OPTION_HW_DQS_REC_EN_TRAINING |
| 1305 | #define OPTION_HW_DQS_REC_EN_TRAINING TRUE |
| 1306 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1307 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING TRUE |
| 1308 | #undef OPTION_OPT_SW_RD_WR_POS_TRAINING |
| 1309 | #define OPTION_OPT_SW_RD_WR_POS_TRAINING TRUE |
| 1310 | #undef OPTION_MAX_RD_LAT_TRAINING |
| 1311 | #define OPTION_MAX_RD_LAT_TRAINING TRUE |
| 1312 | #undef OPTION_SW_DRAM_INIT |
| 1313 | #define OPTION_SW_DRAM_INIT TRUE |
| 1314 | #undef OPTION_C6_STATE |
| 1315 | #define OPTION_C6_STATE TRUE |
| 1316 | #undef OPTION_IO_CSTATE |
| 1317 | #define OPTION_IO_CSTATE TRUE |
| 1318 | #undef OPTION_CPB |
| 1319 | #define OPTION_CPB TRUE |
| 1320 | #undef OPTION_CPU_APM |
| 1321 | #define OPTION_CPU_APM TRUE |
| 1322 | #undef OPTION_S3_MEM_SUPPORT |
| 1323 | #define OPTION_S3_MEM_SUPPORT TRUE |
| 1324 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 1325 | #define OPTION_ADDR_TO_CS_TRANSLATOR TRUE |
| 1326 | #undef OPTION_ATM_MODE |
| 1327 | #define OPTION_ATM_MODE TRUE |
| 1328 | #undef OPTION_CPU_CORELEVLING |
| 1329 | #define OPTION_CPU_CORELEVLING TRUE |
| 1330 | #undef OPTION_CPU_CFOH |
| 1331 | #define OPTION_CPU_CFOH TRUE |
| 1332 | #undef OPTION_MSG_BASED_C1E |
| 1333 | #define OPTION_MSG_BASED_C1E TRUE |
| 1334 | #undef OPTION_UDIMMS |
| 1335 | #define OPTION_UDIMMS TRUE |
| 1336 | #undef OPTION_RDIMMS |
| 1337 | #define OPTION_RDIMMS TRUE |
| 1338 | #undef OPTION_LRDIMMS |
| 1339 | #define OPTION_LRDIMMS TRUE |
| 1340 | #undef OPTION_SODIMMS |
| 1341 | #define OPTION_SODIMMS TRUE |
| 1342 | #undef OPTION_DDR3 |
| 1343 | #define OPTION_DDR3 TRUE |
| 1344 | #undef OPTION_ECC |
| 1345 | #define OPTION_ECC TRUE |
| 1346 | #undef OPTION_BANK_INTERLEAVE |
| 1347 | #define OPTION_BANK_INTERLEAVE TRUE |
| 1348 | #undef OPTION_DCT_INTERLEAVE |
| 1349 | #define OPTION_DCT_INTERLEAVE TRUE |
| 1350 | #undef OPTION_NODE_INTERLEAVE |
| 1351 | #define OPTION_NODE_INTERLEAVE TRUE |
| 1352 | #undef OPTION_MEM_RESTORE |
| 1353 | #define OPTION_MEM_RESTORE TRUE |
| 1354 | #undef OPTION_ONLINE_SPARE |
| 1355 | #define OPTION_ONLINE_SPARE TRUE |
| 1356 | #undef OPTION_DIMM_EXCLUDE |
| 1357 | #define OPTION_DIMM_EXCLUDE TRUE |
| 1358 | #endif |
| 1359 | #endif |
| 1360 | |
| 1361 | |
| 1362 | |
| 1363 | |
| 1364 | #if (OPTION_FAMILY12H == TRUE) || (OPTION_FAMILY14H == TRUE) || (OPTION_FAMILY15H_TN == TRUE) |
| 1365 | #undef GNB_SUPPORT |
| 1366 | #define GNB_SUPPORT TRUE |
| 1367 | #endif |
| 1368 | |
| 1369 | #define OPTION_ACPI_PSTATES TRUE |
| 1370 | #define OPTION_WHEA TRUE |
| 1371 | #define OPTION_DMI TRUE |
| 1372 | #define OPTION_EARLY_SAMPLES FALSE |
| 1373 | #define CFG_ACPI_PSTATES_PPC TRUE |
| 1374 | #define CFG_ACPI_PSTATES_PCT TRUE |
| 1375 | #define CFG_ACPI_PSTATES_PSD TRUE |
| 1376 | #define CFG_ACPI_PSTATES_PSS TRUE |
| 1377 | #define CFG_ACPI_PSTATES_XPSS TRUE |
| 1378 | #define CFG_ACPI_PSTATE_PSD_INDPX FALSE |
| 1379 | #define CFG_VRM_HIGH_SPEED_ENABLE FALSE |
| 1380 | #define CFG_VRM_NB_HIGH_SPEED_ENABLE FALSE |
| 1381 | #define OPTION_ALIB TRUE |
| 1382 | /*--------------------------------------------------------------------------- |
| 1383 | * Processing the options: Second, process the user's selections |
| 1384 | *--------------------------------------------------------------------------*/ |
| 1385 | #ifdef BLDOPT_REMOVE_DDR3_SUPPORT |
| 1386 | #if BLDOPT_REMOVE_DDR3_SUPPORT == TRUE |
| 1387 | #undef OPTION_DDR3 |
| 1388 | #define OPTION_DDR3 FALSE |
| 1389 | #endif |
| 1390 | #endif |
| 1391 | #ifdef BLDOPT_REMOVE_MULTISOCKET_SUPPORT |
| 1392 | #if BLDOPT_REMOVE_MULTISOCKET_SUPPORT == TRUE |
| 1393 | #undef OPTION_MULTISOCKET |
| 1394 | #define OPTION_MULTISOCKET FALSE |
| 1395 | #endif |
| 1396 | #endif |
| 1397 | #ifdef BLDOPT_REMOVE_ECC_SUPPORT |
| 1398 | #if BLDOPT_REMOVE_ECC_SUPPORT == TRUE |
| 1399 | #undef OPTION_ECC |
| 1400 | #define OPTION_ECC FALSE |
| 1401 | #endif |
| 1402 | #endif |
| 1403 | #ifdef BLDOPT_REMOVE_UDIMMS_SUPPORT |
| 1404 | #if BLDOPT_REMOVE_UDIMMS_SUPPORT == TRUE |
| 1405 | #undef OPTION_UDIMMS |
| 1406 | #define OPTION_UDIMMS FALSE |
| 1407 | #endif |
| 1408 | #endif |
| 1409 | #ifdef BLDOPT_REMOVE_RDIMMS_SUPPORT |
| 1410 | #if BLDOPT_REMOVE_RDIMMS_SUPPORT == TRUE |
| 1411 | #undef OPTION_RDIMMS |
| 1412 | #define OPTION_RDIMMS FALSE |
| 1413 | #endif |
| 1414 | #endif |
| 1415 | #ifdef BLDOPT_REMOVE_SODIMMS_SUPPORT |
| 1416 | #if BLDOPT_REMOVE_SODIMMS_SUPPORT == TRUE |
| 1417 | #undef OPTION_SODIMMS |
| 1418 | #define OPTION_SODIMMS FALSE |
| 1419 | #endif |
| 1420 | #endif |
| 1421 | #ifdef BLDOPT_REMOVE_LRDIMMS_SUPPORT |
| 1422 | #if BLDOPT_REMOVE_LRDIMMS_SUPPORT == TRUE |
| 1423 | #undef OPTION_LRDIMMS |
| 1424 | #define OPTION_LRDIMMS FALSE |
| 1425 | #endif |
| 1426 | #endif |
| 1427 | #ifdef BLDOPT_REMOVE_BANK_INTERLEAVE |
| 1428 | #if BLDOPT_REMOVE_BANK_INTERLEAVE == TRUE |
| 1429 | #undef OPTION_BANK_INTERLEAVE |
| 1430 | #define OPTION_BANK_INTERLEAVE FALSE |
| 1431 | #endif |
| 1432 | #endif |
| 1433 | #ifdef BLDOPT_REMOVE_DCT_INTERLEAVE |
| 1434 | #if BLDOPT_REMOVE_DCT_INTERLEAVE == TRUE |
| 1435 | #undef OPTION_DCT_INTERLEAVE |
| 1436 | #define OPTION_DCT_INTERLEAVE FALSE |
| 1437 | #endif |
| 1438 | #endif |
| 1439 | #ifdef BLDOPT_REMOVE_NODE_INTERLEAVE |
| 1440 | #if BLDOPT_REMOVE_NODE_INTERLEAVE == TRUE |
| 1441 | #undef OPTION_NODE_INTERLEAVE |
| 1442 | #define OPTION_NODE_INTERLEAVE FALSE |
| 1443 | #endif |
| 1444 | #endif |
| 1445 | #ifdef BLDOPT_REMOVE_PARALLEL_TRAINING |
| 1446 | #if BLDOPT_REMOVE_PARALLEL_TRAINING == TRUE |
| 1447 | #undef OPTION_PARALLEL_TRAINING |
| 1448 | #define OPTION_PARALLEL_TRAINING FALSE |
| 1449 | #endif |
| 1450 | #endif |
| 1451 | #ifdef BLDOPT_REMOVE_ONLINE_SPARE_SUPPORT |
| 1452 | #if BLDOPT_REMOVE_ONLINE_SPARE_SUPPORT == TRUE |
| 1453 | #undef OPTION_ONLINE_SPARE |
| 1454 | #define OPTION_ONLINE_SPARE FALSE |
| 1455 | #endif |
| 1456 | #endif |
| 1457 | #ifdef BLDOPT_REMOVE_MEM_RESTORE_SUPPORT |
| 1458 | #if BLDOPT_REMOVE_MEM_RESTORE_SUPPORT == TRUE |
| 1459 | #undef OPTION_MEM_RESTORE |
| 1460 | #define OPTION_MEM_RESTORE FALSE |
| 1461 | #endif |
| 1462 | #endif |
| 1463 | #ifdef BLDOPT_REMOVE_HW_DQS_REC_EN_SEED_TRAINING |
| 1464 | #if BLDOPT_REMOVE_HW_DQS_REC_EN_SEED_TRAINING == TRUE |
| 1465 | #undef OPTION_HW_DQS_REC_EN_SEED_TRAINING |
| 1466 | #define OPTION_HW_DQS_REC_EN_SEED_TRAINING FALSE |
| 1467 | #endif |
| 1468 | #endif |
| 1469 | #ifdef BLDOPT_REMOVE_ACPI_PSTATES |
| 1470 | #if BLDOPT_REMOVE_ACPI_PSTATES == TRUE |
| 1471 | #undef OPTION_ACPI_PSTATES |
| 1472 | #define OPTION_ACPI_PSTATES FALSE |
| 1473 | #endif |
| 1474 | #endif |
| 1475 | #ifdef BLDOPT_REMOVE_SRAT |
| 1476 | #if BLDOPT_REMOVE_SRAT == TRUE |
| 1477 | #undef OPTION_SRAT |
| 1478 | #define OPTION_SRAT FALSE |
| 1479 | #endif |
| 1480 | #endif |
| 1481 | #ifdef BLDOPT_REMOVE_SLIT |
| 1482 | #if BLDOPT_REMOVE_SLIT == TRUE |
| 1483 | #undef OPTION_SLIT |
| 1484 | #define OPTION_SLIT FALSE |
| 1485 | #endif |
| 1486 | #endif |
| 1487 | #ifdef BLDOPT_REMOVE_WHEA |
| 1488 | #if BLDOPT_REMOVE_WHEA == TRUE |
| 1489 | #undef OPTION_WHEA |
| 1490 | #define OPTION_WHEA FALSE |
| 1491 | #endif |
| 1492 | #endif |
| 1493 | #ifdef BLDOPT_REMOVE_DMI |
| 1494 | #if BLDOPT_REMOVE_DMI == TRUE |
| 1495 | #undef OPTION_DMI |
| 1496 | #define OPTION_DMI FALSE |
| 1497 | #endif |
| 1498 | #endif |
| 1499 | #ifdef BLDOPT_REMOVE_ADDR_TO_CS_TRANSLATOR |
| 1500 | #if BLDOPT_REMOVE_ADDR_TO_CS_TRANSLATOR == TRUE |
| 1501 | #undef OPTION_ADDR_TO_CS_TRANSLATOR |
| 1502 | #define OPTION_ADDR_TO_CS_TRANSLATOR FALSE |
| 1503 | #endif |
| 1504 | #endif |
| 1505 | |
| 1506 | #ifdef BLDOPT_REMOVE_HT_ASSIST |
| 1507 | #if BLDOPT_REMOVE_HT_ASSIST == TRUE |
| 1508 | #undef OPTION_HT_ASSIST |
| 1509 | #define OPTION_HT_ASSIST FALSE |
| 1510 | #endif |
| 1511 | #endif |
| 1512 | |
| 1513 | #ifdef BLDOPT_REMOVE_ATM_MODE |
| 1514 | #if BLDOPT_REMOVE_ATM_MODE == TRUE |
| 1515 | #undef OPTION_ATM_MODE |
| 1516 | #define OPTION_ATM_MODE FALSE |
| 1517 | #endif |
| 1518 | #endif |
| 1519 | |
| 1520 | #ifdef BLDOPT_REMOVE_MSG_BASED_C1E |
| 1521 | #if BLDOPT_REMOVE_MSG_BASED_C1E == TRUE |
| 1522 | #undef OPTION_MSG_BASED_C1E |
| 1523 | #define OPTION_MSG_BASED_C1E FALSE |
| 1524 | #endif |
| 1525 | #endif |
| 1526 | |
| 1527 | #ifdef BLDOPT_REMOVE_C6_STATE |
| 1528 | #if BLDOPT_REMOVE_C6_STATE == TRUE |
| 1529 | #undef OPTION_C6_STATE |
| 1530 | #define OPTION_C6_STATE FALSE |
| 1531 | #endif |
| 1532 | #endif |
| 1533 | |
| 1534 | #ifdef BLDOPT_REMOVE_GFX_RECOVERY |
| 1535 | #if BLDOPT_REMOVE_GFX_RECOVERY == TRUE |
| 1536 | #undef OPTION_GFX_RECOVERY |
| 1537 | #define OPTION_GFX_RECOVERY FALSE |
| 1538 | #endif |
| 1539 | #endif |
| 1540 | |
| 1541 | |
| 1542 | #ifdef BLDCFG_REMOVE_ACPI_PSTATES_PPC |
| 1543 | #if BLDCFG_REMOVE_ACPI_PSTATES_PPC == TRUE |
| 1544 | #undef CFG_ACPI_PSTATES_PPC |
| 1545 | #define CFG_ACPI_PSTATES_PPC FALSE |
| 1546 | #endif |
| 1547 | #endif |
| 1548 | |
| 1549 | #ifdef BLDCFG_REMOVE_ACPI_PSTATES_PCT |
| 1550 | #if BLDCFG_REMOVE_ACPI_PSTATES_PCT == TRUE |
| 1551 | #undef CFG_ACPI_PSTATES_PCT |
| 1552 | #define CFG_ACPI_PSTATES_PCT FALSE |
| 1553 | #endif |
| 1554 | #endif |
| 1555 | |
| 1556 | #ifdef BLDCFG_REMOVE_ACPI_PSTATES_PSD |
| 1557 | #if BLDCFG_REMOVE_ACPI_PSTATES_PSD == TRUE |
| 1558 | #undef CFG_ACPI_PSTATES_PSD |
| 1559 | #define CFG_ACPI_PSTATES_PSD FALSE |
| 1560 | #endif |
| 1561 | #endif |
| 1562 | |
| 1563 | #ifdef BLDCFG_REMOVE_ACPI_PSTATES_PSS |
| 1564 | #if BLDCFG_REMOVE_ACPI_PSTATES_PSS == TRUE |
| 1565 | #undef CFG_ACPI_PSTATES_PSS |
| 1566 | #define CFG_ACPI_PSTATES_PSS FALSE |
| 1567 | #endif |
| 1568 | #endif |
| 1569 | |
| 1570 | #ifdef BLDCFG_REMOVE_ACPI_PSTATES_XPSS |
| 1571 | #if BLDCFG_REMOVE_ACPI_PSTATES_XPSS == TRUE |
| 1572 | #undef CFG_ACPI_PSTATES_XPSS |
| 1573 | #define CFG_ACPI_PSTATES_XPSS FALSE |
| 1574 | #endif |
| 1575 | #endif |
| 1576 | |
| 1577 | #ifdef BLDOPT_REMOVE_LOW_POWER_STATE_FOR_PROCHOT |
| 1578 | #if BLDOPT_REMOVE_LOW_POWER_STATE_FOR_PROCHOT == TRUE |
| 1579 | #undef OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT |
| 1580 | #define OPTION_CPU_LOW_PWR_PSTATE_FOR_PROCHOT FALSE |
| 1581 | #endif |
| 1582 | #endif |
| 1583 | |
| 1584 | #ifdef BLDCFG_PSTATE_HPC_MODE |
| 1585 | #if BLDCFG_PSTATE_HPC_MODE == TRUE |
| 1586 | #undef OPTION_CPU_PSTATE_HPC_MODE |
| 1587 | #define OPTION_CPU_PSTATE_HPC_MODE TRUE |
| 1588 | #endif |
| 1589 | #endif |
| 1590 | |
| 1591 | #ifdef BLDCFG_FORCE_INDEPENDENT_PSD_OBJECT |
| 1592 | #if BLDCFG_FORCE_INDEPENDENT_PSD_OBJECT == TRUE |
| 1593 | #undef CFG_ACPI_PSTATE_PSD_INDPX |
| 1594 | #define CFG_ACPI_PSTATE_PSD_INDPX TRUE |
| 1595 | #endif |
| 1596 | #endif |
| 1597 | |
| 1598 | #ifdef BLDCFG_VRM_HIGH_SPEED_ENABLE |
| 1599 | #if BLDCFG_VRM_HIGH_SPEED_ENABLE == TRUE |
| 1600 | #undef CFG_VRM_HIGH_SPEED_ENABLE |
| 1601 | #define CFG_VRM_HIGH_SPEED_ENABLE TRUE |
| 1602 | #endif |
| 1603 | #endif |
| 1604 | |
| 1605 | #ifdef BLDCFG_VRM_NB_HIGH_SPEED_ENABLE |
| 1606 | #if BLDCFG_VRM_NB_HIGH_SPEED_ENABLE == TRUE |
| 1607 | #undef CFG_VRM_NB_HIGH_SPEED_ENABLE |
| 1608 | #define CFG_VRM_NB_HIGH_SPEED_ENABLE TRUE |
| 1609 | #endif |
| 1610 | #endif |
| 1611 | |
| 1612 | #ifdef BLDCFG_STARTING_BUSNUM |
| 1613 | #define CFG_STARTING_BUSNUM (BLDCFG_STARTING_BUSNUM) |
| 1614 | #else |
| 1615 | #define CFG_STARTING_BUSNUM (0) |
| 1616 | #endif |
| 1617 | |
| 1618 | #ifdef BLDCFG_AMD_PLATFORM_TYPE |
| 1619 | #define CFG_AMD_PLATFORM_TYPE BLDCFG_AMD_PLATFORM_TYPE |
| 1620 | #else |
| 1621 | #define CFG_AMD_PLATFORM_TYPE 0 |
| 1622 | #endif |
| 1623 | |
| 1624 | CONST UINT32 ROMDATA AmdPlatformTypeCgf = CFG_AMD_PLATFORM_TYPE; |
| 1625 | |
| 1626 | #ifdef BLDCFG_MAXIMUM_BUSNUM |
| 1627 | #define CFG_MAXIMUM_BUSNUM (BLDCFG_MAXIMUM_BUSNUM) |
| 1628 | #else |
| 1629 | #define CFG_MAXIMUM_BUSNUM (0xF8) |
| 1630 | #endif |
| 1631 | |
| 1632 | #ifdef BLDCFG_ALLOCATED_BUSNUM |
| 1633 | #define CFG_ALLOCATED_BUSNUM (BLDCFG_ALLOCATED_BUSNUM) |
| 1634 | #else |
| 1635 | #define CFG_ALLOCATED_BUSNUM (0x20) |
| 1636 | #endif |
| 1637 | |
| 1638 | #ifdef BLDCFG_BUID_SWAP_LIST |
| 1639 | #define CFG_BUID_SWAP_LIST (BLDCFG_BUID_SWAP_LIST) |
| 1640 | #else |
| 1641 | #define CFG_BUID_SWAP_LIST (NULL) |
| 1642 | #endif |
| 1643 | |
| 1644 | #ifdef BLDCFG_HTDEVICE_CAPABILITIES_OVERRIDE_LIST |
| 1645 | #define CFG_HTDEVICE_CAPABILITIES_OVERRIDE_LIST (BLDCFG_HTDEVICE_CAPABILITIES_OVERRIDE_LIST) |
| 1646 | #else |
| 1647 | #define CFG_HTDEVICE_CAPABILITIES_OVERRIDE_LIST (NULL) |
| 1648 | #endif |
| 1649 | |
| 1650 | #ifdef BLDCFG_HTFABRIC_LIMITS_LIST |
| 1651 | #define CFG_HTFABRIC_LIMITS_LIST (BLDCFG_HTFABRIC_LIMITS_LIST) |
| 1652 | #else |
| 1653 | #define CFG_HTFABRIC_LIMITS_LIST (NULL) |
| 1654 | #endif |
| 1655 | |
| 1656 | #ifdef BLDCFG_HTCHAIN_LIMITS_LIST |
| 1657 | #define CFG_HTCHAIN_LIMITS_LIST (BLDCFG_HTCHAIN_LIMITS_LIST) |
| 1658 | #else |
| 1659 | #define CFG_HTCHAIN_LIMITS_LIST (NULL) |
| 1660 | #endif |
| 1661 | |
| 1662 | #ifdef BLDCFG_BUS_NUMBERS_LIST |
| 1663 | #define CFG_BUS_NUMBERS_LIST (BLDCFG_BUS_NUMBERS_LIST) |
| 1664 | #else |
| 1665 | #define CFG_BUS_NUMBERS_LIST (NULL) |
| 1666 | #endif |
| 1667 | |
| 1668 | #ifdef BLDCFG_IGNORE_LINK_LIST |
| 1669 | #define CFG_IGNORE_LINK_LIST (BLDCFG_IGNORE_LINK_LIST) |
| 1670 | #else |
| 1671 | #define CFG_IGNORE_LINK_LIST (NULL) |
| 1672 | #endif |
| 1673 | |
| 1674 | #ifdef BLDCFG_LINK_SKIP_REGANG_LIST |
| 1675 | #define CFG_LINK_SKIP_REGANG_LIST (BLDCFG_LINK_SKIP_REGANG_LIST) |
| 1676 | #else |
| 1677 | #define CFG_LINK_SKIP_REGANG_LIST (NULL) |
| 1678 | #endif |
| 1679 | |
| 1680 | #ifdef BLDCFG_SET_HTCRC_SYNC_FLOOD |
| 1681 | #define CFG_SET_HTCRC_SYNC_FLOOD (BLDCFG_SET_HTCRC_SYNC_FLOOD) |
| 1682 | #else |
| 1683 | #define CFG_SET_HTCRC_SYNC_FLOOD (FALSE) |
| 1684 | #endif |
| 1685 | |
| 1686 | #ifdef BLDCFG_USE_UNIT_ID_CLUMPING |
| 1687 | #define CFG_USE_UNIT_ID_CLUMPING (BLDCFG_USE_UNIT_ID_CLUMPING) |
| 1688 | #else |
| 1689 | #define CFG_USE_UNIT_ID_CLUMPING (FALSE) |
| 1690 | #endif |
| 1691 | |
| 1692 | #ifdef BLDCFG_ADDITIONAL_TOPOLOGIES_LIST |
| 1693 | #define CFG_ADDITIONAL_TOPOLOGIES_LIST (BLDCFG_ADDITIONAL_TOPOLOGIES_LIST) |
| 1694 | #else |
| 1695 | #define CFG_ADDITIONAL_TOPOLOGIES_LIST (NULL) |
| 1696 | #endif |
| 1697 | |
| 1698 | #ifdef BLDCFG_USE_HT_ASSIST |
| 1699 | #define CFG_USE_HT_ASSIST (BLDCFG_USE_HT_ASSIST) |
| 1700 | #else |
| 1701 | #define CFG_USE_HT_ASSIST (TRUE) |
| 1702 | #endif |
| 1703 | |
| 1704 | #ifdef BLDCFG_USE_ATM_MODE |
| 1705 | #define CFG_USE_ATM_MODE (BLDCFG_USE_ATM_MODE) |
| 1706 | #else |
| 1707 | #define CFG_USE_ATM_MODE (TRUE) |
| 1708 | #endif |
| 1709 | |
| 1710 | #ifdef BLDCFG_PLATFORM_CONTROL_FLOW_MODE |
| 1711 | #define CFG_PLATFORM_CONTROL_FLOW_MODE (BLDCFG_PLATFORM_CONTROL_FLOW_MODE) |
| 1712 | #else |
| 1713 | #define CFG_PLATFORM_CONTROL_FLOW_MODE (Nfcm) |
| 1714 | #endif |
| 1715 | |
| 1716 | #ifdef BLDCFG_PERFORMANCE_HARDWARE_PREFETCHER |
| 1717 | #define CFG_PERFORMANCE_HARDWARE_PREFETCHER (BLDCFG_PERFORMANCE_HARDWARE_PREFETCHER) |
| 1718 | #else |
| 1719 | #define CFG_PERFORMANCE_HARDWARE_PREFETCHER (HARDWARE_PREFETCHER_AUTO) |
| 1720 | #endif |
| 1721 | |
| 1722 | #ifdef BLDCFG_PERFORMANCE_SOFTWARE_PREFETCHES |
| 1723 | #define CFG_PERFORMANCE_SOFTWARE_PREFETCHES (BLDCFG_PERFORMANCE_SOFTWARE_PREFETCHES) |
| 1724 | #else |
| 1725 | #define CFG_PERFORMANCE_SOFTWARE_PREFETCHES (SOFTWARE_PREFETCHES_AUTO) |
| 1726 | #endif |
| 1727 | |
| 1728 | #ifdef BLDCFG_PERFORMANCE_DRAM_PREFETCHER |
| 1729 | #define CFG_PERFORMANCE_DRAM_PREFETCHER (BLDCFG_PERFORMANCE_DRAM_PREFETCHER) |
| 1730 | #else |
| 1731 | #define CFG_PERFORMANCE_DRAM_PREFETCHER (DRAM_PREFETCHER_AUTO) |
| 1732 | #endif |
| 1733 | |
| 1734 | #ifdef BLDCFG_PLATFORM_DEEMPHASIS_LIST |
| 1735 | #define CFG_PLATFORM_DEEMPHASIS_LIST (BLDCFG_PLATFORM_DEEMPHASIS_LIST) |
| 1736 | #else |
| 1737 | #define CFG_PLATFORM_DEEMPHASIS_LIST (NULL) |
| 1738 | #endif |
| 1739 | |
| 1740 | #ifdef BLDCFG_VRM_ADDITIONAL_DELAY |
| 1741 | #define CFG_VRM_ADDITIONAL_DELAY (BLDCFG_VRM_ADDITIONAL_DELAY) |
| 1742 | #else |
| 1743 | #define CFG_VRM_ADDITIONAL_DELAY (0) |
| 1744 | #endif |
| 1745 | |
| 1746 | #ifdef BLDCFG_VRM_CURRENT_LIMIT |
| 1747 | #define CFG_VRM_CURRENT_LIMIT BLDCFG_VRM_CURRENT_LIMIT |
| 1748 | #else |
| 1749 | #define CFG_VRM_CURRENT_LIMIT 0 |
| 1750 | #endif |
| 1751 | |
| 1752 | #ifdef BLDCFG_VRM_LOW_POWER_THRESHOLD |
| 1753 | #define CFG_VRM_LOW_POWER_THRESHOLD BLDCFG_VRM_LOW_POWER_THRESHOLD |
| 1754 | #else |
| 1755 | #define CFG_VRM_LOW_POWER_THRESHOLD 0 |
| 1756 | #endif |
| 1757 | |
| 1758 | #ifdef BLDCFG_VRM_SLEW_RATE |
| 1759 | #define CFG_VRM_SLEW_RATE BLDCFG_VRM_SLEW_RATE |
| 1760 | #else |
| 1761 | #define CFG_VRM_SLEW_RATE DFLT_VRM_SLEW_RATE |
| 1762 | #endif |
| 1763 | |
| 1764 | #ifdef BLDCFG_VRM_MAXIMUM_CURRENT_LIMIT |
| 1765 | #ifdef BLDCFG_VRM_INRUSH_CURRENT_LIMIT |
| 1766 | #error BLDCFG: BLDCFG_VRM_MAXIMUM_CURRENT_LIMIT is defined. Deprecated BLDCFG_VRM_INRUSH_CURRENT_LIMIT should not be defined. |
| 1767 | #endif |
| 1768 | #define CFG_VRM_MAXIMUM_CURRENT_LIMIT BLDCFG_VRM_MAXIMUM_CURRENT_LIMIT |
| 1769 | #else |
| 1770 | #ifdef BLDCFG_VRM_INRUSH_CURRENT_LIMIT |
| 1771 | #define CFG_VRM_MAXIMUM_CURRENT_LIMIT BLDCFG_VRM_INRUSH_CURRENT_LIMIT |
| 1772 | #else |
| 1773 | #define CFG_VRM_MAXIMUM_CURRENT_LIMIT (0) |
| 1774 | #endif |
| 1775 | #endif |
| 1776 | |
| 1777 | #ifdef BLDCFG_VRM_NB_MAXIMUM_CURRENT_LIMIT |
| 1778 | #ifdef BLDCFG_VRM_NB_INRUSH_CURRENT_LIMIT |
| 1779 | #error BLDCFG: BLDCFG_VRM_NB_MAXIMUM_CURRENT_LIMIT is defined. Deprecated BLDCFG_VRM_NB_INRUSH_CURRENT_LIMIT should not be defined. |
| 1780 | #endif |
| 1781 | #define CFG_VRM_NB_MAXIMUM_CURRENT_LIMIT BLDCFG_VRM_NB_MAXIMUM_CURRENT_LIMIT |
| 1782 | #else |
| 1783 | #ifdef BLDCFG_VRM_NB_INRUSH_CURRENT_LIMIT |
| 1784 | #define CFG_VRM_NB_MAXIMUM_CURRENT_LIMIT BLDCFG_VRM_NB_INRUSH_CURRENT_LIMIT |
| 1785 | #else |
| 1786 | #define CFG_VRM_NB_MAXIMUM_CURRENT_LIMIT (0) |
| 1787 | #endif |
| 1788 | #endif |
| 1789 | |
| 1790 | #ifdef BLDCFG_VRM_SVI_OCP_LEVEL |
| 1791 | #define CFG_VRM_SVI_OCP_LEVEL BLDCFG_VRM_SVI_OCP_LEVEL |
| 1792 | #else |
| 1793 | #define CFG_VRM_SVI_OCP_LEVEL 0 |
| 1794 | #endif |
| 1795 | |
| 1796 | #ifdef BLDCFG_VRM_NB_SVI_OCP_LEVEL |
| 1797 | #define CFG_VRM_NB_SVI_OCP_LEVEL BLDCFG_VRM_NB_SVI_OCP_LEVEL |
| 1798 | #else |
| 1799 | #define CFG_VRM_NB_SVI_OCP_LEVEL 0 |
| 1800 | #endif |
| 1801 | |
| 1802 | #ifdef BLDCFG_VRM_NB_ADDITIONAL_DELAY |
| 1803 | #define CFG_VRM_NB_ADDITIONAL_DELAY (BLDCFG_VRM_NB_ADDITIONAL_DELAY) |
| 1804 | #else |
| 1805 | #define CFG_VRM_NB_ADDITIONAL_DELAY (0) |
| 1806 | #endif |
| 1807 | |
| 1808 | #ifdef BLDCFG_VRM_NB_CURRENT_LIMIT |
| 1809 | #define CFG_VRM_NB_CURRENT_LIMIT BLDCFG_VRM_NB_CURRENT_LIMIT |
| 1810 | #else |
| 1811 | #define CFG_VRM_NB_CURRENT_LIMIT (0) |
| 1812 | #endif |
| 1813 | |
| 1814 | #ifdef BLDCFG_VRM_NB_LOW_POWER_THRESHOLD |
| 1815 | #define CFG_VRM_NB_LOW_POWER_THRESHOLD BLDCFG_VRM_NB_LOW_POWER_THRESHOLD |
| 1816 | #else |
| 1817 | #define CFG_VRM_NB_LOW_POWER_THRESHOLD (0) |
| 1818 | #endif |
| 1819 | |
| 1820 | #ifdef BLDCFG_VRM_NB_SLEW_RATE |
| 1821 | #define CFG_VRM_NB_SLEW_RATE BLDCFG_VRM_NB_SLEW_RATE |
| 1822 | #else |
| 1823 | #define CFG_VRM_NB_SLEW_RATE DFLT_VRM_SLEW_RATE |
| 1824 | #endif |
| 1825 | |
| 1826 | #ifdef BLDCFG_PLAT_NUM_IO_APICS |
| 1827 | #define CFG_PLAT_NUM_IO_APICS BLDCFG_PLAT_NUM_IO_APICS |
| 1828 | #else |
| 1829 | #define CFG_PLAT_NUM_IO_APICS 0 |
| 1830 | #endif |
| 1831 | |
| 1832 | #ifdef BLDCFG_MEM_INIT_PSTATE |
| 1833 | #define CFG_MEM_INIT_PSTATE BLDCFG_MEM_INIT_PSTATE |
| 1834 | #else |
| 1835 | #define CFG_MEM_INIT_PSTATE 0 |
| 1836 | #endif |
| 1837 | |
| 1838 | #ifdef BLDCFG_PLATFORM_C1E_MODE |
| 1839 | #define CFG_C1E_MODE BLDCFG_PLATFORM_C1E_MODE |
| 1840 | #else |
| 1841 | #define CFG_C1E_MODE C1eModeDisabled |
| 1842 | #endif |
| 1843 | |
| 1844 | #ifdef BLDCFG_PLATFORM_C1E_OPDATA |
| 1845 | #define CFG_C1E_OPDATA BLDCFG_PLATFORM_C1E_OPDATA |
| 1846 | #else |
| 1847 | #define CFG_C1E_OPDATA 0 |
| 1848 | #endif |
| 1849 | |
| 1850 | #ifdef BLDCFG_PLATFORM_C1E_OPDATA1 |
| 1851 | #define CFG_C1E_OPDATA1 BLDCFG_PLATFORM_C1E_OPDATA1 |
| 1852 | #else |
| 1853 | #define CFG_C1E_OPDATA1 0 |
| 1854 | #endif |
| 1855 | |
| 1856 | #ifdef BLDCFG_PLATFORM_C1E_OPDATA2 |
| 1857 | #define CFG_C1E_OPDATA2 BLDCFG_PLATFORM_C1E_OPDATA2 |
| 1858 | #else |
| 1859 | #define CFG_C1E_OPDATA2 0 |
| 1860 | #endif |
| 1861 | |
| 1862 | #ifdef BLDCFG_PLATFORM_C1E_OPDATA3 |
| 1863 | #define CFG_C1E_OPDATA3 BLDCFG_PLATFORM_C1E_OPDATA3 |
| 1864 | #else |
| 1865 | #define CFG_C1E_OPDATA3 0 |
| 1866 | #endif |
| 1867 | |
| 1868 | #ifdef BLDCFG_PLATFORM_CSTATE_MODE |
| 1869 | #define CFG_CSTATE_MODE BLDCFG_PLATFORM_CSTATE_MODE |
| 1870 | #else |
| 1871 | #define CFG_CSTATE_MODE CStateModeC6 |
| 1872 | #endif |
| 1873 | |
| 1874 | #ifdef BLDCFG_PLATFORM_CSTATE_OPDATA |
| 1875 | #define CFG_CSTATE_OPDATA BLDCFG_PLATFORM_CSTATE_OPDATA |
| 1876 | #else |
| 1877 | #define CFG_CSTATE_OPDATA 0 |
| 1878 | #endif |
| 1879 | |
| 1880 | #ifdef BLDCFG_PLATFORM_CSTATE_IO_BASE_ADDRESS |
| 1881 | #define CFG_CSTATE_IO_BASE_ADDRESS BLDCFG_PLATFORM_CSTATE_IO_BASE_ADDRESS |
| 1882 | #else |
| 1883 | #define CFG_CSTATE_IO_BASE_ADDRESS 0 |
| 1884 | #endif |
| 1885 | |
| 1886 | #ifdef BLDCFG_PLATFORM_CPB_MODE |
| 1887 | #define CFG_CPB_MODE BLDCFG_PLATFORM_CPB_MODE |
| 1888 | #else |
| 1889 | #define CFG_CPB_MODE CpbModeAuto |
| 1890 | #endif |
| 1891 | |
| 1892 | #ifdef BLDCFG_CORE_LEVELING_MODE |
| 1893 | #define CFG_CORE_LEVELING_MODE BLDCFG_CORE_LEVELING_MODE |
| 1894 | #else |
| 1895 | #define CFG_CORE_LEVELING_MODE 0 |
| 1896 | #endif |
| 1897 | |
| 1898 | #ifdef BLDCFG_AMD_PSTATE_CAP_VALUE |
| 1899 | #define CFG_AMD_PSTATE_CAP_VALUE BLDCFG_AMD_PSTATE_CAP_VALUE |
| 1900 | #else |
| 1901 | #define CFG_AMD_PSTATE_CAP_VALUE 0 |
| 1902 | #endif |
| 1903 | |
| 1904 | #ifdef BLDCFG_HEAP_DRAM_ADDRESS |
| 1905 | #define CFG_HEAP_DRAM_ADDRESS BLDCFG_HEAP_DRAM_ADDRESS |
| 1906 | #else |
| 1907 | #define CFG_HEAP_DRAM_ADDRESS AMD_HEAP_RAM_ADDRESS |
| 1908 | #endif |
| 1909 | |
| 1910 | #ifdef BLDCFG_MEMORY_BUS_FREQUENCY_LIMIT |
| 1911 | #define CFG_MEMORY_BUS_FREQUENCY_LIMIT BLDCFG_MEMORY_BUS_FREQUENCY_LIMIT |
| 1912 | #else |
| 1913 | #define CFG_MEMORY_BUS_FREQUENCY_LIMIT DDR800_FREQUENCY |
| 1914 | #endif |
| 1915 | |
| 1916 | #ifdef BLDCFG_MEMORY_MODE_UNGANGED |
| 1917 | #define CFG_MEMORY_MODE_UNGANGED BLDCFG_MEMORY_MODE_UNGANGED |
| 1918 | #else |
| 1919 | #define CFG_MEMORY_MODE_UNGANGED TRUE |
| 1920 | #endif |
| 1921 | |
| 1922 | #ifdef BLDCFG_MEMORY_QUAD_RANK_CAPABLE |
| 1923 | #define CFG_MEMORY_QUAD_RANK_CAPABLE BLDCFG_MEMORY_QUAD_RANK_CAPABLE |
| 1924 | #else |
| 1925 | #define CFG_MEMORY_QUAD_RANK_CAPABLE TRUE |
| 1926 | #endif |
| 1927 | |
| 1928 | #ifdef BLDCFG_MEMORY_QUADRANK_TYPE |
| 1929 | #define CFG_MEMORY_QUADRANK_TYPE BLDCFG_MEMORY_QUADRANK_TYPE |
| 1930 | #else |
| 1931 | #define CFG_MEMORY_QUADRANK_TYPE DFLT_MEMORY_QUADRANK_TYPE |
| 1932 | #endif |
| 1933 | |
| 1934 | #ifdef BLDCFG_MEMORY_RDIMM_CAPABLE |
| 1935 | #define CFG_MEMORY_RDIMM_CAPABLE BLDCFG_MEMORY_RDIMM_CAPABLE |
| 1936 | #else |
| 1937 | #define CFG_MEMORY_RDIMM_CAPABLE TRUE |
| 1938 | #endif |
| 1939 | |
| 1940 | #ifdef BLDCFG_MEMORY_LRDIMM_CAPABLE |
| 1941 | #define CFG_MEMORY_LRDIMM_CAPABLE BLDCFG_MEMORY_LRDIMM_CAPABLE |
| 1942 | #else |
| 1943 | #define CFG_MEMORY_LRDIMM_CAPABLE TRUE |
| 1944 | #endif |
| 1945 | |
| 1946 | #ifdef BLDCFG_MEMORY_UDIMM_CAPABLE |
| 1947 | #define CFG_MEMORY_UDIMM_CAPABLE BLDCFG_MEMORY_UDIMM_CAPABLE |
| 1948 | #else |
| 1949 | #define CFG_MEMORY_UDIMM_CAPABLE TRUE |
| 1950 | #endif |
| 1951 | |
| 1952 | #ifdef BLDCFG_MEMORY_SODIMM_CAPABLE |
| 1953 | #define CFG_MEMORY_SODIMM_CAPABLE BLDCFG_MEMORY_SODIMM_CAPABLE |
| 1954 | #else |
| 1955 | #define CFG_MEMORY_SODIMM_CAPABLE FALSE |
| 1956 | #endif |
| 1957 | |
| 1958 | #ifdef BLDCFG_LIMIT_MEMORY_TO_BELOW_1TB |
| 1959 | #define CFG_LIMIT_MEMORY_TO_BELOW_1TB BLDCFG_LIMIT_MEMORY_TO_BELOW_1TB |
| 1960 | #else |
| 1961 | #define CFG_LIMIT_MEMORY_TO_BELOW_1TB TRUE |
| 1962 | #endif |
| 1963 | |
| 1964 | #ifdef BLDCFG_MEMORY_ENABLE_BANK_INTERLEAVING |
| 1965 | #define CFG_MEMORY_ENABLE_BANK_INTERLEAVING BLDCFG_MEMORY_ENABLE_BANK_INTERLEAVING |
| 1966 | #else |
| 1967 | #define CFG_MEMORY_ENABLE_BANK_INTERLEAVING TRUE |
| 1968 | #endif |
| 1969 | |
| 1970 | #ifdef BLDCFG_MEMORY_ENABLE_NODE_INTERLEAVING |
| 1971 | #define CFG_MEMORY_ENABLE_NODE_INTERLEAVING BLDCFG_MEMORY_ENABLE_NODE_INTERLEAVING |
| 1972 | #else |
| 1973 | #define CFG_MEMORY_ENABLE_NODE_INTERLEAVING FALSE |
| 1974 | #endif |
| 1975 | |
| 1976 | #ifdef BLDCFG_MEMORY_CHANNEL_INTERLEAVING |
| 1977 | #define CFG_MEMORY_CHANNEL_INTERLEAVING BLDCFG_MEMORY_CHANNEL_INTERLEAVING |
| 1978 | #else |
| 1979 | #define CFG_MEMORY_CHANNEL_INTERLEAVING TRUE |
| 1980 | #endif |
| 1981 | |
| 1982 | #ifdef BLDCFG_MEMORY_POWER_DOWN |
| 1983 | #define CFG_MEMORY_POWER_DOWN BLDCFG_MEMORY_POWER_DOWN |
| 1984 | #else |
| 1985 | #define CFG_MEMORY_POWER_DOWN FALSE |
| 1986 | #endif |
| 1987 | |
| 1988 | #ifdef BLDCFG_POWER_DOWN_MODE |
| 1989 | #define CFG_POWER_DOWN_MODE BLDCFG_POWER_DOWN_MODE |
| 1990 | #else |
| 1991 | #define CFG_POWER_DOWN_MODE POWER_DOWN_MODE_AUTO |
| 1992 | #endif |
| 1993 | |
| 1994 | #ifdef BLDCFG_ONLINE_SPARE |
| 1995 | #define CFG_ONLINE_SPARE BLDCFG_ONLINE_SPARE |
| 1996 | #else |
| 1997 | #define CFG_ONLINE_SPARE FALSE |
| 1998 | #endif |
| 1999 | |
| 2000 | #ifdef BLDCFG_MEMORY_PARITY_ENABLE |
| 2001 | #define CFG_MEMORY_PARITY_ENABLE BLDCFG_MEMORY_PARITY_ENABLE |
| 2002 | #else |
| 2003 | #define CFG_MEMORY_PARITY_ENABLE FALSE |
| 2004 | #endif |
| 2005 | |
| 2006 | #ifdef BLDCFG_BANK_SWIZZLE |
| 2007 | #define CFG_BANK_SWIZZLE BLDCFG_BANK_SWIZZLE |
| 2008 | #else |
| 2009 | #define CFG_BANK_SWIZZLE TRUE |
| 2010 | #endif |
| 2011 | |
| 2012 | #ifdef BLDCFG_TIMING_MODE_SELECT |
| 2013 | #define CFG_TIMING_MODE_SELECT BLDCFG_TIMING_MODE_SELECT |
| 2014 | #else |
| 2015 | #define CFG_TIMING_MODE_SELECT TIMING_MODE_AUTO |
| 2016 | #endif |
| 2017 | |
| 2018 | #ifdef BLDCFG_MEMORY_CLOCK_SELECT |
| 2019 | #define CFG_MEMORY_CLOCK_SELECT BLDCFG_MEMORY_CLOCK_SELECT |
| 2020 | #else |
| 2021 | #define CFG_MEMORY_CLOCK_SELECT DDR800_FREQUENCY |
| 2022 | #endif |
| 2023 | |
| 2024 | #ifdef BLDCFG_DQS_TRAINING_CONTROL |
| 2025 | #define CFG_DQS_TRAINING_CONTROL BLDCFG_DQS_TRAINING_CONTROL |
| 2026 | #else |
| 2027 | #define CFG_DQS_TRAINING_CONTROL TRUE |
| 2028 | #endif |
| 2029 | |
| 2030 | #ifdef BLDCFG_IGNORE_SPD_CHECKSUM |
| 2031 | #define CFG_IGNORE_SPD_CHECKSUM BLDCFG_IGNORE_SPD_CHECKSUM |
| 2032 | #else |
| 2033 | #define CFG_IGNORE_SPD_CHECKSUM FALSE |
| 2034 | #endif |
| 2035 | |
| 2036 | #ifdef BLDCFG_USE_BURST_MODE |
| 2037 | #define CFG_USE_BURST_MODE BLDCFG_USE_BURST_MODE |
| 2038 | #else |
| 2039 | #define CFG_USE_BURST_MODE FALSE |
| 2040 | #endif |
| 2041 | |
| 2042 | #ifdef BLDCFG_MEMORY_ALL_CLOCKS_ON |
| 2043 | #define CFG_MEMORY_ALL_CLOCKS_ON BLDCFG_MEMORY_ALL_CLOCKS_ON |
| 2044 | #else |
| 2045 | #define CFG_MEMORY_ALL_CLOCKS_ON FALSE |
| 2046 | #endif |
| 2047 | |
| 2048 | #ifdef BLDCFG_ENABLE_ECC_FEATURE |
| 2049 | #define CFG_ENABLE_ECC_FEATURE BLDCFG_ENABLE_ECC_FEATURE |
| 2050 | #else |
| 2051 | #define CFG_ENABLE_ECC_FEATURE TRUE |
| 2052 | #endif |
| 2053 | |
| 2054 | #ifdef BLDCFG_ECC_REDIRECTION |
| 2055 | #define CFG_ECC_REDIRECTION BLDCFG_ECC_REDIRECTION |
| 2056 | #else |
| 2057 | #define CFG_ECC_REDIRECTION FALSE |
| 2058 | #endif |
| 2059 | |
| 2060 | #ifdef BLDCFG_SCRUB_DRAM_RATE |
| 2061 | #define CFG_SCRUB_DRAM_RATE BLDCFG_SCRUB_DRAM_RATE |
| 2062 | #else |
| 2063 | #define CFG_SCRUB_DRAM_RATE DFLT_SCRUB_DRAM_RATE |
| 2064 | #endif |
| 2065 | |
| 2066 | #ifdef BLDCFG_SCRUB_L2_RATE |
| 2067 | #define CFG_SCRUB_L2_RATE BLDCFG_SCRUB_L2_RATE |
| 2068 | #else |
| 2069 | #define CFG_SCRUB_L2_RATE DFLT_SCRUB_L2_RATE |
| 2070 | #endif |
| 2071 | |
| 2072 | #ifdef BLDCFG_SCRUB_L3_RATE |
| 2073 | #define CFG_SCRUB_L3_RATE BLDCFG_SCRUB_L3_RATE |
| 2074 | #else |
| 2075 | #define CFG_SCRUB_L3_RATE DFLT_SCRUB_L3_RATE |
| 2076 | #endif |
| 2077 | |
| 2078 | #ifdef BLDCFG_SCRUB_IC_RATE |
| 2079 | #define CFG_SCRUB_IC_RATE BLDCFG_SCRUB_IC_RATE |
| 2080 | #else |
| 2081 | #define CFG_SCRUB_IC_RATE DFLT_SCRUB_IC_RATE |
| 2082 | #endif |
| 2083 | |
| 2084 | #ifdef BLDCFG_SCRUB_DC_RATE |
| 2085 | #define CFG_SCRUB_DC_RATE BLDCFG_SCRUB_DC_RATE |
| 2086 | #else |
| 2087 | #define CFG_SCRUB_DC_RATE DFLT_SCRUB_DC_RATE |
| 2088 | #endif |
| 2089 | |
| 2090 | #ifdef BLDCFG_ECC_SYNC_FLOOD |
| 2091 | #define CFG_ECC_SYNC_FLOOD BLDCFG_ECC_SYNC_FLOOD |
| 2092 | #else |
| 2093 | #define CFG_ECC_SYNC_FLOOD TRUE |
| 2094 | #endif |
| 2095 | |
| 2096 | #ifdef BLDCFG_ECC_SYMBOL_SIZE |
| 2097 | #define CFG_ECC_SYMBOL_SIZE BLDCFG_ECC_SYMBOL_SIZE |
| 2098 | #else |
| 2099 | #define CFG_ECC_SYMBOL_SIZE 0 |
| 2100 | #endif |
| 2101 | |
| 2102 | #ifdef BLDCFG_1GB_ALIGN |
| 2103 | #define CFG_1GB_ALIGN BLDCFG_1GB_ALIGN |
| 2104 | #else |
| 2105 | #define CFG_1GB_ALIGN FALSE |
| 2106 | #endif |
| 2107 | |
| 2108 | #ifdef BLDCFG_UMA_ALLOCATION_MODE |
| 2109 | #define CFG_UMA_MODE BLDCFG_UMA_ALLOCATION_MODE |
| 2110 | #else |
| 2111 | #define CFG_UMA_MODE UMA_AUTO |
| 2112 | #endif |
| 2113 | |
| 2114 | #ifdef BLDCFG_FORCE_TRAINING_MODE |
| 2115 | #define CFG_FORCE_TRAIN_MODE BLDCFG_FORCE_TRAINING_MODE |
| 2116 | #else |
| 2117 | #define CFG_FORCE_TRAIN_MODE FORCE_TRAIN_AUTO |
| 2118 | #endif |
| 2119 | |
| 2120 | #ifdef BLDCFG_UMA_ALLOCATION_SIZE |
| 2121 | #define CFG_UMA_SIZE BLDCFG_UMA_ALLOCATION_SIZE |
| 2122 | #else |
| 2123 | #define CFG_UMA_SIZE 0 |
| 2124 | #endif |
| 2125 | |
| 2126 | #ifdef BLDCFG_UMA_ABOVE4G_SUPPORT |
| 2127 | #define CFG_UMA_ABOVE4G BLDCFG_UMA_ABOVE4G_SUPPORT |
| 2128 | #else |
| 2129 | #define CFG_UMA_ABOVE4G FALSE |
| 2130 | #endif |
| 2131 | |
| 2132 | #ifdef BLDCFG_UMA_ALIGNMENT |
| 2133 | #define CFG_UMA_ALIGNMENT BLDCFG_UMA_ALIGNMENT |
| 2134 | #else |
| 2135 | #define CFG_UMA_ALIGNMENT NO_UMA_ALIGNED |
| 2136 | #endif |
| 2137 | |
| 2138 | #ifdef BLDCFG_PROCESSOR_SCOPE_IN_SB |
| 2139 | #define CFG_PROCESSOR_SCOPE_IN_SB BLDCFG_PROCESSOR_SCOPE_IN_SB |
| 2140 | #else |
| 2141 | #define CFG_PROCESSOR_SCOPE_IN_SB FALSE |
| 2142 | #endif |
| 2143 | |
| 2144 | #ifdef BLDCFG_S3_LATE_RESTORE |
| 2145 | #define CFG_S3_LATE_RESTORE BLDCFG_S3_LATE_RESTORE |
| 2146 | #else |
| 2147 | #define CFG_S3_LATE_RESTORE TRUE |
| 2148 | #endif |
| 2149 | |
| 2150 | #ifdef BLDCFG_USE_32_BYTE_REFRESH |
| 2151 | #define CFG_USE_32_BYTE_REFRESH (BLDCFG_USE_32_BYTE_REFRESH) |
| 2152 | #else |
| 2153 | #define CFG_USE_32_BYTE_REFRESH (FALSE) |
| 2154 | #endif |
| 2155 | |
| 2156 | #ifdef BLDCFG_USE_VARIABLE_MCT_ISOC_PRIORITY |
| 2157 | #define CFG_USE_VARIABLE_MCT_ISOC_PRIORITY (BLDCFG_USE_VARIABLE_MCT_ISOC_PRIORITY) |
| 2158 | #else |
| 2159 | #define CFG_USE_VARIABLE_MCT_ISOC_PRIORITY (FALSE) |
| 2160 | #endif |
| 2161 | |
| 2162 | #ifdef BLDCFG_PROCESSOR_SCOPE_NAME0 |
| 2163 | #define CFG_PROCESSOR_SCOPE_NAME0 BLDCFG_PROCESSOR_SCOPE_NAME0 |
| 2164 | #else |
| 2165 | #define CFG_PROCESSOR_SCOPE_NAME0 SCOPE_NAME_VALUE |
| 2166 | #endif |
| 2167 | |
| 2168 | #ifdef BLDCFG_PROCESSOR_SCOPE_NAME1 |
| 2169 | #define CFG_PROCESSOR_SCOPE_NAME1 BLDCFG_PROCESSOR_SCOPE_NAME1 |
| 2170 | #else |
| 2171 | #define CFG_PROCESSOR_SCOPE_NAME1 SCOPE_NAME_VALUE1 |
| 2172 | #endif |
| 2173 | |
| 2174 | #ifdef BLDCFG_CFG_GNB_HD_AUDIO |
| 2175 | #define CFG_GNB_HD_AUDIO BLDCFG_CFG_GNB_HD_AUDIO |
| 2176 | #else |
| 2177 | #define CFG_GNB_HD_AUDIO TRUE |
| 2178 | #endif |
| 2179 | |
| 2180 | #ifdef BLDCFG_CFG_ABM_SUPPORT |
| 2181 | #define CFG_ABM_SUPPORT BLDCFG_CFG_ABM_SUPPORT |
| 2182 | #else |
| 2183 | #define CFG_ABM_SUPPORT FALSE |
| 2184 | #endif |
| 2185 | |
| 2186 | #ifdef BLDCFG_CFG_DYNAMIC_REFRESH_RATE |
| 2187 | #define CFG_DYNAMIC_REFRESH_RATE BLDCFG_CFG_DYNAMIC_REFRESH_RATE |
| 2188 | #else |
| 2189 | #define CFG_DYNAMIC_REFRESH_RATE 0 |
| 2190 | #endif |
| 2191 | |
| 2192 | #ifdef BLDCFG_CFG_LCD_BACK_LIGHT_CONTROL |
| 2193 | #define CFG_LCD_BACK_LIGHT_CONTROL BLDCFG_CFG_LCD_BACK_LIGHT_CONTROL |
| 2194 | #else |
| 2195 | #define CFG_LCD_BACK_LIGHT_CONTROL 0 |
| 2196 | #endif |
| 2197 | |
| 2198 | #ifdef BLDCFG_STEREO_3D_PINOUT |
| 2199 | #define CFG_GNB_STEREO_3D_PINOUT BLDCFG_STEREO_3D_PINOUT |
| 2200 | #else |
| 2201 | #define CFG_GNB_STEREO_3D_PINOUT 0 |
| 2202 | #endif |
| 2203 | |
| 2204 | #ifdef BLDCFG_REMOTE_DISPLAY_SUPPORT |
| 2205 | #define CFG_GNB_REMOTE_DISPLAY_SUPPORT BLDCFG_REMOTE_DISPLAY_SUPPORT |
| 2206 | #else |
| 2207 | #define CFG_GNB_REMOTE_DISPLAY_SUPPORT FALSE |
| 2208 | #endif |
| 2209 | |
| 2210 | // Define pin configuration for SYNCFLOOD |
| 2211 | // Default to FALSE (Use pin as SYNCFLOOD) |
| 2212 | #ifdef BLDCFG_USE_SYNCFLOOD_AS_NMI |
| 2213 | #define CFG_GNB_SYNCFLOOD_PIN_AS_NMI BLDCFG_USE_SYNCFLOOD_AS_NMI |
| 2214 | #else |
| 2215 | #define CFG_GNB_SYNCFLOOD_PIN_AS_NMI FALSE |
| 2216 | #endif |
| 2217 | |
| 2218 | #ifdef BLDCFG_GNB_THERMAL_SENSOR_CORRECTION |
| 2219 | #define CFG_GNB_THERMAL_SENSOR_CORRECTION BLDCFG_GNB_THERMAL_SENSOR_CORRECTION |
| 2220 | #else |
| 2221 | #define CFG_GNB_THERMAL_SENSOR_CORRECTION 0 |
| 2222 | #endif |
| 2223 | |
| 2224 | #ifdef BLDCFG_IGPU_SUBSYSTEM_ID |
| 2225 | #define CFG_GNB_IGPU_SSID BLDCFG_IGPU_SUBSYSTEM_ID |
| 2226 | #else |
| 2227 | #define CFG_GNB_IGPU_SSID 0 |
| 2228 | #endif |
| 2229 | |
| 2230 | #ifdef BLDCFG_IGPU_HD_AUDIO_SUBSYSTEM_ID |
| 2231 | #define CFG_GNB_HDAUDIO_SSID BLDCFG_IGPU_HD_AUDIO_SUBSYSTEM_ID |
| 2232 | #else |
| 2233 | #define CFG_GNB_HDAUDIO_SSID 0 |
| 2234 | #endif |
| 2235 | |
| 2236 | #ifdef BLDCFG_IGPU_ENABLE_DISABLE_POLICY |
| 2237 | #define CFG_IGPU_ENABLE_DISABLE_POLICY BLDCFG_IGPU_ENABLE_DISABLE_POLICY |
| 2238 | #else |
| 2239 | #define CFG_IGPU_ENABLE_DISABLE_POLICY IGPU_DISABLE_AUTO |
| 2240 | #endif |
| 2241 | |
| 2242 | #ifdef BLFCFG_APU_PCIE_PORTS_SUBSYSTEM_ID |
| 2243 | #define CFG_GNB_PCIE_SSID BLFCFG_APU_PCIE_PORTS_SUBSYSTEM_ID |
| 2244 | #else |
| 2245 | #define CFG_GNB_PCIE_SSID 0x12341022ul |
| 2246 | #endif |
| 2247 | |
| 2248 | #ifdef BLDCFG_GFX_LVDS_SPREAD_SPECTRUM |
| 2249 | #define CFG_GFX_LVDS_SPREAD_SPECTRUM BLDCFG_GFX_LVDS_SPREAD_SPECTRUM |
| 2250 | #else |
| 2251 | #define CFG_GFX_LVDS_SPREAD_SPECTRUM 0 |
| 2252 | #endif |
| 2253 | |
| 2254 | #ifdef BLDCFG_GFX_LVDS_SPREAD_SPECTRUM_RATE |
| 2255 | #define CFG_GFX_LVDS_SPREAD_SPECTRUM_RATE BLDCFG_GFX_LVDS_SPREAD_SPECTRUM_RATE |
| 2256 | #else |
| 2257 | #define CFG_GFX_LVDS_SPREAD_SPECTRUM_RATE 0 |
| 2258 | #endif |
| 2259 | |
| 2260 | #ifdef BLDCFG_PCIE_REFCLK_SPREAD_SPECTRUM |
| 2261 | #define CFG_PCIE_REFCLK_SPREAD_SPECTRUM BLDCFG_PCIE_REFCLK_SPREAD_SPECTRUM |
| 2262 | #else |
| 2263 | #define CFG_PCIE_REFCLK_SPREAD_SPECTRUM 0 |
| 2264 | #endif |
| 2265 | |
| 2266 | #ifdef BLDCFG_CFG_TEMP_PCIE_MMIO_BASE_ADDRESS |
| 2267 | #define CFG_TEMP_PCIE_MMIO_BASE_ADDRESS BLDCFG_CFG_TEMP_PCIE_MMIO_BASE_ADDRESS |
| 2268 | #else |
| 2269 | #define CFG_TEMP_PCIE_MMIO_BASE_ADDRESS 0xD0000000ul |
| 2270 | #endif |
| 2271 | |
| 2272 | #ifdef BLDCFG_ENABLE_EXTERNAL_VREF_FEATURE |
| 2273 | #define CFG_ENABLE_EXTERNAL_VREF BLDCFG_ENABLE_EXTERNAL_VREF_FEATURE |
| 2274 | #else |
| 2275 | #define CFG_ENABLE_EXTERNAL_VREF FALSE |
| 2276 | #endif |
| 2277 | |
| 2278 | |
| 2279 | #ifdef BLDOPT_REMOVE_ALIB |
| 2280 | #if BLDOPT_REMOVE_ALIB == TRUE |
| 2281 | #undef OPTION_ALIB |
| 2282 | #define OPTION_ALIB FALSE |
| 2283 | #else |
| 2284 | #undef OPTION_ALIB |
| 2285 | #define OPTION_ALIB TRUE |
| 2286 | #endif |
| 2287 | #endif |
| 2288 | |
| 2289 | #ifdef BLDOPT_REMOVE_FCH_COMPONENT |
| 2290 | #if BLDOPT_REMOVE_FCH_COMPONENT == TRUE |
| 2291 | #undef FCH_SUPPORT |
| 2292 | #define FCH_SUPPORT FALSE |
| 2293 | #endif |
| 2294 | #endif |
| 2295 | |
| 2296 | #ifdef BLDCFG_IOMMU_SUPPORT |
| 2297 | #define CFG_IOMMU_SUPPORT BLDCFG_IOMMU_SUPPORT |
| 2298 | #else |
| 2299 | #define CFG_IOMMU_SUPPORT TRUE |
| 2300 | #endif |
| 2301 | |
| 2302 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE |
| 2303 | #define CFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE BLDCFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE |
| 2304 | #else |
| 2305 | #define CFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE 0 |
| 2306 | #endif |
| 2307 | |
| 2308 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL |
| 2309 | #define CFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL BLDCFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL |
| 2310 | #else |
| 2311 | #define CFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL 0 |
| 2312 | #endif |
| 2313 | |
| 2314 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON |
| 2315 | #define CFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON BLDCFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON |
| 2316 | #else |
| 2317 | #define CFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON 0 |
| 2318 | #endif |
| 2319 | |
| 2320 | #ifdef BLDCFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE |
| 2321 | #define CFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE BLDCFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE |
| 2322 | #else |
| 2323 | #define CFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE 0 |
| 2324 | #endif |
| 2325 | |
| 2326 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY |
| 2327 | #define CFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY BLDCFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY |
| 2328 | #else |
| 2329 | #define CFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY 0 |
| 2330 | #endif |
| 2331 | |
| 2332 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON |
| 2333 | #define CFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON BLDCFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON |
| 2334 | #else |
| 2335 | #define CFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON 0 |
| 2336 | #endif |
| 2337 | |
| 2338 | #ifdef BLDCFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL |
| 2339 | #define CFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL BLDCFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL |
| 2340 | #else |
| 2341 | #define CFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL 0 |
| 2342 | #endif |
| 2343 | |
| 2344 | #ifdef BLDCFG_LVDS_MAX_PIXEL_CLOCK_FREQ |
| 2345 | #define CFG_LVDS_MAX_PIXEL_CLOCK_FREQ BLDCFG_LVDS_MAX_PIXEL_CLOCK_FREQ |
| 2346 | #else |
| 2347 | #define CFG_LVDS_MAX_PIXEL_CLOCK_FREQ 0 |
| 2348 | #endif |
| 2349 | |
| 2350 | #ifdef BLDCFG_LCD_BIT_DEPTH_CONTROL_VALUE |
| 2351 | #define CFG_LCD_BIT_DEPTH_CONTROL_VALUE BLDCFG_LCD_BIT_DEPTH_CONTROL_VALUE |
| 2352 | #else |
| 2353 | #define CFG_LCD_BIT_DEPTH_CONTROL_VALUE 0 |
| 2354 | #endif |
| 2355 | |
| 2356 | |
| 2357 | // BLDCFG_LVDS_24BBP_PANEL_MODE |
| 2358 | // This specifies the LVDS 24 BBP mode. |
| 2359 | // 0 - Use LDI mode (default). |
| 2360 | // 1 - Use FPDI mode. |
| 2361 | #ifdef BLDCFG_LVDS_24BBP_PANEL_MODE |
| 2362 | #define CFG_LVDS_24BBP_PANEL_MODE BLDCFG_LVDS_24BBP_PANEL_MODE |
| 2363 | #else |
| 2364 | #define CFG_LVDS_24BBP_PANEL_MODE 0 |
| 2365 | #endif |
| 2366 | |
| 2367 | #ifdef BLDCFG_LVDS_MISC_888_FPDI_MODE |
| 2368 | #define CFG_LVDS_MISC_888_FPDI_MODE BLDCFG_LVDS_MISC_888_FPDI_MODE |
| 2369 | #else |
| 2370 | #define CFG_LVDS_MISC_888_FPDI_MODE FALSE |
| 2371 | #endif |
| 2372 | |
| 2373 | #ifdef BLDCFG_LVDS_MISC_DL_CH_SWAP |
| 2374 | #define CFG_LVDS_MISC_DL_CH_SWAP BLDCFG_LVDS_MISC_DL_CH_SWAP |
| 2375 | #else |
| 2376 | #define CFG_LVDS_MISC_DL_CH_SWAP FALSE |
| 2377 | #endif |
| 2378 | |
| 2379 | #ifdef BLDCFG_LVDS_MISC_VSYNC_ACTIVE_LOW |
| 2380 | #define CFG_LVDS_MISC_VSYNC_ACTIVE_LOW BLDCFG_LVDS_MISC_VSYNC_ACTIVE_LOW |
| 2381 | #else |
| 2382 | #define CFG_LVDS_MISC_VSYNC_ACTIVE_LOW FALSE |
| 2383 | #endif |
| 2384 | |
| 2385 | #ifdef BLDCFG_LVDS_MISC_HSYNC_ACTIVE_LOW |
| 2386 | #define CFG_LVDS_MISC_HSYNC_ACTIVE_LOW BLDCFG_LVDS_MISC_HSYNC_ACTIVE_LOW |
| 2387 | #else |
| 2388 | #define CFG_LVDS_MISC_HSYNC_ACTIVE_LOW FALSE |
| 2389 | #endif |
| 2390 | |
| 2391 | #ifdef BLDCFG_LVDS_MISC_BLON_ACTIVE_LOW |
| 2392 | #define CFG_LVDS_MISC_BLON_ACTIVE_LOW BLDCFG_LVDS_MISC_BLON_ACTIVE_LOW |
| 2393 | #else |
| 2394 | #define CFG_LVDS_MISC_BLON_ACTIVE_LOW FALSE |
| 2395 | #endif |
| 2396 | |
| 2397 | #ifdef BLDCFG_LVDS_MISC_VOLT_OVERWRITE_ENABLE |
| 2398 | #define CFG_LVDS_MISC_VOLT_OVERWRITE_ENABLE BLDCFG_LVDS_MISC_VOLT_OVERWRITE_ENABLE |
| 2399 | #else |
| 2400 | #define CFG_LVDS_MISC_VOLT_OVERWRITE_ENABLE FALSE |
| 2401 | #endif |
| 2402 | |
| 2403 | #ifdef BLDCFG_LVDS_MISC_VOLT_ADJUSTMENT |
| 2404 | #define CFG_LVDS_MISC_VOLT_ADJUSTMENT BLDCFG_LVDS_MISC_VOLT_ADJUSTMENT |
| 2405 | #else |
| 2406 | #define CFG_LVDS_MISC_VOLT_ADJUSTMENT 0 |
| 2407 | #endif |
| 2408 | |
| 2409 | #ifdef BLDCFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE |
| 2410 | #define CFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE BLDCFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE |
| 2411 | #else |
| 2412 | #define CFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE FALSE |
| 2413 | #endif |
| 2414 | |
Kyösti Mälkki | 206e157 | 2016-05-18 14:04:45 +0300 | [diff] [blame] | 2415 | #ifdef BLDCFG_PLATFORM_POWER_POLICY_MODE |
| 2416 | #define CFG_PLATFORM_POWER_POLICY_MODE (BLDCFG_PLATFORM_POWER_POLICY_MODE) |
| 2417 | #else |
| 2418 | #define CFG_PLATFORM_POWER_POLICY_MODE (Performance) |
| 2419 | #endif |
| 2420 | |
Angel Pons | 5f82370 | 2020-05-21 01:06:28 +0200 | [diff] [blame^] | 2421 | #define CFG_PCI_MMIO_BASE (CONFIG_MMCONF_BASE_ADDRESS) |
Kyösti Mälkki | 206e157 | 2016-05-18 14:04:45 +0300 | [diff] [blame] | 2422 | |
Angel Pons | 5f82370 | 2020-05-21 01:06:28 +0200 | [diff] [blame^] | 2423 | #define CFG_PCI_MMIO_SIZE (CONFIG_MMCONF_BUS_NUMBER) |
Kyösti Mälkki | 206e157 | 2016-05-18 14:04:45 +0300 | [diff] [blame] | 2424 | |
| 2425 | #ifdef BLDCFG_AP_MTRR_SETTINGS_LIST |
| 2426 | #define CFG_AP_MTRR_SETTINGS_LIST (BLDCFG_AP_MTRR_SETTINGS_LIST) |
| 2427 | #else |
| 2428 | #define CFG_AP_MTRR_SETTINGS_LIST (NULL) |
| 2429 | #endif |
| 2430 | |
| 2431 | #ifdef BLDCFG_IOMMU_EXCLUSION_RANGE_LIST |
| 2432 | #define CFG_IOMMU_EXCLUSION_RANGE_LIST (BLDCFG_IOMMU_EXCLUSION_RANGE_LIST) |
| 2433 | #else |
| 2434 | #define CFG_IOMMU_EXCLUSION_RANGE_LIST (NULL) |
| 2435 | #endif |
| 2436 | |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2437 | /*--------------------------------------------------------------------------- |
| 2438 | * Processing the options: Third, perform the option cross checks |
| 2439 | *--------------------------------------------------------------------------*/ |
Angel Pons | 5f82370 | 2020-05-21 01:06:28 +0200 | [diff] [blame^] | 2440 | // Check that deprecated options are not used |
| 2441 | #ifdef BLDCFG_PCI_MMIO_BASE |
| 2442 | #error BLDOPT: BLDCFG_PCI_MMIO_BASE has been deprecated in coreboot. Do not use! |
| 2443 | #endif |
| 2444 | #ifdef BLDCFG_PCI_MMIO_SIZE |
| 2445 | #error BLDOPT: BLDCFG_PCI_MMIO_SIZE has been deprecated in coreboot. Do not use! |
| 2446 | #endif |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2447 | // Assure that at least one type of memory support is included |
| 2448 | #if OPTION_UDIMMS == FALSE |
| 2449 | #if OPTION_RDIMMS == FALSE |
| 2450 | #if OPTION_SODIMMS == FALSE |
| 2451 | #if OPTION_LRDIMMS == FALSE |
| 2452 | #error BLDOPT: No DIMM support selected. Either BLDOPT_REMOVE_UDIMMS_SUPPORT or BLDOPT_REMOVE_RDIMMS_SUPPORT or BLDOPT_REMOVE_SODIMMS_SUPPORT or BLDOPT_REMOVE_LRDIMMS_SUPPORT must be FALSE. |
| 2453 | #endif |
| 2454 | #endif |
| 2455 | #endif |
| 2456 | #endif |
| 2457 | // Ensure at least one dimm type is capable |
| 2458 | #if CFG_MEMORY_RDIMM_CAPABLE == FALSE |
| 2459 | #if CFG_MEMORY_UDIMM_CAPABLE == FALSE |
| 2460 | #if CFG_MEMORY_SODIMM_CAPABLE == FALSE |
| 2461 | #if CFG_MEMORY_LRDIMM_CAPABLE == FALSE |
| 2462 | #error BLDCFG: No dimm type is capable |
| 2463 | #endif |
| 2464 | #endif |
| 2465 | #endif |
| 2466 | #endif |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2467 | // Turn off multi-socket based features if only one node... |
| 2468 | #if OPTION_MULTISOCKET == FALSE |
| 2469 | #undef OPTION_PARALLEL_TRAINING |
| 2470 | #define OPTION_PARALLEL_TRAINING FALSE |
| 2471 | #undef OPTION_NODE_INTERLEAVE |
| 2472 | #define OPTION_NODE_INTERLEAVE FALSE |
| 2473 | #endif |
| 2474 | // Ensure the frequency limit is valid |
| 2475 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR2133_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 1066) |
| 2476 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR1866_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 933) |
| 2477 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR1600_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 800) |
| 2478 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR1333_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 667) |
| 2479 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR1066_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 533) |
| 2480 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR800_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 400) |
| 2481 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR667_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 333) |
| 2482 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR533_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 266) |
| 2483 | #if (CFG_MEMORY_BUS_FREQUENCY_LIMIT != DDR400_FREQUENCY) && (CFG_MEMORY_BUS_FREQUENCY_LIMIT != 200) |
| 2484 | #error BLDCFG: Unsupported memory bus frequency |
| 2485 | #endif |
| 2486 | #endif |
| 2487 | #endif |
| 2488 | #endif |
| 2489 | #endif |
| 2490 | #endif |
| 2491 | #endif |
| 2492 | #endif |
| 2493 | #endif |
| 2494 | // Ensure timing mode is valid |
| 2495 | #if CFG_TIMING_MODE_SELECT != TIMING_MODE_SPECIFIC |
| 2496 | #if CFG_TIMING_MODE_SELECT != TIMING_MODE_LIMITED |
| 2497 | #if CFG_TIMING_MODE_SELECT != TIMING_MODE_AUTO |
| 2498 | #error BLDCFG: Invalid timing mode is set |
| 2499 | #endif |
| 2500 | #endif |
| 2501 | #endif |
| 2502 | // Ensure the scrub rate is valid |
| 2503 | #if ((CFG_SCRUB_DRAM_RATE > 0x16) && (CFG_SCRUB_DRAM_RATE != 0xFF)) |
| 2504 | #error BLDCFG: Unsupported dram scrub rate set |
| 2505 | #endif |
| 2506 | #if CFG_SCRUB_L2_RATE > 0x16 |
| 2507 | #error BLDCFG: Unsupported L2 scrubber rate set |
| 2508 | #endif |
| 2509 | #if CFG_SCRUB_L3_RATE > 0x16 |
| 2510 | #error BLDCFG: unsupported L3 scrubber rate set |
| 2511 | #endif |
| 2512 | #if CFG_SCRUB_IC_RATE > 0x16 |
| 2513 | #error BLDCFG: Unsupported Instruction cache scrub rate set |
| 2514 | #endif |
| 2515 | #if CFG_SCRUB_DC_RATE > 0x16 |
| 2516 | #error BLDCFG: Unsupported Dcache scrub rate set |
| 2517 | #endif |
| 2518 | // Ensure Quad rank dimm type is valid |
| 2519 | #if CFG_MEMORY_QUADRANK_TYPE != QUADRANK_UNBUFFERED |
| 2520 | #if CFG_MEMORY_QUADRANK_TYPE != QUADRANK_REGISTERED |
| 2521 | #error BLDCFG: Invalid quad rank dimm type set |
| 2522 | #endif |
| 2523 | #endif |
| 2524 | // Ensure ECC symbol size is valid |
| 2525 | #if CFG_ECC_SYMBOL_SIZE != ECCSYMBOLSIZE_USE_BKDG |
| 2526 | #if CFG_ECC_SYMBOL_SIZE != ECCSYMBOLSIZE_FORCE_X4 |
| 2527 | #if CFG_ECC_SYMBOL_SIZE != ECCSYMBOLSIZE_FORCE_X8 |
| 2528 | #error BLDCFG: Invalid Ecc symbol size set |
| 2529 | #endif |
| 2530 | #endif |
| 2531 | #endif |
| 2532 | // Ensure power down mode is valid |
| 2533 | #if CFG_POWER_DOWN_MODE != POWER_DOWN_BY_CHIP_SELECT |
| 2534 | #if CFG_POWER_DOWN_MODE != POWER_DOWN_BY_CHANNEL |
| 2535 | #error BLDCFG: Invalid power down mode set |
| 2536 | #endif |
| 2537 | #endif |
| 2538 | |
| 2539 | /***************************************************************************** |
| 2540 | * |
| 2541 | * Process the option logic, setting local control variables |
| 2542 | * |
| 2543 | ****************************************************************************/ |
| 2544 | #if OPTION_ACPI_PSTATES == TRUE |
| 2545 | #define OPTFCN_ACPI_TABLES CreateAcpiTablesMain |
| 2546 | #define OPTFCN_GATHER_DATA PStateGatherData |
| 2547 | #if OPTION_MULTISOCKET == TRUE |
| 2548 | #define OPTFCN_PSTATE_LEVELING PStateLeveling |
| 2549 | #else |
| 2550 | #define OPTFCN_PSTATE_LEVELING CommonReturnAgesaSuccess |
| 2551 | #endif |
| 2552 | #else |
| 2553 | #define OPTFCN_ACPI_TABLES CommonReturnAgesaSuccess |
| 2554 | #define OPTFCN_GATHER_DATA CommonReturnAgesaSuccess |
| 2555 | #define OPTFCN_PSTATE_LEVELING CommonReturnAgesaSuccess |
| 2556 | #endif |
| 2557 | |
| 2558 | |
| 2559 | /***************************************************************************** |
| 2560 | * |
| 2561 | * Include the structure definitions for the defaults table structures |
| 2562 | * |
| 2563 | ****************************************************************************/ |
Kyösti Mälkki | 062ef1c | 2016-04-19 15:18:02 +0300 | [diff] [blame] | 2564 | #include <CommonReturns.h> |
| 2565 | #include <agesa-entry-cfg.h> |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2566 | #include "Options.h" |
| 2567 | #include "OptionCpuFamiliesInstall.h" |
| 2568 | #include "OptionsHt.h" |
| 2569 | #include "OptionHtInstall.h" |
| 2570 | #include "OptionMemory.h" |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2571 | #include "OptionMemoryInstall.h" |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2572 | #include "OptionCpuFeaturesInstall.h" |
| 2573 | #include "OptionDmi.h" |
| 2574 | #include "OptionDmiInstall.h" |
| 2575 | #include "OptionPstate.h" |
| 2576 | #include "OptionPstateInstall.h" |
| 2577 | #include "OptionWhea.h" |
| 2578 | #include "OptionWheaInstall.h" |
| 2579 | #include "OptionSrat.h" |
| 2580 | #include "OptionSratInstall.h" |
| 2581 | #include "OptionSlit.h" |
| 2582 | #include "OptionSlitInstall.h" |
| 2583 | #include "OptionMultiSocket.h" |
| 2584 | #include "OptionMultiSocketInstall.h" |
| 2585 | #include "OptionIdsInstall.h" |
| 2586 | #include "OptionGfxRecovery.h" |
| 2587 | #include "OptionGfxRecoveryInstall.h" |
| 2588 | #include "OptionGnb.h" |
| 2589 | #include "OptionGnbInstall.h" |
| 2590 | #include "OptionS3ScriptInstall.h" |
| 2591 | #include "OptionFchInstall.h" |
| 2592 | #include "OptionMmioMapInstall.h" |
| 2593 | |
| 2594 | |
| 2595 | /***************************************************************************** |
| 2596 | * |
| 2597 | * Generate the output structures (defaults tables) |
| 2598 | * |
| 2599 | ****************************************************************************/ |
| 2600 | |
| 2601 | FCH_PLATFORM_POLICY FchUserOptions = { |
| 2602 | CFG_SMBUS0_BASE_ADDRESS, // CfgSmbus0BaseAddress |
| 2603 | CFG_SMBUS1_BASE_ADDRESS, // CfgSmbus1BaseAddress |
| 2604 | CFG_SIO_PME_BASE_ADDRESS, // CfgSioPmeBaseAddress |
| 2605 | CFG_ACPI_PM1_EVT_BLOCK_ADDRESS, // CfgAcpiPm1EvtBlkAddr |
| 2606 | CFG_ACPI_PM1_CNT_BLOCK_ADDRESS, // CfgAcpiPm1CntBlkAddr |
| 2607 | CFG_ACPI_PM_TMR_BLOCK_ADDRESS, // CfgAcpiPmTmrBlkAddr |
| 2608 | CFG_ACPI_CPU_CNT_BLOCK_ADDRESS, // CfgCpuControlBlkAddr |
| 2609 | CFG_ACPI_GPE0_BLOCK_ADDRESS, // CfgAcpiGpe0BlkAddr |
| 2610 | CFG_SMI_CMD_PORT_ADDRESS, // CfgSmiCmdPortAddr |
| 2611 | CFG_ACPI_PMA_CNTBLK_ADDRESS, // CfgAcpiPmaCntBlkAddr |
| 2612 | CFG_GEC_SHADOW_ROM_BASE, // CfgGecShadowRomBase |
| 2613 | CFG_WATCHDOG_TIMER_BASE, // CfgWatchDogTimerBase |
| 2614 | CFG_SPI_ROM_BASE_ADDRESS, // CfgSpiRomBaseAddress |
| 2615 | CFG_HPET_BASE_ADDRESS, // CfgHpetBaseAddress |
| 2616 | 0, |
| 2617 | CFG_SMBUS_SSID, // CfgSmbusSsid |
| 2618 | CFG_IDE_SSID, // CfgIdeSsid |
| 2619 | CFG_SATA_AHCI_SSID, // CfgSataAhciSsid |
| 2620 | CFG_SATA_IDE_SSID, // CfgSataIdeSsid |
| 2621 | CFG_SATA_RAID5_SSID, // CfgSataRaid5Ssid |
| 2622 | CFG_SATA_RAID_SSID, // CfgSataRaidSsid |
| 2623 | CFG_EHCI_SSID, // CfgEhcidSsid |
| 2624 | CFG_OHCI_SSID, // CfgOhcidSsid |
| 2625 | CFG_LPC_SSID, // CfgLpcSsid |
| 2626 | CFG_SD_SSID, // CfgSdSsid |
| 2627 | CFG_XHCI_SSID, // CfgXhciSsid |
| 2628 | CFG_FCH_PORT80_BEHIND_PCIB, // CfgFchPort80BehindPcib |
| 2629 | CFG_FCH_ENABLE_ACPI_SLEEP_TRAP, // CfgFchEnableAcpiSleepTrap |
| 2630 | CFG_FCH_GPP_LINK_CONFIG, // CfgFchGppLinkConfig |
| 2631 | CFG_FCH_GPP_PORT0_PRESENT, // CfgFchGppPort0Present |
| 2632 | CFG_FCH_GPP_PORT1_PRESENT, // CfgFchGppPort1Present |
| 2633 | CFG_FCH_GPP_PORT2_PRESENT, // CfgFchGppPort2Present |
| 2634 | CFG_FCH_GPP_PORT3_PRESENT, // CfgFchGppPort3Present |
| 2635 | CFG_FCH_GPP_PORT0_HOTPLUG, // CfgFchGppPort0HotPlug |
| 2636 | CFG_FCH_GPP_PORT1_HOTPLUG, // CfgFchGppPort1HotPlug |
| 2637 | CFG_FCH_GPP_PORT2_HOTPLUG, // CfgFchGppPort2HotPlug |
| 2638 | CFG_FCH_GPP_PORT3_HOTPLUG, // CfgFchGppPort3HotPlug |
| 2639 | |
| 2640 | CFG_FCH_ESATA_PORT_BITMAP, // CfgFchEsataPortBitMap |
| 2641 | CFG_FCH_IR_PIN_CONTROL, // CfgFchIrPinControl |
| 2642 | CFG_FCH_SD_CLOCK_CONTROL, // CfgFchSdClockControl |
| 2643 | CFG_FCH_SCI_MAP_LIST, // *CfgFchSciMapControl |
| 2644 | CFG_FCH_SATA_PHY_LIST, // *CfgFchSataPhyControl |
| 2645 | CFG_FCH_GPIO_CONTROL_LIST // *CfgFchGpioControl |
| 2646 | }; |
| 2647 | |
| 2648 | BUILD_OPT_CFG UserOptions = { |
| 2649 | { // AGESA version string |
| 2650 | AGESA_CODE_SIGNATURE, // code header Signature |
| 2651 | AGESA_PACKAGE_STRING, // 8 character ID |
| 2652 | AGESA_VERSION_STRING, // 12 character version string |
| 2653 | 0 // null string terminator |
| 2654 | }, |
| 2655 | //Build Option Area |
| 2656 | OPTION_UDIMMS, //UDIMMS |
| 2657 | OPTION_RDIMMS, //RDIMMS |
| 2658 | OPTION_LRDIMMS, //LRDIMMS |
| 2659 | OPTION_ECC, //ECC |
| 2660 | OPTION_BANK_INTERLEAVE, //BANK_INTERLEAVE |
| 2661 | OPTION_DCT_INTERLEAVE, //DCT_INTERLEAVE |
| 2662 | OPTION_NODE_INTERLEAVE, //NODE_INTERLEAVE |
| 2663 | OPTION_PARALLEL_TRAINING, //PARALLEL_TRAINING |
| 2664 | OPTION_ONLINE_SPARE, //ONLINE_SPARE |
| 2665 | OPTION_MEM_RESTORE, //MEM CONTEXT RESTORE |
| 2666 | OPTION_MULTISOCKET, //MULTISOCKET |
| 2667 | OPTION_ACPI_PSTATES, //ACPI_PSTATES |
| 2668 | OPTION_CPU_PSTATE_HPC_MODE, //High Preformace Computing (HPC) mode |
| 2669 | FALSE, |
| 2670 | FALSE, |
| 2671 | OPTION_SRAT, //SRAT |
| 2672 | OPTION_SLIT, //SLIT |
| 2673 | OPTION_WHEA, //WHEA |
| 2674 | OPTION_DMI, //DMI |
| 2675 | OPTION_EARLY_SAMPLES, //EARLY_SAMPLES |
| 2676 | OPTION_ADDR_TO_CS_TRANSLATOR, //ADDR_TO_CS_TRANSLATOR |
| 2677 | |
| 2678 | //Build Configuration Area |
| 2679 | CFG_PCI_MMIO_BASE, |
| 2680 | CFG_PCI_MMIO_SIZE, |
| 2681 | { |
| 2682 | // CoreVrm |
| 2683 | { |
| 2684 | CFG_VRM_CURRENT_LIMIT, // VrmCurrentLimit |
| 2685 | CFG_VRM_LOW_POWER_THRESHOLD, // VrmLowPowerThershold |
| 2686 | CFG_VRM_SLEW_RATE, // VrmSlewRate |
| 2687 | CFG_VRM_ADDITIONAL_DELAY, // VrmAdditionalDelay |
| 2688 | CFG_VRM_HIGH_SPEED_ENABLE, // VrmHiSpeedEnable |
| 2689 | CFG_VRM_MAXIMUM_CURRENT_LIMIT, // VrmInrushCurrentLimit |
| 2690 | CFG_VRM_SVI_OCP_LEVEL // VrmSviOcpLevel |
| 2691 | }, |
| 2692 | // NbVrm |
| 2693 | { |
| 2694 | CFG_VRM_NB_CURRENT_LIMIT, // VrmNbCurrentLimit |
| 2695 | CFG_VRM_NB_LOW_POWER_THRESHOLD, // VrmNbLowPowerThershold |
| 2696 | CFG_VRM_NB_SLEW_RATE, // VrmNbSlewRate |
| 2697 | CFG_VRM_NB_ADDITIONAL_DELAY, // VrmNbAdditionalDelay |
| 2698 | CFG_VRM_NB_HIGH_SPEED_ENABLE, // VrmNbHiSpeedEnable |
| 2699 | CFG_VRM_NB_MAXIMUM_CURRENT_LIMIT, // VrmNbInrushCurrentLimit |
| 2700 | CFG_VRM_NB_SVI_OCP_LEVEL // VrmNbSviOcpLevel |
| 2701 | } |
| 2702 | }, |
| 2703 | CFG_PLAT_NUM_IO_APICS, //PlatformApicIoNumber |
| 2704 | CFG_MEM_INIT_PSTATE, //MemoryInitPstate |
| 2705 | CFG_C1E_MODE, //C1eMode |
| 2706 | CFG_C1E_OPDATA, //C1ePlatformData |
| 2707 | CFG_C1E_OPDATA1, //C1ePlatformData1 |
| 2708 | CFG_C1E_OPDATA2, //C1ePlatformData2 |
| 2709 | CFG_C1E_OPDATA3, //C1ePlatformData3 |
| 2710 | CFG_CSTATE_MODE, //CStateMode |
| 2711 | CFG_CSTATE_OPDATA, //CStatePlatformData |
| 2712 | CFG_CSTATE_IO_BASE_ADDRESS, //CStateIoBaseAddress |
| 2713 | CFG_CPB_MODE, //CpbMode |
| 2714 | LOW_POWER_PSTATE_FOR_PROCHOT_AUTO, //Low power Pstate for PROCHOT, it's always set to 'AUTO' |
| 2715 | CFG_CORE_LEVELING_MODE, //CoreLevelingCofig |
| 2716 | { |
| 2717 | CFG_PLATFORM_CONTROL_FLOW_MODE, // The platform's control flow mode. |
| 2718 | CFG_USE_HT_ASSIST, // CfgUseHtAssist |
| 2719 | CFG_USE_ATM_MODE, // CfgUseAtmMode |
| 2720 | CFG_USE_32_BYTE_REFRESH, // Display Refresh uses 32 byte packets. |
| 2721 | CFG_USE_VARIABLE_MCT_ISOC_PRIORITY, // The Memory controller will be set to Variable Isoc Priority. |
| 2722 | // ADVANCED_PERFORMANCE_PROFILE |
| 2723 | { |
| 2724 | CFG_PERFORMANCE_HARDWARE_PREFETCHER, // Hardware prefetcher mode |
| 2725 | CFG_PERFORMANCE_SOFTWARE_PREFETCHES, // Software prefetcher mode |
| 2726 | CFG_PERFORMANCE_DRAM_PREFETCHER // Dram prefetcher mode |
| 2727 | }, |
| 2728 | CFG_PLATFORM_POWER_POLICY_MODE // The platform's power policy mode. |
| 2729 | }, |
| 2730 | (CPU_HT_DEEMPHASIS_LEVEL *)CFG_PLATFORM_DEEMPHASIS_LIST, // Deemphasis settings |
| 2731 | CFG_AMD_PLATFORM_TYPE, //AmdPlatformType |
| 2732 | CFG_AMD_PSTATE_CAP_VALUE, // Amd pstate ceiling enabling deck |
| 2733 | |
| 2734 | CFG_MEMORY_BUS_FREQUENCY_LIMIT, // CfgMemoryBusFrequencyLimit |
| 2735 | CFG_MEMORY_MODE_UNGANGED, // CfgMemoryModeUnganged |
| 2736 | CFG_MEMORY_QUAD_RANK_CAPABLE, // CfgMemoryQuadRankCapable |
| 2737 | CFG_MEMORY_QUADRANK_TYPE, // CfgMemoryQuadrankType |
| 2738 | CFG_MEMORY_RDIMM_CAPABLE, // CfgMemoryRDimmCapable |
| 2739 | CFG_MEMORY_LRDIMM_CAPABLE, // CfgMemoryLRDimmCapable |
| 2740 | CFG_MEMORY_UDIMM_CAPABLE, // CfgMemoryUDimmCapable |
| 2741 | CFG_MEMORY_SODIMM_CAPABLE, // CfgMemorySodimmCapable |
| 2742 | CFG_LIMIT_MEMORY_TO_BELOW_1TB, // CfgLimitMemoryToBelow1Tb |
| 2743 | CFG_MEMORY_ENABLE_BANK_INTERLEAVING, // CfgMemoryEnableBankInterleaving |
| 2744 | CFG_MEMORY_ENABLE_NODE_INTERLEAVING, // CfgMemoryEnableNodeInterleaving |
| 2745 | CFG_MEMORY_CHANNEL_INTERLEAVING, // CfgMemoryChannelInterleaving |
| 2746 | CFG_MEMORY_POWER_DOWN, // CfgMemoryPowerDown |
| 2747 | CFG_POWER_DOWN_MODE, // CfgPowerDownMode |
| 2748 | CFG_ONLINE_SPARE, // CfgOnlineSpare |
| 2749 | CFG_MEMORY_PARITY_ENABLE, // CfgMemoryParityEnable |
| 2750 | CFG_BANK_SWIZZLE, // CfgBankSwizzle |
| 2751 | CFG_TIMING_MODE_SELECT, // CfgTimingModeSelect |
| 2752 | CFG_MEMORY_CLOCK_SELECT, // CfgMemoryClockSelect |
| 2753 | CFG_DQS_TRAINING_CONTROL, // CfgDqsTrainingControl |
| 2754 | CFG_IGNORE_SPD_CHECKSUM, // CfgIgnoreSpdChecksum |
| 2755 | CFG_USE_BURST_MODE, // CfgUseBurstMode |
| 2756 | CFG_MEMORY_ALL_CLOCKS_ON, // CfgMemoryAllClocksOn |
| 2757 | CFG_ENABLE_ECC_FEATURE, // CfgEnableEccFeature |
| 2758 | CFG_ECC_REDIRECTION, // CfgEccRedirection |
| 2759 | CFG_SCRUB_DRAM_RATE, // CfgScrubDramRate |
| 2760 | CFG_SCRUB_L2_RATE, // CfgScrubL2Rate |
| 2761 | CFG_SCRUB_L3_RATE, // CfgScrubL3Rate |
| 2762 | CFG_SCRUB_IC_RATE, // CfgScrubIcRate |
| 2763 | CFG_SCRUB_DC_RATE, // CfgScrubDcRate |
| 2764 | CFG_ECC_SYNC_FLOOD, // CfgEccSyncFlood |
| 2765 | CFG_ECC_SYMBOL_SIZE, // CfgEccSymbolSize |
| 2766 | CFG_HEAP_DRAM_ADDRESS, // CfgHeapDramAddress |
| 2767 | CFG_1GB_ALIGN, // CfgNodeMem1GBAlign |
| 2768 | CFG_S3_LATE_RESTORE, // CfgS3LateRestore |
| 2769 | CFG_ACPI_PSTATE_PSD_INDPX, // CfgAcpiPstateIndependent |
| 2770 | (AP_MTRR_SETTINGS *) CFG_AP_MTRR_SETTINGS_LIST, // CfgApMtrrSettingsList |
| 2771 | CFG_UMA_MODE, // CfgUmaMode |
| 2772 | CFG_UMA_SIZE, // CfgUmaSize |
| 2773 | CFG_UMA_ABOVE4G, // CfgUmaAbove4G |
| 2774 | CFG_UMA_ALIGNMENT, // CfgUmaAlignment |
| 2775 | CFG_PROCESSOR_SCOPE_IN_SB, // CfgProcessorScopeInSb |
| 2776 | CFG_PROCESSOR_SCOPE_NAME0, // CfgProcessorScopeName0 |
| 2777 | CFG_PROCESSOR_SCOPE_NAME1, // CfgProcessorScopeName1 |
| 2778 | CFG_GNB_HD_AUDIO, // CfgGnbHdAudio |
| 2779 | CFG_ABM_SUPPORT, // CfgAbmSupport |
| 2780 | CFG_DYNAMIC_REFRESH_RATE, // CfgDynamicRefreshRate |
| 2781 | CFG_LCD_BACK_LIGHT_CONTROL, // CfgLcdBackLightControl |
| 2782 | CFG_GNB_STEREO_3D_PINOUT, // CfgGnb3dStereoPinIndex |
| 2783 | CFG_TEMP_PCIE_MMIO_BASE_ADDRESS, // CfgTempPcieMmioBaseAddress |
| 2784 | CFG_GNB_IGPU_SSID, // CfgGnbIGPUSSID |
| 2785 | CFG_GNB_HDAUDIO_SSID, // CfgGnbHDAudioSSID |
| 2786 | CFG_GNB_PCIE_SSID, // CfgGnbPcieSSID |
| 2787 | CFG_GFX_LVDS_SPREAD_SPECTRUM, // CfgLvdsSpreadSpectrum |
| 2788 | CFG_GFX_LVDS_SPREAD_SPECTRUM_RATE, // CfgLvdsSpreadSpectrumRate |
| 2789 | |
| 2790 | &FchUserOptions, // FchBldCfg |
| 2791 | |
| 2792 | CFG_IOMMU_SUPPORT, // CfgIommuSupport |
| 2793 | CFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE, // CfgLvdsPowerOnSeqDigonToDe |
| 2794 | CFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL, // CfgLvdsPowerOnSeqDeToVaryBl |
| 2795 | CFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON, // CfgLvdsPowerOnSeqDeToDigon |
| 2796 | CFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE, // CfgLvdsPowerOnSeqVaryBlToDe |
| 2797 | CFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY,// CfgLvdsPowerOnSeqOnToOffDelay |
| 2798 | CFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON,// CfgLvdsPowerOnSeqVaryBlToBlon |
| 2799 | CFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL,// CfgLvdsPowerOnSeqBlonToVaryBl |
| 2800 | CFG_LVDS_MAX_PIXEL_CLOCK_FREQ, // CfgLvdsMaxPixelClockFreq |
| 2801 | CFG_LCD_BIT_DEPTH_CONTROL_VALUE, // CfgLcdBitDepthControlValue |
| 2802 | CFG_LVDS_24BBP_PANEL_MODE, // CfgLvds24bbpPanelMode |
| 2803 | {{ |
| 2804 | CFG_LVDS_MISC_888_FPDI_MODE, // CfgLvdsMiscControl |
| 2805 | CFG_LVDS_MISC_DL_CH_SWAP, // CfgLvdsMiscControl |
| 2806 | CFG_LVDS_MISC_VSYNC_ACTIVE_LOW, // CfgLvdsMiscControl |
| 2807 | CFG_LVDS_MISC_HSYNC_ACTIVE_LOW, // CfgLvdsMiscControl |
| 2808 | CFG_LVDS_MISC_BLON_ACTIVE_LOW, // CfgLvdsMiscControl |
| 2809 | CFG_LVDS_MISC_VOLT_OVERWRITE_ENABLE, // CfgLvdsMiscControl |
| 2810 | }}, |
| 2811 | CFG_PCIE_REFCLK_SPREAD_SPECTRUM, // CfgPcieRefClkSpreadSpectrum |
| 2812 | CFG_ENABLE_EXTERNAL_VREF, // CfgExternalVrefCtlFeature |
| 2813 | CFG_FORCE_TRAIN_MODE, // CfgForceTrainMode |
| 2814 | CFG_GNB_REMOTE_DISPLAY_SUPPORT, // CfgGnbRemoteDisplaySupport |
| 2815 | (IOMMU_EXCLUSION_RANGE_DESCRIPTOR *) CFG_IOMMU_EXCLUSION_RANGE_LIST, // CfgIvrsExclusionRangeList |
| 2816 | CFG_GNB_SYNCFLOOD_PIN_AS_NMI, // CfgGnbSyncFloodPinAsNmi |
| 2817 | CFG_IGPU_ENABLE_DISABLE_POLICY, // CfgIgpuEnableDisablePolicy |
| 2818 | CFG_GNB_THERMAL_SENSOR_CORRECTION, // CfgGnbSwTjOffset |
| 2819 | CFG_LVDS_MISC_VOLT_ADJUSTMENT, // CfgLvdsMiscVoltAdjustment |
| 2820 | {{ |
| 2821 | 0, // Reserved |
| 2822 | CFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE, // CfgDisplayMiscControl.VbiosFastBootEn |
| 2823 | 0, // Reserved |
| 2824 | }}, |
| 2825 | 0, //reserved... |
| 2826 | }; |
| 2827 | |
zbao | 7d94cf9 | 2012-07-02 14:19:14 +0800 | [diff] [blame] | 2828 | CONST DISPATCH_TABLE ROMDATA ApDispatchTable[] = |
| 2829 | { |
| 2830 | IDS_LATE_RUN_AP_TASK |
| 2831 | // Get DMI info |
| 2832 | CPU_DMI_AP_GET_TYPE4_TYPE7 |
| 2833 | // Probe filter enable |
| 2834 | L3_FEAT_AP_DISABLE_CACHE |
| 2835 | L3_FEAT_AP_ENABLE_CACHE |
| 2836 | // Cpu Late Init |
| 2837 | CPU_LATE_INIT_AP_TASK |
| 2838 | { 0, NULL } |
| 2839 | }; |
| 2840 | |
| 2841 | #if AGESA_ENTRY_INIT_EARLY == TRUE |
| 2842 | #if IDSOPT_IDS_ENABLED == TRUE |
| 2843 | #if IDSOPT_TRACING_ENABLED == TRUE |
| 2844 | #define MAKE_DBG_STR(x, y) MAKE_AS_A_STRING(x : y) |
| 2845 | CONST CHAR8 *BldOptDebugOutput[] = { |
| 2846 | #if IDS_TRACE_SHOW_BLD_OPT_CFG == TRUE |
| 2847 | //Build Option Area |
| 2848 | MAKE_DBG_STR (\nOptUDIMM, OPTION_UDIMMS) |
| 2849 | MAKE_DBG_STR (\nOptRDIMM, OPTION_RDIMMS) |
| 2850 | MAKE_DBG_STR (\nOptLRDIMM, OPTION_LRDIMMS) |
| 2851 | MAKE_DBG_STR (\nOptECC, OPTION_ECC) |
| 2852 | MAKE_DBG_STR (\nOptCsIntlv, OPTION_BANK_INTERLEAVE) |
| 2853 | MAKE_DBG_STR (\nOptDctIntlv, OPTION_DCT_INTERLEAVE) |
| 2854 | MAKE_DBG_STR (\nOptNodeIntlv, OPTION_NODE_INTERLEAVE) |
| 2855 | //MAKE_DBG_STR (\nOptParallelTraining, OPTION_PARALLEL_TRAINING) |
| 2856 | MAKE_DBG_STR (\nOptOnlineSpare, OPTION_ONLINE_SPARE) |
| 2857 | MAKE_DBG_STR (\nOptAddr2CsTranslator, OPTION_ADDR_TO_CS_TRANSLATOR) |
| 2858 | MAKE_DBG_STR (\nOptMemRestore, OPTION_MEM_RESTORE) |
| 2859 | MAKE_DBG_STR (\nOptMultiSocket, OPTION_MULTISOCKET) |
| 2860 | MAKE_DBG_STR (\nOptPstates, OPTION_ACPI_PSTATES) |
| 2861 | MAKE_DBG_STR (\nOptSRAT, OPTION_SRAT) |
| 2862 | MAKE_DBG_STR (\nOptSLIT, OPTION_SLIT) |
| 2863 | MAKE_DBG_STR (\nOptWHEA, OPTION_WHEA) |
| 2864 | MAKE_DBG_STR (\nOptDMI, OPTION_DMI) |
| 2865 | MAKE_DBG_STR (\nOptEarlySamples, OPTION_EARLY_SAMPLES), |
| 2866 | |
| 2867 | //Build Configuration Area |
| 2868 | // CoreVrm |
| 2869 | MAKE_DBG_STR (\nVrmCurrentLimit , CFG_VRM_CURRENT_LIMIT) |
| 2870 | MAKE_DBG_STR (\nVrmLowPowerThreshold , CFG_VRM_LOW_POWER_THRESHOLD) |
| 2871 | MAKE_DBG_STR (\nVrmSlewRate , CFG_VRM_SLEW_RATE) |
| 2872 | MAKE_DBG_STR (\nVrmAdditionalDelay , CFG_VRM_ADDITIONAL_DELAY) |
| 2873 | MAKE_DBG_STR (\nVrmHiSpeedEnable , CFG_VRM_HIGH_SPEED_ENABLE) |
| 2874 | MAKE_DBG_STR (\nVrmInrushCurrentLimit, CFG_VRM_MAXIMUM_CURRENT_LIMIT) |
| 2875 | MAKE_DBG_STR (\nVrmSviOcpLevel, CFG_VRM_SVI_OCP_LEVEL) |
| 2876 | // NbVrm |
| 2877 | MAKE_DBG_STR (\nNbVrmCurrentLimit , CFG_VRM_NB_CURRENT_LIMIT) |
| 2878 | MAKE_DBG_STR (\nNbVrmLowPowerThreshold , CFG_VRM_NB_LOW_POWER_THRESHOLD) |
| 2879 | MAKE_DBG_STR (\nNbVrmSlewRate , CFG_VRM_NB_SLEW_RATE) |
| 2880 | MAKE_DBG_STR (\nNbVrmAdditionalDelay , CFG_VRM_NB_ADDITIONAL_DELAY) |
| 2881 | MAKE_DBG_STR (\nNbVrmHiSpeedEnable , CFG_VRM_NB_HIGH_SPEED_ENABLE) |
| 2882 | MAKE_DBG_STR (\nNbVrmInrushCurrentLimit, CFG_VRM_NB_MAXIMUM_CURRENT_LIMIT), |
| 2883 | MAKE_DBG_STR (\nNbVrmSviOcpLevel, CFG_VRM_NB_SVI_OCP_LEVEL) |
| 2884 | |
| 2885 | MAKE_DBG_STR (\nNumIoApics , CFG_PLAT_NUM_IO_APICS) |
| 2886 | MAKE_DBG_STR (\nMemInitPstate , CFG_MEM_INIT_PSTATE) |
| 2887 | MAKE_DBG_STR (\nC1eMode , CFG_C1E_MODE) |
| 2888 | MAKE_DBG_STR (\nC1eOpData , CFG_C1E_OPDATA) |
| 2889 | MAKE_DBG_STR (\nC1eOpdata1 , CFG_C1E_OPDATA1) |
| 2890 | MAKE_DBG_STR (\nC1eOpdata2 , CFG_C1E_OPDATA2) |
| 2891 | MAKE_DBG_STR (\nC1eOpdata3 , CFG_C1E_OPDATA3) |
| 2892 | MAKE_DBG_STR (\nCStateMode , CFG_CSTATE_MODE) |
| 2893 | MAKE_DBG_STR (\nCStateOpData , CFG_CSTATE_OPDATA) |
| 2894 | MAKE_DBG_STR (\nCStateIoBaseAddr , CFG_CSTATE_IO_BASE_ADDRESS) |
| 2895 | MAKE_DBG_STR (\nCpbMode , CFG_CPB_MODE) |
| 2896 | MAKE_DBG_STR (\nCoreLevelingMode , CFG_CORE_LEVELING_MODE), |
| 2897 | |
| 2898 | MAKE_DBG_STR (\nControlFlowMode , CFG_PLATFORM_CONTROL_FLOW_MODE) |
| 2899 | MAKE_DBG_STR (\nUseHtAssist , CFG_USE_HT_ASSIST) |
| 2900 | MAKE_DBG_STR (\nUseAtmMode , CFG_USE_ATM_MODE) |
| 2901 | MAKE_DBG_STR (\nUse32ByteRefresh , CFG_USE_32_BYTE_REFRESH) |
| 2902 | MAKE_DBG_STR (\nUseVarMctIsocPriority , CFG_USE_VARIABLE_MCT_ISOC_PRIORITY) |
| 2903 | MAKE_DBG_STR (\nPowerPolicy , CFG_PLATFORM_POWER_POLICY_MOD) |
| 2904 | |
| 2905 | MAKE_DBG_STR (\nDeemphasisList , CFG_PLATFORM_DEEMPHASIS_LIST) |
| 2906 | |
| 2907 | MAKE_DBG_STR (\nPciMmioAddr , CFG_PCI_MMIO_BASE) |
| 2908 | MAKE_DBG_STR (\nPciMmioSize , CFG_PCI_MMIO_SIZE) |
| 2909 | MAKE_DBG_STR (\nPlatformType , CFG_AMD_PLATFORM_TYPE) |
| 2910 | MAKE_DBG_STR (\nPstateCapValue , CFG_AMD_PSTATE_CAP_VALUE), |
| 2911 | |
| 2912 | MAKE_DBG_STR (\nMemBusFreqLimit , CFG_MEMORY_BUS_FREQUENCY_LIMIT) |
| 2913 | MAKE_DBG_STR (\nTimingModeSelect , CFG_TIMING_MODE_SELECT) |
| 2914 | MAKE_DBG_STR (\nMemoryClockSelect , CFG_MEMORY_CLOCK_SELECT) |
| 2915 | |
| 2916 | MAKE_DBG_STR (\nMemUnganged , CFG_MEMORY_MODE_UNGANGED) |
| 2917 | MAKE_DBG_STR (\nQRCap , CFG_MEMORY_QUAD_RANK_CAPABLE) |
| 2918 | MAKE_DBG_STR (\nQRType , CFG_MEMORY_QUADRANK_TYPE) |
| 2919 | MAKE_DBG_STR (\nRDimmCap , CFG_MEMORY_RDIMM_CAPABLE) |
| 2920 | MAKE_DBG_STR (\nLRDimmCap , CFG_MEMORY_LRDIMM_CAPABLE) |
| 2921 | MAKE_DBG_STR (\nUDimmCap , CFG_MEMORY_UDIMM_CAPABLE) |
| 2922 | MAKE_DBG_STR (\nSODimmCap , CFG_MEMORY_SODIMM_CAPABLE) |
| 2923 | MAKE_DBG_STR (\nDqsTrainingControl , CFG_DQS_TRAINING_CONTROL) |
| 2924 | MAKE_DBG_STR (\nIgnoreSpdChecksum , CFG_IGNORE_SPD_CHECKSUM) |
| 2925 | MAKE_DBG_STR (\nUseBurstMode , CFG_USE_BURST_MODE) |
| 2926 | MAKE_DBG_STR (\nAllMemClkOn , CFG_MEMORY_ALL_CLOCKS_ON), |
| 2927 | |
| 2928 | MAKE_DBG_STR (\nPowerDownEn , CFG_MEMORY_POWER_DOWN) |
| 2929 | MAKE_DBG_STR (\nPowerDownMode , CFG_POWER_DOWN_MODE) |
| 2930 | MAKE_DBG_STR (\nOnlineSpare , CFG_ONLINE_SPARE) |
| 2931 | MAKE_DBG_STR (\nAddrParityEn , CFG_MEMORY_PARITY_ENABLE) |
| 2932 | MAKE_DBG_STR (\nBankSwizzle , CFG_BANK_SWIZZLE) |
| 2933 | MAKE_DBG_STR (\nLimitBelow1TB , CFG_LIMIT_MEMORY_TO_BELOW_1TB) |
| 2934 | MAKE_DBG_STR (\nCsIntlvEn , CFG_MEMORY_ENABLE_BANK_INTERLEAVING) |
| 2935 | MAKE_DBG_STR (\nNodeIntlvEn , CFG_MEMORY_ENABLE_NODE_INTERLEAVING) |
| 2936 | MAKE_DBG_STR (\nDctIntlvEn , CFG_MEMORY_CHANNEL_INTERLEAVING), |
| 2937 | |
| 2938 | MAKE_DBG_STR (\nUmaMode , CFG_UMA_MODE) |
| 2939 | MAKE_DBG_STR (\nUmaSize , CFG_UMA_SIZE) |
| 2940 | MAKE_DBG_STR (\nUmaAbove4G , CFG_UMA_ABOVE4G) |
| 2941 | MAKE_DBG_STR (\nUmaAlignment , CFG_UMA_ALIGNMENT) |
| 2942 | |
| 2943 | MAKE_DBG_STR (\nEccEn , CFG_ENABLE_ECC_FEATURE) |
| 2944 | MAKE_DBG_STR (\nEccRedirect , CFG_ECC_REDIRECTION) |
| 2945 | MAKE_DBG_STR (\nScrubDramRate , CFG_SCRUB_DRAM_RATE) |
| 2946 | MAKE_DBG_STR (\nScrubL2Rate , CFG_SCRUB_L2_RATE) |
| 2947 | MAKE_DBG_STR (\nScrubL3Rate , CFG_SCRUB_L3_RATE) |
| 2948 | MAKE_DBG_STR (\nScrubIcRate , CFG_SCRUB_IC_RATE) |
| 2949 | MAKE_DBG_STR (\nScrubDcRate , CFG_SCRUB_DC_RATE) |
| 2950 | MAKE_DBG_STR (\nEccSyncFlood , CFG_ECC_SYNC_FLOOD) |
| 2951 | MAKE_DBG_STR (\nEccSymbolSize , CFG_ECC_SYMBOL_SIZE) |
| 2952 | MAKE_DBG_STR (\nHeapDramAddress , CFG_HEAP_DRAM_ADDRESS) |
| 2953 | MAKE_DBG_STR (\nNodeMem1GBAlign , CFG_1GB_ALIGN), |
| 2954 | |
| 2955 | MAKE_DBG_STR (\nS3LateRestore , CFG_S3_LATE_RESTORE) |
| 2956 | MAKE_DBG_STR (\nAcpiPstateIndependent , CFG_ACPI_PSTATE_PSD_INDPX) |
| 2957 | |
| 2958 | MAKE_DBG_STR (\nApMtrrSettingsList , CFG_AP_MTRR_SETTINGS_LIST) |
| 2959 | |
| 2960 | MAKE_DBG_STR (\nProcessorScopeInSb , CFG_PROCESSOR_SCOPE_IN_SB) |
| 2961 | MAKE_DBG_STR (\nProcessorScopeName0 , CFG_PROCESSOR_SCOPE_NAME0) |
| 2962 | MAKE_DBG_STR (\nProcessorScopeName1 , CFG_PROCESSOR_SCOPE_NAME1) |
| 2963 | MAKE_DBG_STR (\nGnbHdAudio , CFG_GNB_HD_AUDIO) |
| 2964 | MAKE_DBG_STR (\nAbmSupport , CFG_ABM_SUPPORT) |
| 2965 | MAKE_DBG_STR (\nDynamicRefreshRate , CFG_DYNAMIC_REFRESH_RATE) |
| 2966 | MAKE_DBG_STR (\nLcdBackLightControl , CFG_LCD_BACK_LIGHT_CONTROL) |
| 2967 | MAKE_DBG_STR (\nGnb3dStereoPinIndex , CFG_GNB_STEREO_3D_PINOUT) |
| 2968 | MAKE_DBG_STR (\nTempPcieMmioBaseAddress, CFG_TEMP_PCIE_MMIO_BASE_ADDRESS), |
| 2969 | MAKE_DBG_STR (\nCfgGnbIGPUSSID , CFG_GNB_IGPU_SSID) |
| 2970 | MAKE_DBG_STR (\nCfgGnbHDAudioSSID , CFG_GNB_HDAUDIO_SSID) |
| 2971 | MAKE_DBG_STR (\nCfgGnbPcieSSID , CFG_GNB_PCIE_SSID) |
| 2972 | MAKE_DBG_STR (\nCfgIommuSupport , CFG_IOMMU_SUPPORT) |
| 2973 | MAKE_DBG_STR (\nCfgLvdsSpreadSpectrum , CFG_GFX_LVDS_SPREAD_SPECTRUM) |
| 2974 | MAKE_DBG_STR (\nCfgLvdsSpreadSpectrumRate , CFG_GFX_LVDS_SPREAD_SPECTRUM_RATE) |
| 2975 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqDigonToDe , CFG_LVDS_POWER_ON_SEQ_DIGON_TO_DE) |
| 2976 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqDeToVaryBl , CFG_LVDS_POWER_ON_SEQ_DE_TO_VARY_BL) |
| 2977 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqDeToDigon , CFG_LVDS_POWER_ON_SEQ_DE_TO_DIGON) |
| 2978 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqVaryBlToDe , CFG_LVDS_POWERS_ON_SEQ_VARY_BL_TO_DE) |
| 2979 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqOnToOffDelay , CFG_LVDS_POWER_ON_SEQ_ON_TO_OFF_DELAY) |
| 2980 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqVaryBlToBlon , CFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON) |
| 2981 | MAKE_DBG_STR (\nCfgLvdsPowerOnSeqBlonToVaryBl , CFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL) |
| 2982 | MAKE_DBG_STR (\nCfgLvdsMaxPixelClockFreq , CFG_LVDS_MAX_PIXEL_CLOCK_FREQ) |
| 2983 | MAKE_DBG_STR (\nCfgLcdBitDepthControlValue , CFG_LCD_BIT_DEPTH_CONTROL_VALUE) |
| 2984 | MAKE_DBG_STR (\nCfgLvds24bbpPanelMode , CFG_LVDS_24BBP_PANEL_MODE), |
| 2985 | MAKE_DBG_STR (\nCfgLvdsMiscControl.FpdiMode , CFG_LVDS_MISC_888_FPDI_MODE), |
| 2986 | MAKE_DBG_STR (\nCfgLvdsMiscControl.DlChSwap , CFG_LVDS_MISC_DL_CH_SWAP), |
| 2987 | MAKE_DBG_STR (\nCfgLvdsMiscControl.VsyncActiveLow , CFG_LVDS_MISC_VSYNC_ACTIVE_LOW), |
| 2988 | MAKE_DBG_STR (\nCfgLvdsMiscControl.HsyncActiveLow , CFG_LVDS_MISC_HSYNC_ACTIVE_LOW), |
| 2989 | MAKE_DBG_STR (\nCfgLvdsMiscControl.BLONActiveLow , CFG_LVDS_MISC_BLON_ACTIVE_LOW), |
| 2990 | MAKE_DBG_STR (\nCfgPcieRefClkSpreadSpectrum , CFG_PCIE_REFCLK_SPREAD_SPECTRUM), |
| 2991 | MAKE_DBG_STR (\nCfgExtVref , CFG_ENABLE_EXTERNAL_VREF), |
| 2992 | MAKE_DBG_STR (\nCfgForceTrainMode , CFG_FORCE_TRAIN_MODE), |
| 2993 | MAKE_DBG_STR (\nCfgGnbRemoteDisplaySupport , CFG_GNB_REMOTE_DISPLAY_CONFIG), |
| 2994 | MAKE_DBG_STR (\nCfgIvrsExclusionRangeList , CFG_IOMMU_EXCLUSION_RANGE_LIST), |
| 2995 | MAKE_DBG_STR (\nCfgGnbSyncFloodPinAsNmi , CFG_GNB_SYNCFLOOD_PIN_AS_NMI), |
| 2996 | MAKE_DBG_STR (\nCfgIgpuEnableDisablePolicy , CFG_IGPU_ENABLE_DISABLE_POLICY), |
| 2997 | MAKE_DBG_STR (\nCfgGnbSwTjOffset , CFG_GNB_THERMAL_SENSOR_CORRECTION), |
| 2998 | MAKE_DBG_STR (\nCfgDisplayMiscControl.VbiosFastBootEn , CFG_DISPLAY_MISC_VBIOS_FAST_BOOT_ENABLE), |
| 2999 | #endif |
| 3000 | NULL |
| 3001 | }; |
| 3002 | #endif |
| 3003 | #endif |
| 3004 | #endif |