1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_INTEL_COMMON_SKYLAKE_BASE
5 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
8 select BOOT_DEVICE_SUPPORTS_WRITES
9 select CACHE_MRC_SETTINGS
10 select CPU_INTEL_COMMON
11 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
12 select CPU_SUPPORTS_PM_TIMER_EMULATION
13 select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
14 select FSP_COMPRESS_FSP_S_LZ4
16 select GENERIC_GPIO_LIB
18 select HAVE_FSP_LOGO_SUPPORT
19 select HAVE_HYPERTHREADING
20 select HAVE_INTEL_FSP_REPO
21 select INTEL_CAR_NEM_ENHANCED
22 select HAVE_SMI_HANDLER
23 select INTEL_DESCRIPTOR_MODE_CAPABLE
25 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
26 select MRC_SETTINGS_PROTECT
27 select PARALLEL_MP_AP_WORK
28 select PLATFORM_USES_FSP2_0
29 select PMC_GLOBAL_RESET_ENABLE_LOCK
31 select SOC_INTEL_COMMON
32 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
33 select SOC_INTEL_COMMON_BLOCK
34 select SOC_INTEL_COMMON_BLOCK_ACPI
35 select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC
36 select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO
37 select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
38 select SOC_INTEL_COMMON_BLOCK_ACPI_PEP
39 select SOC_INTEL_COMMON_BLOCK_CAR
40 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
41 select SOC_INTEL_COMMON_BLOCK_CPU
42 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
43 select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE
44 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
45 select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL
46 select SOC_INTEL_COMMON_BLOCK_GSPI
47 select SOC_INTEL_COMMON_BLOCK_HDA
48 select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PCR
49 select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
50 select SOC_INTEL_COMMON_BLOCK_SA
51 select SOC_INTEL_COMMON_BLOCK_SCS
52 select SOC_INTEL_COMMON_BLOCK_SGX
53 select SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY
54 select SOC_INTEL_COMMON_BLOCK_SMM
55 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
56 select SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV
57 select SOC_INTEL_COMMON_BLOCK_UART
58 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
59 select SOC_INTEL_COMMON_FSP_RESET
60 select SOC_INTEL_COMMON_PCH_CLIENT
61 select SOC_INTEL_COMMON_NHLT
62 select SOC_INTEL_COMMON_RESET
63 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
64 select SOC_INTEL_GFX_HAVE_DDI_A_BIFURCATION
66 select SUPPORT_CPU_UCODE_IN_CBFS
67 select TSC_MONOTONIC_TIMER
68 select TSC_SYNC_MFENCE
70 select UDK_2017_BINDING
71 select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM
72 select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
73 select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
75 config SOC_INTEL_SKYLAKE
77 select SOC_INTEL_COMMON_SKYLAKE_BASE
79 config SOC_INTEL_KABYLAKE
81 select SOC_INTEL_COMMON_SKYLAKE_BASE
83 config SOC_INTEL_SKYLAKE_LGA1151_V2
85 select PLATFORM_USES_FSP2_1
86 select SOC_INTEL_COMMON_SKYLAKE_BASE
87 select SKYLAKE_SOC_PCH_H
89 Selected by mainboards with a LGA1151 v2 socket and a Z370, H310C or B365 PCH
91 if SOC_INTEL_COMMON_SKYLAKE_BASE
93 config MAX_HECI_DEVICES
99 default 16 if MAINBOARD_SUPPORTS_COFFEELAKE_CPU
102 config ENABLE_SATA_TEST_MODE
103 bool "Enable SATA test mode"
106 Enable SATA test mode in FSP-S.
108 config CPU_INTEL_NUM_FIT_ENTRIES
113 select VBOOT_MUST_REQUEST_DISPLAY
114 select VBOOT_STARTS_IN_BOOTBLOCK
115 select VBOOT_VBNV_CMOS
116 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
121 config DCACHE_RAM_BASE
125 config DCACHE_RAM_SIZE
129 The size of the cache-as-ram region required during bootblock
132 config DCACHE_BSP_STACK_SIZE
134 default 0x20400 if FSP_USES_CB_STACK
137 The amount of anticipated stack usage in CAR by bootblock and
140 config FSP_TEMP_RAM_SIZE
142 depends on FSP_USES_CB_STACK
145 The amount of anticipated heap usage in CAR by FSP.
146 Refer to Platform FSP integration guide document to know
147 the exact FSP requirement for Heap setup.
149 config EXCLUDE_NATIVE_SD_INTERFACE
153 If you set this option to n, will not use native SD controller.
155 config IED_REGION_SIZE
159 config PCR_BASE_ADDRESS
163 This option allows you to select MMIO Base Address of sideband bus.
165 config SMM_RESERVED_SIZE
177 config SKYLAKE_SOC_PCH_H
185 Include DSP firmware settings for 1 channel DMIC array.
191 Include DSP firmware settings for 2 channel DMIC array.
197 Include DSP firmware settings for 4 channel DMIC array.
203 Include DSP firmware settings for nau88l25 headset codec.
209 Include DSP firmware settings for max98357 amplifier.
215 Include DSP firmware settings for max98373 amplifier.
221 Include DSP firmware settings for ssm4567 smart amplifier.
227 Include DSP firmware settings for rt5514 DSP.
233 Include DSP firmware settings for rt5663 headset codec.
239 Include DSP firmware settings for max98927 amplifier.
245 Include DSP firmware settings for DA7219 headset codec.
247 # Use KabylakeFsp for both Skylake and Kabylake as it supports both.
248 # SkylakeFsp is FSP 1.1 and therefore incompatible.
249 config FSP_HEADER_PATH
250 default "3rdparty/fsp/AmberLakeFspBinPkg/Include/" if SOC_INTEL_SKYLAKE_LGA1151_V2
251 default "3rdparty/fsp/KabylakeFspBinPkg/Include/"
254 default "3rdparty/fsp/AmberLakeFspBinPkg/Fsp.fd" if SOC_INTEL_SKYLAKE_LGA1151_V2
255 default "3rdparty/fsp/KabylakeFspBinPkg/Fsp.fd"
257 config MAX_ROOT_PORTS
265 Choose this option if you want to disable 8042 Keyboard
267 config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
274 config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
276 default SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
278 config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
282 config SOC_INTEL_I2C_DEV_MAX
290 config CONSOLE_UART_BASE_ADDRESS
293 depends on INTEL_LPSS_UART_FOR_CONSOLE
295 # Clock divider parameters for 115200 baud rate
296 config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
300 config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
304 config CHIPSET_DEVICETREE
306 default "soc/intel/skylake/chipset.cb"
312 config INTEL_TXT_BIOSACM_ALIGNMENT
314 default 0x40000 # 256KB
316 config MAINBOARD_SUPPORTS_SKYLAKE_CPU
317 bool "Board can contain Skylake CPU"
318 default !SOC_INTEL_SKYLAKE_LGA1151_V2
322 config MAINBOARD_SUPPORTS_KABYLAKE_CPU
323 bool "Board can contain Kaby Lake CPU"
324 default !SOC_INTEL_SKYLAKE_LGA1151_V2 && SOC_INTEL_KABYLAKE
326 config MAINBOARD_SUPPORTS_COFFEELAKE_CPU
327 bool "Board can contain Coffee Lake CPU"
328 default y if SOC_INTEL_SKYLAKE_LGA1151_V2
332 if !SKYLAKE_SOC_PCH_H
334 config MAINBOARD_SUPPORTS_KABYLAKE_DUAL
335 bool "Board can contain Kaby Lake DUAL core"
338 config MAINBOARD_SUPPORTS_KABYLAKE_QUAD
339 bool "Board can contain Kaby Lake QUAD core"