Debian Codegraph @

src/soc/intel/skylake/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 config SOC_INTEL_COMMON_SKYLAKE_BASE
4 bool
5 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
6 select ACPI_NHLT
7 select ARCH_X86
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 DRAM_SUPPORT_DDR3
14 select DRAM_SUPPORT_DDR4
15 select DRIVERS_USB_ACPI
16 select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
17 select FSP_COMPRESS_FSP_S_LZ4
18 select FSP_M_XIP
19 select GENERIC_GPIO_LIB
20 select HAVE_FSP_GOP
21 select HAVE_HYPERTHREADING
22 select HAVE_INTEL_FSP_REPO
23 select INTEL_CAR_NEM_ENHANCED
24 select HAVE_SMI_HANDLER
25 select INTEL_DESCRIPTOR_MODE_CAPABLE
26 select INTEL_GMA_ACPI
27 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
28 select MRC_SETTINGS_PROTECT
29 select PARALLEL_MP_AP_WORK
30 select PLATFORM_USES_FSP2_0
31 select PMC_GLOBAL_RESET_ENABLE_LOCK
32 select SA_ENABLE_DPR
33 select SOC_INTEL_COMMON
34 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
35 select SOC_INTEL_COMMON_BLOCK
36 select SOC_INTEL_COMMON_BLOCK_ACPI
37 select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC
38 select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO
39 select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
40 select SOC_INTEL_COMMON_BLOCK_ACPI_PEP
41 select SOC_INTEL_COMMON_BLOCK_CAR
42 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
43 select SOC_INTEL_COMMON_BLOCK_CPU
44 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
45 select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE
46 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
47 select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL
48 select SOC_INTEL_COMMON_BLOCK_GSPI
49 select SOC_INTEL_COMMON_BLOCK_HDA
50 select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PCR
51 select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
52 select SOC_INTEL_COMMON_BLOCK_SA
53 select SOC_INTEL_COMMON_BLOCK_SCS
54 select SOC_INTEL_COMMON_BLOCK_SGX
55 select SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY
56 select SOC_INTEL_COMMON_BLOCK_SMM
57 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
58 select SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV
59 select SOC_INTEL_COMMON_BLOCK_UART
60 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
61 select SOC_INTEL_COMMON_FSP_RESET
62 select SOC_INTEL_COMMON_PCH_CLIENT
63 select SOC_INTEL_COMMON_NHLT
64 select SOC_INTEL_COMMON_RESET
65 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
66 select SOC_INTEL_GFX_HAVE_DDI_A_BIFURCATION
67 select SSE2
68 select SUPPORT_CPU_UCODE_IN_CBFS
69 select TSC_MONOTONIC_TIMER
70 select TSC_SYNC_MFENCE
71 select UDELAY_TSC
72 select UDK_2017_BINDING
73 select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM
74 select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
75 select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
76
77 config SOC_INTEL_SKYLAKE
78 bool
79 select SOC_INTEL_COMMON_SKYLAKE_BASE
80
81 config SOC_INTEL_KABYLAKE
82 bool
83 select SOC_INTEL_COMMON_SKYLAKE_BASE
84
85 config SOC_INTEL_SKYLAKE_LGA1151_V2
86 bool
87 select PLATFORM_USES_FSP2_1
88 select SOC_INTEL_COMMON_SKYLAKE_BASE
89 select SKYLAKE_SOC_PCH_H
90 help
91 Selected by mainboards with a LGA1151 v2 socket and a Z370, H310C or B365 PCH
92
93 if SOC_INTEL_COMMON_SKYLAKE_BASE
94
95 config MAX_HECI_DEVICES
96 int
97 default 5
98
99 config MAX_CPUS
100 int
101 default 16 if MAINBOARD_SUPPORTS_COFFEELAKE_CPU
102 default 8
103
104 config ENABLE_SATA_TEST_MODE
105 bool "Enable SATA test mode"
106 default n
107 help
108 Enable SATA test mode in FSP-S.
109
110 config CPU_INTEL_NUM_FIT_ENTRIES
111 int
112 default 10
113
114 config VBOOT
115 select VBOOT_MUST_REQUEST_DISPLAY
116 select VBOOT_STARTS_IN_BOOTBLOCK
117 select VBOOT_VBNV_CMOS
118 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
119
120 config CBFS_SIZE
121 default 0x200000
122
123 config DCACHE_RAM_BASE
124 hex
125 default 0xfef00000
126
127 config DCACHE_RAM_SIZE
128 hex
129 default 0x40000
130 help
131 The size of the cache-as-ram region required during bootblock
132 and/or romstage.
133
134 config DCACHE_BSP_STACK_SIZE
135 hex
136 default 0x20400 if FSP_USES_CB_STACK
137 default 0x4000
138 help
139 The amount of anticipated stack usage in CAR by bootblock and
140 other stages.
141
142 config FSP_TEMP_RAM_SIZE
143 hex
144 depends on FSP_USES_CB_STACK
145 default 0x10000
146 help
147 The amount of anticipated heap usage in CAR by FSP.
148 Refer to Platform FSP integration guide document to know
149 the exact FSP requirement for Heap setup.
150
151 config EXCLUDE_NATIVE_SD_INTERFACE
152 bool
153 default n
154 help
155 If you set this option to n, will not use native SD controller.
156
157 config IED_REGION_SIZE
158 hex
159 default 0x400000
160
161 config PCR_BASE_ADDRESS
162 hex
163 default 0xfd000000
164 help
165 This option allows you to select MMIO Base Address of sideband bus.
166
167 config SMM_RESERVED_SIZE
168 hex
169 default 0x200000
170
171 config SMM_TSEG_SIZE
172 hex
173 default 0x800000
174
175 config VGA_BIOS_ID
176 string
177 default "8086,0406"
178
179 config SKYLAKE_SOC_PCH_H
180 bool
181 default n
182
183 config NHLT_DMIC_1CH
184 bool
185 default n
186 help
187 Include DSP firmware settings for 1 channel DMIC array.
188
189 config NHLT_DMIC_2CH
190 bool
191 default n
192 help
193 Include DSP firmware settings for 2 channel DMIC array.
194
195 config NHLT_DMIC_4CH
196 bool
197 default n
198 help
199 Include DSP firmware settings for 4 channel DMIC array.
200
201 config NHLT_NAU88L25
202 bool
203 default n
204 help
205 Include DSP firmware settings for nau88l25 headset codec.
206
207 config NHLT_MAX98357
208 bool
209 default n
210 help
211 Include DSP firmware settings for max98357 amplifier.
212
213 config NHLT_MAX98373
214 bool
215 default n
216 help
217 Include DSP firmware settings for max98373 amplifier.
218
219 config NHLT_SSM4567
220 bool
221 default n
222 help
223 Include DSP firmware settings for ssm4567 smart amplifier.
224
225 config NHLT_RT5514
226 bool
227 default n
228 help
229 Include DSP firmware settings for rt5514 DSP.
230
231 config NHLT_RT5663
232 bool
233 default n
234 help
235 Include DSP firmware settings for rt5663 headset codec.
236
237 config NHLT_MAX98927
238 bool
239 default n
240 help
241 Include DSP firmware settings for max98927 amplifier.
242
243 config NHLT_DA7219
244 bool
245 default n
246 help
247 Include DSP firmware settings for DA7219 headset codec.
248
249 # Use KabylakeFsp for both Skylake and Kabylake as it supports both.
250 # SkylakeFsp is FSP 1.1 and therefore incompatible.
251 config FSP_HEADER_PATH
252 default "3rdparty/fsp/AmberLakeFspBinPkg/Include/" if SOC_INTEL_SKYLAKE_LGA1151_V2
253 default "3rdparty/fsp/KabylakeFspBinPkg/Include/"
254
255 config FSP_FD_PATH
256 default "3rdparty/fsp/AmberLakeFspBinPkg/Fsp.fd" if SOC_INTEL_SKYLAKE_LGA1151_V2
257 default "3rdparty/fsp/KabylakeFspBinPkg/Fsp.fd"
258
259 config MAX_ROOT_PORTS
260 int
261 default 24
262
263 config NO_FADT_8042
264 bool
265 default n
266 help
267 Choose this option if you want to disable 8042 Keyboard
268
269 config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
270 int
271 default 120
272
273 config CPU_XTAL_HZ
274 default 24000000
275
276 config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
277 int
278 default SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
279
280 config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
281 int
282 default 2
283
284 config SOC_INTEL_I2C_DEV_MAX
285 int
286 default 6
287
288 config CPU_BCLK_MHZ
289 int
290 default 100
291
292 config CONSOLE_UART_BASE_ADDRESS
293 hex
294 default 0xfe030000
295 depends on INTEL_LPSS_UART_FOR_CONSOLE
296
297 # Clock divider parameters for 115200 baud rate
298 config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
299 hex
300 default 0x30
301
302 config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
303 hex
304 default 0xc35
305
306 config CHIPSET_DEVICETREE
307 string
308 default "soc/intel/skylake/chipset.cb"
309
310 config IFD_CHIPSET
311 string
312 default "sklkbl"
313
314 config INTEL_TXT_BIOSACM_ALIGNMENT
315 hex
316 default 0x40000 # 256KB
317
318 config MAINBOARD_SUPPORTS_SKYLAKE_CPU
319 bool "Board can contain Skylake CPU"
320 default !SOC_INTEL_SKYLAKE_LGA1151_V2
321
322 if SKYLAKE_SOC_PCH_H
323
324 config MAINBOARD_SUPPORTS_KABYLAKE_CPU
325 bool "Board can contain Kaby Lake CPU"
326 default !SOC_INTEL_SKYLAKE_LGA1151_V2 && SOC_INTEL_KABYLAKE
327
328 config MAINBOARD_SUPPORTS_COFFEELAKE_CPU
329 bool "Board can contain Coffee Lake CPU"
330 default y if SOC_INTEL_SKYLAKE_LGA1151_V2
331
332 endif
333
334 if !SKYLAKE_SOC_PCH_H
335
336 config MAINBOARD_SUPPORTS_KABYLAKE_DUAL
337 bool "Board can contain Kaby Lake DUAL core"
338 default y
339
340 config MAINBOARD_SUPPORTS_KABYLAKE_QUAD
341 bool "Board can contain Kaby Lake QUAD core"
342 default y
343
344 endif
345
346 endif