| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_ALDERLAKE |
| 4 |
bool |
| 5 |
select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
| 6 |
select ARCH_X86 |
| 7 |
select BOOT_DEVICE_SUPPORTS_WRITES |
| 8 |
select CACHE_MRC_SETTINGS |
| 9 |
select CPU_INTEL_COMMON |
| 10 |
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 11 |
select CPU_SUPPORTS_INTEL_TME |
| 12 |
select CPU_SUPPORTS_PM_TIMER_EMULATION |
| 13 |
select DEFAULT_SOFTWARE_CONNECTION_MANAGER |
| 14 |
select DISPLAY_FSP_VERSION_INFO |
| 15 |
select DRAM_SUPPORT_DDR4 |
| 16 |
select DRAM_SUPPORT_DDR5 |
| 17 |
select DRIVERS_USB_ACPI |
| 18 |
select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2 |
| 19 |
select FSP_COMPRESS_FSP_S_LZ4 |
| 20 |
select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW |
| 21 |
select FSP_M_XIP |
| 22 |
select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN |
| 23 |
select FSP_USES_CB_DEBUG_EVENT_HANDLER |
| 24 |
select FSPS_HAS_ARCH_UPD |
| 25 |
select GENERIC_GPIO_LIB |
| 26 |
select HAVE_DEBUG_RAM_SETUP |
| 27 |
select HAVE_ESOL_SUPPORT_FOR_LOW_BATTERY_INDICATOR if CHROMEOS_ENABLE_ESOL |
| 28 |
select HAVE_FSP_GOP |
| 29 |
select HAVE_HYPERTHREADING |
| 30 |
select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 31 |
select HAVE_SMI_HANDLER |
| 32 |
select IDT_IN_EVERY_STAGE |
| 33 |
select INTEL_GMA_ACPI |
| 34 |
select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
| 35 |
select INTEL_GMA_OPREGION_2_1 |
| 36 |
select INTEL_GMA_VERSION_2 |
| 37 |
select INTEL_TXT_LIB |
| 38 |
select MP_SERVICES_PPI_V2 |
| 39 |
select MRC_CACHE_USING_MRC_VERSION if (SOC_INTEL_ALDERLAKE_PCH_N || SOC_INTEL_RAPTORLAKE) && !FSP_USE_REPO |
| 40 |
select MRC_SETTINGS_PROTECT |
| 41 |
select PARALLEL_MP_AP_WORK |
| 42 |
select PLATFORM_USES_FSP2_2 |
| 43 |
select PMC_GLOBAL_RESET_ENABLE_LOCK |
| 44 |
select SOC_INTEL_COMMON |
| 45 |
select CPU_INTEL_COMMON_VOLTAGE |
| 46 |
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
| 47 |
select SOC_INTEL_COMMON_BASECODE |
| 48 |
select SOC_INTEL_COMMON_BASECODE_RAMTOP |
| 49 |
select SOC_INTEL_COMMON_BLOCK |
| 50 |
select SOC_INTEL_COMMON_BLOCK_ACPI |
| 51 |
select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
| 52 |
select SOC_INTEL_COMMON_BLOCK_ACPI_CPU_HYBRID |
| 53 |
select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
| 54 |
select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
| 55 |
select SOC_INTEL_COMMON_BLOCK_ACPI_PEP |
| 56 |
select SOC_INTEL_COMMON_BLOCK_ACPI_PEP_LPM_REQ |
| 57 |
select SOC_INTEL_COMMON_BLOCK_ASPM |
| 58 |
select SOC_INTEL_COMMON_BLOCK_CAR |
| 59 |
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
| 60 |
select SOC_INTEL_COMMON_BLOCK_CNVI |
| 61 |
select SOC_INTEL_COMMON_BLOCK_CPU |
| 62 |
select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 63 |
select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
| 64 |
select SOC_INTEL_COMMON_BLOCK_DTT |
| 65 |
select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
| 66 |
select SOC_INTEL_COMMON_BLOCK_GPIO_LOCK_USING_SBI |
| 67 |
select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
| 68 |
select SOC_INTEL_COMMON_BLOCK_SCS if SOC_INTEL_ALDERLAKE_PCH_N |
| 69 |
select SOC_INTEL_COMMON_BLOCK_HDA |
| 70 |
select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC |
| 71 |
select SOC_INTEL_COMMON_BLOCK_IPU if !SOC_INTEL_ALDERLAKE_PCH_S |
| 72 |
select SOC_INTEL_COMMON_BLOCK_IRQ |
| 73 |
select SOC_INTEL_COMMON_BLOCK_ME_SPEC_16 |
| 74 |
select SOC_INTEL_COMMON_BLOCK_MEMINIT |
| 75 |
select SOC_INTEL_COMMON_BLOCK_OC_WDT |
| 76 |
select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3 |
| 77 |
select SOC_INTEL_COMMON_BLOCK_PMC_EPOC |
| 78 |
select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
| 79 |
select SOC_INTEL_COMMON_BLOCK_SA |
| 80 |
select SOC_INTEL_COMMON_BLOCK_SMM |
| 81 |
select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
| 82 |
select SOC_INTEL_COMMON_BLOCK_SMM_TCO_ENABLE |
| 83 |
select SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC |
| 84 |
select SOC_INTEL_COMMON_BLOCK_VTD |
| 85 |
select SOC_INTEL_COMMON_BLOCK_XHCI |
| 86 |
select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
| 87 |
select SOC_INTEL_COMMON_FSP_RESET |
| 88 |
select SOC_INTEL_COMMON_PCH_CLIENT |
| 89 |
select SOC_INTEL_COMMON_RESET |
| 90 |
select SOC_INTEL_CRASHLOG if MAINBOARD_HAS_CHROMEOS |
| 91 |
select HAS_INTEL_CPU_ROOT_PORTS |
| 92 |
select SOC_INTEL_CSE_SEND_EOP_LATE if !BOARD_GOOGLE_BRYA_COMMON && !BOARD_GOOGLE_BROX_COMMON |
| 93 |
select SOC_INTEL_CSE_SET_EOP |
| 94 |
select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
| 95 |
select HAVE_INTEL_COMPLIANCE_TEST_MODE |
| 96 |
select SSE2 |
| 97 |
select SUPPORT_CPU_UCODE_IN_CBFS |
| 98 |
select TSC_MONOTONIC_TIMER |
| 99 |
select UDELAY_TSC |
| 100 |
select UDK_202305_BINDING if SOC_INTEL_RAPTORLAKE |
| 101 |
select UDK_202111_BINDING if SOC_INTEL_ALDERLAKE_PCH_N |
| 102 |
select UDK_202005_BINDING if !SOC_INTEL_ALDERLAKE_PCH_N && !SOC_INTEL_RAPTORLAKE |
| 103 |
select VBOOT_LIB |
| 104 |
help |
| 105 |
Intel Alderlake support. Mainboards should specify the PCH |
| 106 |
type using the `SOC_INTEL_ALDERLAKE_PCH_*` options instead |
| 107 |
of selecting this option directly. |
| 108 |
|
| 109 |
config SOC_INTEL_RAPTORLAKE |
| 110 |
bool |
| 111 |
select X86_INIT_NEED_1_SIPI |
| 112 |
help |
| 113 |
Intel Raptorlake support. Mainboards using RPL should select |
| 114 |
SOC_INTEL_RAPTORLAKE and SOC_INTEL_ALDERLAKE_PCH_* together. |
| 115 |
|
| 116 |
config SOC_INTEL_TWINLAKE |
| 117 |
bool |
| 118 |
select SOC_INTEL_ALDERLAKE_PCH_N |
| 119 |
help |
| 120 |
Intel Twinlake support. Mainboards using TWL should select |
| 121 |
SOC_INTEL_TWINLAKE. |
| 122 |
|
| 123 |
config SOC_INTEL_ALDERLAKE_PCH_N |
| 124 |
bool |
| 125 |
select HAVE_INTEL_FSP_REPO if FSP_TYPE_IOT |
| 126 |
select SOC_INTEL_ALDERLAKE |
| 127 |
help |
| 128 |
Choose this option if your mainboard has a PCH-N chipset. |
| 129 |
|
| 130 |
config SOC_INTEL_ALDERLAKE_PCH_P |
| 131 |
bool |
| 132 |
select SOC_INTEL_ALDERLAKE |
| 133 |
select HAVE_INTEL_FSP_REPO |
| 134 |
select PLATFORM_USES_FSP2_3 |
| 135 |
help |
| 136 |
Choose this option if your mainboard has a PCH-P chipset. |
| 137 |
|
| 138 |
config SOC_INTEL_ALDERLAKE_PCH_S |
| 139 |
bool |
| 140 |
select SOC_INTEL_ALDERLAKE |
| 141 |
select HAVE_INTEL_FSP_REPO |
| 142 |
select PLATFORM_USES_FSP2_3 |
| 143 |
help |
| 144 |
Choose this option if your mainboard has a PCH-S chipset. |
| 145 |
|
| 146 |
config SOC_INTEL_RAPTORLAKE_PCH_S |
| 147 |
bool |
| 148 |
select SOC_INTEL_ALDERLAKE_PCH_S |
| 149 |
select SOC_INTEL_RAPTORLAKE |
| 150 |
help |
| 151 |
Choose this option if your mainboard has a Raptor Lake PCH-S chipset. |
| 152 |
|
| 153 |
if SOC_INTEL_ALDERLAKE |
| 154 |
|
| 155 |
config DIMM_SPD_SIZE |
| 156 |
default 512 |
| 157 |
|
| 158 |
config SOC_INTEL_ALDERLAKE_TCSS_USB4_SUPPORT |
| 159 |
bool |
| 160 |
default n if SOC_INTEL_ALDERLAKE_PCH_S |
| 161 |
default y |
| 162 |
select SOC_INTEL_COMMON_BLOCK_TCSS |
| 163 |
select SOC_INTEL_COMMON_BLOCK_USB4 |
| 164 |
select SOC_INTEL_COMMON_BLOCK_USB4_PCIE |
| 165 |
select SOC_INTEL_COMMON_BLOCK_USB4_XHCI |
| 166 |
|
| 167 |
config ALDERLAKE_CONFIGURE_DESCRIPTOR |
| 168 |
bool |
| 169 |
help |
| 170 |
Select this if the descriptor needs to be updated at runtime. This |
| 171 |
can only be done if the descriptor region is writable, and should only |
| 172 |
be used as a temporary workaround. |
| 173 |
|
| 174 |
config ALDERLAKE_CAR_ENHANCED_NEM |
| 175 |
bool |
| 176 |
default y if !INTEL_CAR_NEM |
| 177 |
select INTEL_CAR_NEM_ENHANCED |
| 178 |
select CAR_HAS_SF_MASKS |
| 179 |
select COS_MAPPED_TO_MSB |
| 180 |
select CAR_HAS_L3_PROTECTED_WAYS |
| 181 |
select INTEL_CAR_ENEM_USE_EFFECTIVE_WAY_SIZE |
| 182 |
|
| 183 |
config MAX_CPUS |
| 184 |
int |
| 185 |
default 32 if SOC_INTEL_RAPTORLAKE |
| 186 |
default 24 |
| 187 |
|
| 188 |
config DCACHE_RAM_BASE |
| 189 |
default 0xfef00000 |
| 190 |
|
| 191 |
config DCACHE_RAM_SIZE |
| 192 |
default 0xc0000 |
| 193 |
help |
| 194 |
The size of the cache-as-ram region required during bootblock |
| 195 |
and/or romstage. |
| 196 |
|
| 197 |
config DCACHE_BSP_STACK_SIZE |
| 198 |
hex |
| 199 |
default 0x88000 |
| 200 |
help |
| 201 |
The amount of anticipated stack usage in CAR by bootblock and |
| 202 |
other stages. In the case of FSP_USES_CB_STACK default value will be |
| 203 |
sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement |
| 204 |
(~32KiB). |
| 205 |
|
| 206 |
config FSP_TEMP_RAM_SIZE |
| 207 |
hex |
| 208 |
default 0x20000 |
| 209 |
help |
| 210 |
The amount of anticipated heap usage in CAR by FSP. |
| 211 |
Refer to Platform FSP integration guide document to know |
| 212 |
the exact FSP requirement for Heap setup. |
| 213 |
|
| 214 |
config CHIPSET_DEVICETREE |
| 215 |
string |
| 216 |
default "soc/intel/alderlake/chipset_pch_s.cb" if SOC_INTEL_ALDERLAKE_PCH_S |
| 217 |
default "soc/intel/alderlake/chipset.cb" |
| 218 |
|
| 219 |
config EXT_BIOS_WIN_BASE |
| 220 |
default 0xf8000000 |
| 221 |
|
| 222 |
config EXT_BIOS_WIN_SIZE |
| 223 |
default 0x2000000 |
| 224 |
|
| 225 |
config IFD_CHIPSET |
| 226 |
string |
| 227 |
default "adl" |
| 228 |
|
| 229 |
config IED_REGION_SIZE |
| 230 |
hex |
| 231 |
default 0x400000 |
| 232 |
|
| 233 |
config GFX_GMA_DEFAULT_MMIO |
| 234 |
default 0xaf000000 if MAINBOARD_HAS_EARLY_LIBGFXINIT |
| 235 |
|
| 236 |
# Intel recommends reserving the following resources per PCIe TBT root port, |
| 237 |
# from ADL BIOS Spec (doc #627270) Revision 0.6.0 Section 7.2.5.1.5 |
| 238 |
# - 42 buses |
| 239 |
# - 194 MiB Non-prefetchable memory |
| 240 |
# - 448 MiB Prefetchable memory |
| 241 |
if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 242 |
|
| 243 |
config PCIEXP_HOTPLUG_BUSES |
| 244 |
int |
| 245 |
default 42 |
| 246 |
|
| 247 |
config PCIEXP_HOTPLUG_MEM |
| 248 |
hex |
| 249 |
default 0xc200000 |
| 250 |
|
| 251 |
config PCIEXP_HOTPLUG_PREFETCH_MEM |
| 252 |
hex |
| 253 |
default 0x1c000000 |
| 254 |
|
| 255 |
endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 256 |
|
| 257 |
config MAX_PCH_ROOT_PORTS |
| 258 |
int |
| 259 |
default 12 if SOC_INTEL_ALDERLAKE_PCH_N |
| 260 |
default 12 if SOC_INTEL_ALDERLAKE_PCH_P |
| 261 |
default 28 if SOC_INTEL_ALDERLAKE_PCH_S |
| 262 |
|
| 263 |
config MAX_CPU_ROOT_PORTS |
| 264 |
int |
| 265 |
default 0 if SOC_INTEL_ALDERLAKE_PCH_N |
| 266 |
default 3 if SOC_INTEL_ALDERLAKE_PCH_P || SOC_INTEL_ALDERLAKE_PCH_S |
| 267 |
|
| 268 |
config MAX_TBT_ROOT_PORTS |
| 269 |
int |
| 270 |
default 0 if SOC_INTEL_ALDERLAKE_PCH_N || SOC_INTEL_ALDERLAKE_PCH_S |
| 271 |
default 4 if SOC_INTEL_ALDERLAKE_PCH_P |
| 272 |
|
| 273 |
config MAX_ROOT_PORTS |
| 274 |
int |
| 275 |
default MAX_PCH_ROOT_PORTS |
| 276 |
|
| 277 |
config MAX_PCIE_CLOCK_SRC |
| 278 |
int |
| 279 |
default 5 if SOC_INTEL_ALDERLAKE_PCH_N |
| 280 |
default 10 if SOC_INTEL_ALDERLAKE_PCH_P |
| 281 |
default 18 if SOC_INTEL_ALDERLAKE_PCH_S |
| 282 |
help |
| 283 |
With external clock buffer, Alderlake-P can support up to three additional source clocks. |
| 284 |
This is done by setting the corresponding GPIO pin(s) to native function to use as |
| 285 |
SRCCLK_OE[6..9]. In addition, SRCCLK6 does not need to be set to free running clock. |
| 286 |
If any of SRCCLKReq 6..9 is asserted, SRCCLK6 will be turned on. |
| 287 |
|
| 288 |
config MAX_PCIE_CLOCK_REQ |
| 289 |
int |
| 290 |
default 5 if SOC_INTEL_ALDERLAKE_PCH_N |
| 291 |
default 10 if SOC_INTEL_ALDERLAKE_PCH_P |
| 292 |
default 18 if SOC_INTEL_ALDERLAKE_PCH_S |
| 293 |
|
| 294 |
config SMM_TSEG_SIZE |
| 295 |
hex |
| 296 |
default 0x800000 |
| 297 |
|
| 298 |
config SMM_RESERVED_SIZE |
| 299 |
hex |
| 300 |
default 0x200000 |
| 301 |
|
| 302 |
config PCR_BASE_ADDRESS |
| 303 |
hex |
| 304 |
default 0xe0000000 if SOC_INTEL_ALDERLAKE_PCH_S |
| 305 |
default 0xfd000000 |
| 306 |
help |
| 307 |
This option allows you to select MMIO Base Address of sideband bus. |
| 308 |
|
| 309 |
config ECAM_MMCONF_BASE_ADDRESS |
| 310 |
default 0xc0000000 |
| 311 |
|
| 312 |
config CPU_BCLK_MHZ |
| 313 |
int |
| 314 |
default 100 |
| 315 |
|
| 316 |
config SOC_INTEL_PERFORMANCE_CORE_SCALE_FACTOR |
| 317 |
int |
| 318 |
default 127 |
| 319 |
|
| 320 |
config SOC_INTEL_EFFICIENT_CORE_SCALE_FACTOR |
| 321 |
int |
| 322 |
default 100 |
| 323 |
|
| 324 |
config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 325 |
int |
| 326 |
default 120 |
| 327 |
|
| 328 |
config CPU_XTAL_HZ |
| 329 |
default 38400000 |
| 330 |
|
| 331 |
config SOC_INTEL_UFS_CLK_FREQ_HZ |
| 332 |
int |
| 333 |
default 19200000 |
| 334 |
|
| 335 |
config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 336 |
int |
| 337 |
default 133 |
| 338 |
|
| 339 |
config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 340 |
int |
| 341 |
default 7 |
| 342 |
|
| 343 |
config SOC_INTEL_I2C_DEV_MAX |
| 344 |
int |
| 345 |
default 8 |
| 346 |
|
| 347 |
config ENABLE_SATA_TEST_MODE |
| 348 |
bool "Enable test mode for SATA margining" |
| 349 |
default n |
| 350 |
help |
| 351 |
Enable SATA test mode in FSP-S. |
| 352 |
|
| 353 |
config SOC_INTEL_UART_DEV_MAX |
| 354 |
int |
| 355 |
default 7 |
| 356 |
|
| 357 |
config CONSOLE_UART_BASE_ADDRESS |
| 358 |
hex |
| 359 |
default 0xfe03e000 |
| 360 |
depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 361 |
|
| 362 |
# Clock divider parameters for 115200 baud rate |
| 363 |
# Baudrate = (UART source clock * M) /(N *16) |
| 364 |
# ADL UART source clock: 100MHz |
| 365 |
config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 366 |
hex |
| 367 |
default 0x25a |
| 368 |
|
| 369 |
config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 370 |
hex |
| 371 |
default 0x7fff |
| 372 |
|
| 373 |
config VBOOT |
| 374 |
select VBOOT_MUST_REQUEST_DISPLAY |
| 375 |
select VBOOT_STARTS_IN_BOOTBLOCK |
| 376 |
select VBOOT_VBNV_CMOS |
| 377 |
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 378 |
select VBOOT_X86_SHA256_ACCELERATION |
| 379 |
|
| 380 |
# Default hash block size is 1KiB. Increasing it to 4KiB to improve |
| 381 |
# hashing time as well as read time. This helps in improving |
| 382 |
# boot time for Alder Lake. |
| 383 |
config VBOOT_HASH_BLOCK_SIZE |
| 384 |
hex |
| 385 |
default 0x1000 |
| 386 |
|
| 387 |
config CBFS_SIZE |
| 388 |
default 0x400000 |
| 389 |
|
| 390 |
config PRERAM_CBMEM_CONSOLE_SIZE |
| 391 |
hex |
| 392 |
default 0x4000 |
| 393 |
|
| 394 |
config CONSOLE_CBMEM_BUFFER_SIZE |
| 395 |
hex |
| 396 |
default 0x100000 if BUILDING_WITH_DEBUG_FSP |
| 397 |
default 0x40000 |
| 398 |
|
| 399 |
config FSP_TYPE_IOT |
| 400 |
bool |
| 401 |
default n |
| 402 |
help |
| 403 |
This option allows to select FSP IOT type from 3rdparty/fsp repo |
| 404 |
|
| 405 |
config FSP_HEADER_PATH |
| 406 |
string "Location of FSP headers" |
| 407 |
default "src/vendorcode/intel/fsp/fsp2_0/twinlake/" if !FSP_USE_REPO && SOC_INTEL_TWINLAKE |
| 408 |
default "src/vendorcode/intel/fsp/fsp2_0/alderlake_n/" if !FSP_USE_REPO && SOC_INTEL_ALDERLAKE_PCH_N |
| 409 |
default "src/vendorcode/intel/fsp/fsp2_0/raptorlake/" if !FSP_USE_REPO && SOC_INTEL_RAPTORLAKE |
| 410 |
default "src/vendorcode/intel/fsp/fsp2_0/alderlake/" if !FSP_USE_REPO |
| 411 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/IoT/RaptorLakeP/Include/" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_P && SOC_INTEL_RAPTORLAKE |
| 412 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/IoT/RaptorLakeS/Include/" if FSP_TYPE_IOT && SOC_INTEL_RAPTORLAKE_PCH_S |
| 413 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeP/Include/" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_P |
| 414 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeS/Include/" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_S |
| 415 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeN/Include/" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_N |
| 416 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeP/Include/" if SOC_INTEL_ALDERLAKE_PCH_P |
| 417 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeS/Include/" if SOC_INTEL_ALDERLAKE_PCH_S |
| 418 |
|
| 419 |
config FSP_FD_PATH |
| 420 |
string |
| 421 |
depends on FSP_USE_REPO |
| 422 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/IoT/RaptorLakeP/FSP.fd" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_P && SOC_INTEL_RAPTORLAKE |
| 423 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/IoT/RaptorLakeS/FSP.fd" if FSP_TYPE_IOT && SOC_INTEL_RAPTORLAKE_PCH_S |
| 424 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeP/Fsp.fd" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_P |
| 425 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeS/Fsp.fd" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_S |
| 426 |
default "3rdparty/fsp/AlderLakeFspBinPkg/IoT/AlderLakeN/Fsp.fd" if FSP_TYPE_IOT && SOC_INTEL_ALDERLAKE_PCH_N |
| 427 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeP/Fsp.fd" if SOC_INTEL_ALDERLAKE_PCH_P |
| 428 |
default "3rdparty/fsp/RaptorLakeFspBinPkg/Client/RaptorLakeS/Fsp.fd" if SOC_INTEL_ALDERLAKE_PCH_S |
| 429 |
|
| 430 |
# Override platform debug consent value: |
| 431 |
# 0:Disabled, 2:Enabled (All Probes+TraceHub), 6:Enable (Low Power), |
| 432 |
# 7:Manual |
| 433 |
config SOC_INTEL_COMMON_DEBUG_CONSENT |
| 434 |
int |
| 435 |
default 2 if SOC_INTEL_DEBUG_CONSENT |
| 436 |
|
| 437 |
config DATA_BUS_WIDTH |
| 438 |
int |
| 439 |
default 128 |
| 440 |
|
| 441 |
config DIMMS_PER_CHANNEL |
| 442 |
int |
| 443 |
default 2 |
| 444 |
|
| 445 |
config MRC_CHANNEL_WIDTH |
| 446 |
int |
| 447 |
default 16 |
| 448 |
|
| 449 |
config ENFORCE_MEM_CHANNEL_DISABLE |
| 450 |
bool |
| 451 |
default n |
| 452 |
help |
| 453 |
Select this option to disable certain memory channels on demand. If |
| 454 |
selected, A function named mb_get_channel_disable_mask() must be |
| 455 |
implemented to return the bit map of memory channels to disable. |
| 456 |
|
| 457 |
config ALDERLAKE_ENABLE_SOC_WORKAROUND |
| 458 |
bool |
| 459 |
default y |
| 460 |
select SOC_INTEL_UFS_LTR_DISQUALIFY |
| 461 |
select SOC_INTEL_UFS_OCP_TIMER_DISABLE |
| 462 |
help |
| 463 |
Selects the workarounds applicable for Alder Lake SoC. |
| 464 |
|
| 465 |
config USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS |
| 466 |
bool |
| 467 |
help |
| 468 |
Alder Lake SoC based OEM board design with UFS and non-UFS planned to use an |
| 469 |
unified AP firmware which demanded to have a unified descriptor. It means UFS |
| 470 |
controller needs to default fuse enabled to let UFS SKU to boot. |
| 471 |
|
| 472 |
On such design with non-UFS SKU is exhibiting S0ix failure due to UFS remain |
| 473 |
enabled in the strap although FSP-S is making the UFS controller function |
| 474 |
disabled. The potential root cause of this behaviour is although the UFS |
| 475 |
controller is function disabled but MPHY clock is still in active state. |
| 476 |
|
| 477 |
A possible solution to this problem is to issue a warm reboot (if boot path is |
| 478 |
S5->S0 or G3->S0) after disabling the UFS and let PMC to read the function |
| 479 |
disable state of the UFS for disabling the MPHY clock. |
| 480 |
|
| 481 |
Mainboard users with such board design where OEM would like to use an unified AP |
| 482 |
firmware to support both UFS and non-UFS sku booting might need to choose this |
| 483 |
config to allow disabling UFS while booting on the non-UFS SKU. |
| 484 |
Note: selection of this config would introduce an additional warm reset in |
| 485 |
cold-reset scenarios due to function disabling of the UFS controller. |
| 486 |
|
| 487 |
if STITCH_ME_BIN |
| 488 |
|
| 489 |
config CSE_BPDT_VERSION |
| 490 |
default "1.7" |
| 491 |
|
| 492 |
endif |
| 493 |
|
| 494 |
config SI_DESC_REGION |
| 495 |
string "Descriptor Region name" |
| 496 |
default "SI_DESC" |
| 497 |
help |
| 498 |
Name of Descriptor Region in the FMAP |
| 499 |
|
| 500 |
config SI_DESC_REGION_SZ |
| 501 |
int |
| 502 |
default 4096 |
| 503 |
help |
| 504 |
Size of Descriptor Region in the FMAP |
| 505 |
|
| 506 |
config INTEL_GMA_BCLV_OFFSET |
| 507 |
default 0xc8258 |
| 508 |
|
| 509 |
config INTEL_GMA_BCLV_WIDTH |
| 510 |
default 32 |
| 511 |
|
| 512 |
config INTEL_GMA_BCLM_OFFSET |
| 513 |
default 0xc8254 |
| 514 |
|
| 515 |
config INTEL_GMA_BCLM_WIDTH |
| 516 |
default 32 |
| 517 |
|
| 518 |
# Note: It cannot be disabled for ADL-P based platforms because ADL-P FSP relies on |
| 519 |
# MBP HOB for ChipsetInit version for ChipsetInit sync. As ChipsetInit sync doesn't |
| 520 |
# occur if no MBP HOB, so it results S0ix issue. This limitation is addressed in the |
| 521 |
# later platforms so creation of MBP HOB can be skipped for ADL-N based platforms. |
| 522 |
config FSP_PUBLISH_MBP_HOB |
| 523 |
bool |
| 524 |
default y if !SOC_INTEL_ALDERLAKE_PCH_N |
| 525 |
|
| 526 |
config INCLUDE_HSPHY_IN_FMAP |
| 527 |
bool "Include PCIe 5.0 HSPHY firmware in flash" |
| 528 |
default n |
| 529 |
help |
| 530 |
Set this option to cache the PCIe 5.0 HSPHY firmware after it is |
| 531 |
fetched from ME during boot. By default coreboot will fetch the |
| 532 |
HSPHY FW from ME, but if for some reason ME is not enabled or |
| 533 |
visible, the cached blob will be attempted to initialize the PCIe |
| 534 |
5.0 root port. Select it if ME is soft disabled or disabled with HAP |
| 535 |
bit. If possible, the HSPHY FW will be saved to flashmap region if |
| 536 |
the firmware file is not provided directly in the HSPHY_FW_FILE |
| 537 |
Kconfig. |
| 538 |
|
| 539 |
config HSPHY_FW_FILE |
| 540 |
string "HSPHY firmware file path" |
| 541 |
depends on INCLUDE_HSPHY_IN_FMAP |
| 542 |
help |
| 543 |
Path pointing to the PCIe 5.0 HSPHY file. The file can be extracted |
| 544 |
from full firmware image or ME region using UEFITool. If left empty, |
| 545 |
HSPHY loading procedure will try to save the firmware to the flashmap |
| 546 |
region if fetched successfully from ME. |
| 547 |
|
| 548 |
config HSPHY_FW_MAX_SIZE |
| 549 |
hex |
| 550 |
default 0x8000 |
| 551 |
|
| 552 |
config HAVE_BMP_LOGO_COMPRESS_LZMA |
| 553 |
default n |
| 554 |
|
| 555 |
config SOC_INTEL_COMMON_BLOCK_ACPI_SLP_S0_FREQ_HZ |
| 556 |
default 0x2005 |
| 557 |
help |
| 558 |
slp_s0_residency granularity in 122us ticks (i.e. ~8.2KHz). |
| 559 |
|
| 560 |
endif |