zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Advanced Micro Devices, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | /** |
| 17 | * @file |
| 18 | * |
| 19 | * AMD User options selection for a Brazos platform solution system |
| 20 | * |
| 21 | * This file is placed in the user's platform directory and contains the |
| 22 | * build option selections desired for that platform. |
| 23 | * |
| 24 | * For Information about this file, see @ref platforminstall. |
| 25 | * |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 26 | */ |
| 27 | |
Edward O'Callaghan | d5339ae | 2014-07-07 19:58:53 +1000 | [diff] [blame] | 28 | #include <stdlib.h> |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 29 | #include "AGESA.h" |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 30 | #include "Filecode.h" |
| 31 | #define FILECODE PLATFORM_SPECIFIC_OPTIONS_FILECODE |
| 32 | |
Elyes HAOUAS | 8ab989e | 2016-07-30 17:46:17 +0200 | [diff] [blame] | 33 | /* Select the CPU family. */ |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 34 | #define INSTALL_FAMILY_10_SUPPORT FALSE |
| 35 | #define INSTALL_FAMILY_12_SUPPORT FALSE |
| 36 | #define INSTALL_FAMILY_14_SUPPORT FALSE |
| 37 | #define INSTALL_FAMILY_15_MODEL_1x_SUPPORT TRUE |
| 38 | |
Elyes HAOUAS | 8ab989e | 2016-07-30 17:46:17 +0200 | [diff] [blame] | 39 | /* Select the CPU socket type. */ |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 40 | #define INSTALL_G34_SOCKET_SUPPORT FALSE |
| 41 | #define INSTALL_C32_SOCKET_SUPPORT FALSE |
| 42 | #define INSTALL_S1G3_SOCKET_SUPPORT FALSE |
| 43 | #define INSTALL_S1G4_SOCKET_SUPPORT FALSE |
| 44 | #define INSTALL_ASB2_SOCKET_SUPPORT FALSE |
| 45 | #define INSTALL_FS1_SOCKET_SUPPORT TRUE |
| 46 | #define INSTALL_FM1_SOCKET_SUPPORT FALSE |
| 47 | #define INSTALL_FP2_SOCKET_SUPPORT TRUE |
| 48 | #define INSTALL_FT1_SOCKET_SUPPORT FALSE |
| 49 | #define INSTALL_AM3_SOCKET_SUPPORT FALSE |
| 50 | |
| 51 | #define INSTALL_FM2_SOCKET_SUPPORT FALSE |
| 52 | |
| 53 | //#define BLDOPT_REMOVE_UDIMMS_SUPPORT TRUE |
| 54 | //#define BLDOPT_REMOVE_RDIMMS_SUPPORT TRUE |
| 55 | #define BLDOPT_REMOVE_LRDIMMS_SUPPORT TRUE |
| 56 | //#define BLDOPT_REMOVE_ECC_SUPPORT TRUE |
| 57 | //#define BLDOPT_REMOVE_BANK_INTERLEAVE TRUE |
| 58 | //#define BLDOPT_REMOVE_DCT_INTERLEAVE TRUE |
| 59 | #define BLDOPT_REMOVE_NODE_INTERLEAVE TRUE |
| 60 | #define BLDOPT_REMOVE_PARALLEL_TRAINING TRUE |
| 61 | #define BLDOPT_REMOVE_ONLINE_SPARE_SUPPORT TRUE |
| 62 | //#define BLDOPT_REMOVE_MEM_RESTORE_SUPPORT TRUE |
| 63 | #define BLDOPT_REMOVE_MULTISOCKET_SUPPORT TRUE |
| 64 | //#define BLDOPT_REMOVE_ACPI_PSTATES FALSE |
| 65 | #define BLDOPT_REMOVE_SRAT FALSE //TRUE |
| 66 | #define BLDOPT_REMOVE_SLIT FALSE //TRUE |
| 67 | #define BLDOPT_REMOVE_WHEA FALSE //TRUE |
| 68 | #define BLDOPT_REMOVE_CRAT TRUE |
WANG Siyuan | 87bdd86 | 2013-11-18 10:34:06 +0800 | [diff] [blame] | 69 | #define BLDOPT_REMOVE_DMI TRUE |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 70 | //#define BLDOPT_REMOVE_EARLY_SAMPLES FALSE |
| 71 | //#define BLDCFG_REMOVE_ACPI_PSTATES_PPC TRUE |
| 72 | //#define BLDCFG_REMOVE_ACPI_PSTATES_PCT TRUE |
| 73 | //#define BLDCFG_REMOVE_ACPI_PSTATES_PSD TRUE |
| 74 | //#define BLDCFG_REMOVE_ACPI_PSTATES_PSS TRUE |
| 75 | //#define BLDCFG_REMOVE_ACPI_PSTATES_XPSS TRUE |
| 76 | |
| 77 | //This element selects whether P-States should be forced to be independent, |
| 78 | // as reported by the ACPI _PSD object. For single-link processors, |
| 79 | // setting TRUE for OS to support this feature. |
| 80 | |
| 81 | //#define BLDCFG_FORCE_INDEPENDENT_PSD_OBJECT TRUE |
| 82 | |
| 83 | #define BLDCFG_PCI_MMIO_BASE CONFIG_MMCONF_BASE_ADDRESS |
| 84 | #define BLDCFG_PCI_MMIO_SIZE CONFIG_MMCONF_BUS_NUMBER |
| 85 | /* Build configuration values here. |
| 86 | */ |
| 87 | #define BLDCFG_VRM_CURRENT_LIMIT 90000 |
| 88 | #define BLDCFG_VRM_LOW_POWER_THRESHOLD 0 |
| 89 | #define BLDCFG_VRM_MAXIMUM_CURRENT_LIMIT 0 |
| 90 | #define BLDCFG_PLAT_NUM_IO_APICS 3 |
| 91 | #define BLDCFG_CORE_LEVELING_MODE CORE_LEVEL_LOWEST |
| 92 | #define BLDCFG_MEM_INIT_PSTATE 0 |
| 93 | |
| 94 | #define BLDCFG_AMD_PLATFORM_TYPE AMD_PLATFORM_MOBILE |
| 95 | |
| 96 | #define BLDCFG_MEMORY_BUS_FREQUENCY_LIMIT DDR1866_FREQUENCY |
| 97 | #define BLDCFG_MEMORY_MODE_UNGANGED TRUE |
| 98 | #define BLDCFG_MEMORY_QUAD_RANK_CAPABLE TRUE |
| 99 | #define BLDCFG_MEMORY_QUADRANK_TYPE QUADRANK_UNBUFFERED |
| 100 | #define BLDCFG_MEMORY_RDIMM_CAPABLE FALSE |
| 101 | #define BLDCFG_MEMORY_UDIMM_CAPABLE TRUE |
| 102 | #define BLDCFG_MEMORY_SODIMM_CAPABLE TRUE |
| 103 | #define BLDCFG_MEMORY_ENABLE_BANK_INTERLEAVING TRUE |
| 104 | #define BLDCFG_MEMORY_ENABLE_NODE_INTERLEAVING FALSE |
| 105 | #define BLDCFG_MEMORY_CHANNEL_INTERLEAVING TRUE |
| 106 | #define BLDCFG_MEMORY_POWER_DOWN TRUE |
| 107 | #define BLDCFG_POWER_DOWN_MODE POWER_DOWN_BY_CHIP_SELECT |
| 108 | #define BLDCFG_ONLINE_SPARE FALSE |
| 109 | #define BLDCFG_BANK_SWIZZLE TRUE |
| 110 | #define BLDCFG_TIMING_MODE_SELECT TIMING_MODE_AUTO |
| 111 | #define BLDCFG_MEMORY_CLOCK_SELECT DDR1866_FREQUENCY |
| 112 | #define BLDCFG_DQS_TRAINING_CONTROL TRUE |
| 113 | #define BLDCFG_IGNORE_SPD_CHECKSUM FALSE |
| 114 | #define BLDCFG_USE_BURST_MODE FALSE |
| 115 | #define BLDCFG_MEMORY_ALL_CLOCKS_ON FALSE |
| 116 | #define BLDCFG_ENABLE_ECC_FEATURE TRUE |
| 117 | #define BLDCFG_ECC_REDIRECTION FALSE |
| 118 | #define BLDCFG_SCRUB_DRAM_RATE 0 |
| 119 | #define BLDCFG_SCRUB_L2_RATE 0 |
| 120 | #define BLDCFG_SCRUB_L3_RATE 0 |
| 121 | #define BLDCFG_SCRUB_IC_RATE 0 |
| 122 | #define BLDCFG_SCRUB_DC_RATE 0 |
| 123 | #define BLDCFG_ECC_SYMBOL_SIZE 4 |
| 124 | #define BLDCFG_HEAP_DRAM_ADDRESS 0xB0000 |
| 125 | #define BLDCFG_ECC_SYNC_FLOOD FALSE |
| 126 | #define BLDCFG_VRM_HIGH_SPEED_ENABLE TRUE |
| 127 | #define BLDCFG_1GB_ALIGN FALSE |
| 128 | #define BLDCFG_VRM_HIGH_SPEED_ENABLE TRUE |
| 129 | #define BLDCFG_PCIE_REFCLK_SPREAD_SPECTRUM 36 // PCIE Spread Spectrum default value 0.36% |
| 130 | #define BLDCFG_PLATFORM_CSTATE_IO_BASE_ADDRESS 0x1770 |
| 131 | |
| 132 | #define BLDOPT_REMOVE_ALIB FALSE |
| 133 | #define BLDCFG_PLATFORM_CPB_MODE CpbModeDisabled |
| 134 | #define BLDCFG_PROCESSOR_SCOPE_NAME0 'P' |
| 135 | #define BLDCFG_PROCESSOR_SCOPE_NAME1 '0' |
| 136 | #define BLDCFG_PLATFORM_CSTATE_MODE CStateModeC6 |
| 137 | |
| 138 | #define BLDCFG_CFG_LCD_BACK_LIGHT_CONTROL 200 |
| 139 | #define BLDCFG_CFG_ABM_SUPPORT 0 |
| 140 | |
| 141 | //#define BLDCFG_PLATFORM_CSTATE_OPDATA 0x1770 |
| 142 | |
| 143 | // Specify the default values for the VRM controlling the VDDNB plane. |
| 144 | // If not specified, the values used for the core VRM will be applied |
| 145 | //#define BLDCFG_VRM_NB_CURRENT_LIMIT 0 // Not currently used on Trinity |
| 146 | //#define BLDCFG_VRM_NB_LOW_POWER_THRESHOLD 1 // Zero - disable NBPSI_L, Non-zero - enable NBPSI_L |
| 147 | //#define BLDCFG_VRM_NB_SLEW_RATE 5000 // Used in calculating the VSRampSlamTime |
| 148 | //#define BLDCFG_VRM_NB_ADDITIONAL_DELAY 0 // Not currently used on Trinity |
| 149 | //#define BLDCFG_VRM_NB_HIGH_SPEED_ENABLE 0 // Not currently used on Trinity |
| 150 | //#define BLDCFG_VRM_NB_INRUSH_CURRENT_LIMIT 0 // Not currently used on Trinity |
| 151 | |
| 152 | #define BLDCFG_VRM_NB_CURRENT_LIMIT 60000 |
| 153 | |
| 154 | #define BLDCFG_LVDS_POWER_ON_SEQ_VARY_BL_TO_BLON 3 |
| 155 | #define BLDCFG_LVDS_POWER_ON_SEQ_BLON_TO_VARY_BL 3 |
| 156 | |
| 157 | #if CONFIG_GFXUMA |
| 158 | #define BLDCFG_UMA_ALIGNMENT UMA_4MB_ALIGNED |
| 159 | #define BLDCFG_UMA_ALLOCATION_MODE UMA_SPECIFIED |
| 160 | //#define BLDCFG_UMA_ALLOCATION_SIZE 0x1000//0x1800//0x1000 /* (1000 << 16) = 256M*/ |
| 161 | #define BLDCFG_UMA_ALLOCATION_SIZE 0x2000//512M |
| 162 | #define BLDCFG_UMA_ABOVE4G_SUPPORT FALSE |
| 163 | #endif |
| 164 | |
| 165 | #define BLDCFG_IOMMU_SUPPORT FALSE |
| 166 | |
| 167 | #define BLDCFG_CFG_GNB_HD_AUDIO TRUE |
| 168 | //#define BLDCFG_IGPU_SUBSYSTEM_ID OEM_IGPU_SSID |
| 169 | //#define BLDCFG_IGPU_HD_AUDIO_SUBSYSTEM_ID OEM_IGPU_HD_AUDIO_SSID |
| 170 | //#define BLFCFG_APU_PCIE_PORTS_SUBSYSTEM_ID OEM_APU_PCIE_PORTS_SSID |
| 171 | |
| 172 | /* Process the options... |
| 173 | * This file include MUST occur AFTER the user option selection settings |
| 174 | */ |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 175 | /* |
| 176 | * Customized OEM build configurations for FCH component |
| 177 | */ |
| 178 | // #define BLDCFG_SMBUS0_BASE_ADDRESS 0xB00 |
| 179 | // #define BLDCFG_SMBUS1_BASE_ADDRESS 0xB20 |
| 180 | // #define BLDCFG_SIO_PME_BASE_ADDRESS 0xE00 |
| 181 | // #define BLDCFG_ACPI_PM1_EVT_BLOCK_ADDRESS 0x400 |
| 182 | // #define BLDCFG_ACPI_PM1_CNT_BLOCK_ADDRESS 0x404 |
| 183 | // #define BLDCFG_ACPI_PM_TMR_BLOCK_ADDRESS 0x408 |
| 184 | // #define BLDCFG_ACPI_CPU_CNT_BLOCK_ADDRESS 0x410 |
| 185 | // #define BLDCFG_ACPI_GPE0_BLOCK_ADDRESS 0x420 |
| 186 | // #define BLDCFG_SPI_BASE_ADDRESS 0xFEC10000 |
| 187 | // #define BLDCFG_WATCHDOG_TIMER_BASE 0xFEC00000 |
| 188 | // #define BLDCFG_HPET_BASE_ADDRESS 0xFED00000 |
| 189 | // #define BLDCFG_SMI_CMD_PORT_ADDRESS 0xB0 |
| 190 | // #define BLDCFG_ACPI_PMA_BLK_ADDRESS 0xFE00 |
| 191 | // #define BLDCFG_ROM_BASE_ADDRESS 0xFED61000 |
| 192 | // #define BLDCFG_AZALIA_SSID 0x780D1022 |
| 193 | // #define BLDCFG_SMBUS_SSID 0x780B1022 |
| 194 | // #define BLDCFG_IDE_SSID 0x780C1022 |
| 195 | // #define BLDCFG_SATA_AHCI_SSID 0x78011022 |
| 196 | // #define BLDCFG_SATA_IDE_SSID 0x78001022 |
| 197 | // #define BLDCFG_SATA_RAID5_SSID 0x78031022 |
| 198 | // #define BLDCFG_SATA_RAID_SSID 0x78021022 |
| 199 | // #define BLDCFG_EHCI_SSID 0x78081022 |
| 200 | // #define BLDCFG_OHCI_SSID 0x78071022 |
| 201 | // #define BLDCFG_LPC_SSID 0x780E1022 |
| 202 | // #define BLDCFG_SD_SSID 0x78061022 |
| 203 | // #define BLDCFG_XHCI_SSID 0x78121022 |
| 204 | // #define BLDCFG_FCH_PORT80_BEHIND_PCIB FALSE |
| 205 | // #define BLDCFG_FCH_ENABLE_ACPI_SLEEP_TRAP TRUE |
| 206 | // #define BLDCFG_FCH_GPP_LINK_CONFIG PortA4 |
| 207 | // #define BLDCFG_FCH_GPP_PORT0_PRESENT FALSE |
| 208 | // #define BLDCFG_FCH_GPP_PORT1_PRESENT FALSE |
| 209 | // #define BLDCFG_FCH_GPP_PORT2_PRESENT FALSE |
| 210 | // #define BLDCFG_FCH_GPP_PORT3_PRESENT FALSE |
| 211 | // #define BLDCFG_FCH_GPP_PORT0_HOTPLUG FALSE |
| 212 | // #define BLDCFG_FCH_GPP_PORT1_HOTPLUG FALSE |
| 213 | // #define BLDCFG_FCH_GPP_PORT2_HOTPLUG FALSE |
| 214 | // #define BLDCFG_FCH_GPP_PORT3_HOTPLUG FALSE |
| 215 | |
| 216 | CONST AP_MTRR_SETTINGS ROMDATA TrinityApMtrrSettingsList[] = |
| 217 | { |
| 218 | { AMD_AP_MTRR_FIX64k_00000, 0x1E1E1E1E1E1E1E1E }, |
| 219 | { AMD_AP_MTRR_FIX16k_80000, 0x1E1E1E1E1E1E1E1E }, |
| 220 | { AMD_AP_MTRR_FIX16k_A0000, 0x0000000000000000 }, |
| 221 | { AMD_AP_MTRR_FIX4k_C0000, 0x0000000000000000 }, |
| 222 | { AMD_AP_MTRR_FIX4k_C8000, 0x0000000000000000 }, |
| 223 | { AMD_AP_MTRR_FIX4k_D0000, 0x0000000000000000 }, |
| 224 | { AMD_AP_MTRR_FIX4k_D8000, 0x0000000000000000 }, |
| 225 | { AMD_AP_MTRR_FIX4k_E0000, 0x1818181818181818 }, |
| 226 | { AMD_AP_MTRR_FIX4k_E8000, 0x1818181818181818 }, |
| 227 | { AMD_AP_MTRR_FIX4k_F0000, 0x1818181818181818 }, |
| 228 | { AMD_AP_MTRR_FIX4k_F8000, 0x1818181818181818 }, |
| 229 | { CPU_LIST_TERMINAL } |
| 230 | }; |
| 231 | |
| 232 | #define BLDCFG_AP_MTRR_SETTINGS_LIST &TrinityApMtrrSettingsList |
| 233 | |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 234 | |
| 235 | /* Include the files that instantiate the configuration definitions. */ |
| 236 | #include "cpuRegisters.h" |
| 237 | #include "cpuFamRegisters.h" |
| 238 | #include "cpuFamilyTranslation.h" |
| 239 | #include "AdvancedApi.h" |
| 240 | #include "heapManager.h" |
| 241 | #include "CreateStruct.h" |
| 242 | #include "cpuFeatures.h" |
| 243 | #include "Table.h" |
zbao | ea71e81 | 2012-08-02 18:36:36 +0800 | [diff] [blame] | 244 | #include "cpuEarlyInit.h" |
| 245 | #include "cpuLateInit.h" |
| 246 | #include "GnbInterface.h" |
| 247 | |
| 248 | // This is the delivery package title, "BrazosPI" |
| 249 | // This string MUST be exactly 8 characters long |
| 250 | #define AGESA_PACKAGE_STRING {'c', 'b', '_', 'A', 'g', 'e', 's', 'a'} |
| 251 | |
| 252 | // This is the release version number of the AGESA component |
| 253 | // This string MUST be exactly 12 characters long |
| 254 | #define AGESA_VERSION_STRING {'V', '0', '.', '0', '.', '0', '.', '1', ' ', ' ', ' ', ' '} |
| 255 | |
| 256 | /* MEMORY_BUS_SPEED */ |
| 257 | #define DDR400_FREQUENCY 200 ///< DDR 400 |
| 258 | #define DDR533_FREQUENCY 266 ///< DDR 533 |
| 259 | #define DDR667_FREQUENCY 333 ///< DDR 667 |
| 260 | #define DDR800_FREQUENCY 400 ///< DDR 800 |
| 261 | #define DDR1066_FREQUENCY 533 ///< DDR 1066 |
| 262 | #define DDR1333_FREQUENCY 667 ///< DDR 1333 |
| 263 | #define DDR1600_FREQUENCY 800 ///< DDR 1600 |
| 264 | #define DDR1866_FREQUENCY 933 ///< DDR 1866 |
| 265 | #define DDR2100_FREQUENCY 1050 ///< DDR 2100 |
| 266 | #define DDR2133_FREQUENCY 1066 ///< DDR 2133 |
| 267 | #define DDR2400_FREQUENCY 1200 ///< DDR 2400 |
| 268 | #define UNSUPPORTED_DDR_FREQUENCY 1201 ///< Highest limit of DDR frequency |
| 269 | |
| 270 | /* QUANDRANK_TYPE*/ |
| 271 | #define QUADRANK_REGISTERED 0 ///< Quadrank registered DIMM |
| 272 | #define QUADRANK_UNBUFFERED 1 ///< Quadrank unbuffered DIMM |
| 273 | |
| 274 | /* USER_MEMORY_TIMING_MODE */ |
| 275 | #define TIMING_MODE_AUTO 0 ///< Use best rate possible |
| 276 | #define TIMING_MODE_LIMITED 1 ///< Set user top limit |
| 277 | #define TIMING_MODE_SPECIFIC 2 ///< Set user specified speed |
| 278 | |
| 279 | /* POWER_DOWN_MODE */ |
| 280 | #define POWER_DOWN_BY_CHANNEL 0 ///< Channel power down mode |
| 281 | #define POWER_DOWN_BY_CHIP_SELECT 1 ///< Chip select power down mode |
| 282 | |
| 283 | /* |
| 284 | * Agesa optional capabilities selection. |
| 285 | * Uncomment and mark FALSE those features you wish to include in the build. |
| 286 | * Comment out or mark TRUE those features you want to REMOVE from the build. |
| 287 | */ |
| 288 | |
| 289 | #define DFLT_SMBUS0_BASE_ADDRESS 0xB00 |
| 290 | #define DFLT_SMBUS1_BASE_ADDRESS 0xB20 |
| 291 | #define DFLT_SIO_PME_BASE_ADDRESS 0xE00 |
| 292 | #define DFLT_ACPI_PM1_EVT_BLOCK_ADDRESS 0x800 |
| 293 | #define DFLT_ACPI_PM1_CNT_BLOCK_ADDRESS 0x804 |
| 294 | #define DFLT_ACPI_PM_TMR_BLOCK_ADDRESS 0x808 |
| 295 | #define DFLT_ACPI_CPU_CNT_BLOCK_ADDRESS 0x810 |
| 296 | #define DFLT_ACPI_GPE0_BLOCK_ADDRESS 0x820 |
| 297 | #define DFLT_SPI_BASE_ADDRESS 0xFEC10000 |
| 298 | #define DFLT_WATCHDOG_TIMER_BASE_ADDRESS 0xFEC000F0 |
| 299 | #define DFLT_HPET_BASE_ADDRESS 0xFED00000 |
| 300 | #define DFLT_SMI_CMD_PORT 0xB0 |
| 301 | #define DFLT_ACPI_PMA_CNT_BLK_ADDRESS 0xFE00 |
| 302 | #define DFLT_GEC_BASE_ADDRESS 0xFED61000 |
| 303 | #define DFLT_AZALIA_SSID 0x780D1022 |
| 304 | #define DFLT_SMBUS_SSID 0x780B1022 |
| 305 | #define DFLT_IDE_SSID 0x780C1022 |
| 306 | #define DFLT_SATA_AHCI_SSID 0x78011022 |
| 307 | #define DFLT_SATA_IDE_SSID 0x78001022 |
| 308 | #define DFLT_SATA_RAID5_SSID 0x78031022 |
| 309 | #define DFLT_SATA_RAID_SSID 0x78021022 |
| 310 | #define DFLT_EHCI_SSID 0x78081022 |
| 311 | #define DFLT_OHCI_SSID 0x78071022 |
| 312 | #define DFLT_LPC_SSID 0x780E1022 |
| 313 | #define DFLT_SD_SSID 0x78061022 |
| 314 | #define DFLT_XHCI_SSID 0x78121022 |
| 315 | #define DFLT_FCH_PORT80_BEHIND_PCIB FALSE |
| 316 | #define DFLT_FCH_ENABLE_ACPI_SLEEP_TRAP TRUE |
| 317 | #define DFLT_FCH_GPP_LINK_CONFIG PortA4 |
| 318 | #define DFLT_FCH_GPP_PORT0_PRESENT FALSE |
| 319 | #define DFLT_FCH_GPP_PORT1_PRESENT FALSE |
| 320 | #define DFLT_FCH_GPP_PORT2_PRESENT FALSE |
| 321 | #define DFLT_FCH_GPP_PORT3_PRESENT FALSE |
| 322 | #define DFLT_FCH_GPP_PORT0_HOTPLUG FALSE |
| 323 | #define DFLT_FCH_GPP_PORT1_HOTPLUG FALSE |
| 324 | #define DFLT_FCH_GPP_PORT2_HOTPLUG FALSE |
| 325 | #define DFLT_FCH_GPP_PORT3_HOTPLUG FALSE |
| 326 | //#define BLDCFG_IR_PIN_CONTROL 0x33 |
| 327 | #define FCH_NO_XHCI_SUPPORT TRUE |
| 328 | GPIO_CONTROL thatcher_gpio[] = { |
| 329 | {183, Function1, PullUpB}, |
| 330 | {-1} |
| 331 | }; |
| 332 | #define BLDCFG_FCH_GPIO_CONTROL_LIST (&thatcher_gpio[0]) |
| 333 | |
| 334 | // The following definitions specify the default values for various parameters in which there are |
| 335 | // no clearly defined defaults to be used in the common file. The values below are based on product |
| 336 | // and BKDG content, please consult the AGESA Memory team for consultation. |
| 337 | #define DFLT_SCRUB_DRAM_RATE (0) |
| 338 | #define DFLT_SCRUB_L2_RATE (0) |
| 339 | #define DFLT_SCRUB_L3_RATE (0) |
| 340 | #define DFLT_SCRUB_IC_RATE (0) |
| 341 | #define DFLT_SCRUB_DC_RATE (0) |
| 342 | #define DFLT_MEMORY_QUADRANK_TYPE QUADRANK_UNBUFFERED |
| 343 | #define DFLT_VRM_SLEW_RATE (5000) |
| 344 | |
| 345 | #include "PlatformInstall.h" |