1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_INTEL_CANNONLAKE_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 DISPLAY_FSP_VERSION_INFO
14 select DRIVERS_USB_ACPI
15 select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
16 select FSP_COMPRESS_FSP_S_LZMA
18 select FSP_USES_CB_STACK
19 select GENERIC_GPIO_LIB
20 select HAVE_DPTF_EISA_HID
22 select HAVE_FSP_LOGO_SUPPORT
23 select HAVE_HYPERTHREADING
24 select HAVE_INTEL_FSP_REPO
25 select HAVE_SMI_HANDLER
26 select IDT_IN_EVERY_STAGE
27 select INTEL_DESCRIPTOR_MODE_CAPABLE
29 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
30 select MRC_SETTINGS_PROTECT
31 select PARALLEL_MP_AP_WORK
32 select PLATFORM_USES_FSP2_0
33 select PMC_GLOBAL_RESET_ENABLE_LOCK
34 select SOC_INTEL_COMMON
35 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
36 select SOC_INTEL_COMMON_BLOCK
37 select SOC_INTEL_COMMON_BLOCK_ACPI
38 select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC
39 select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO
40 select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT
41 select SOC_INTEL_COMMON_BLOCK_ACPI_PEP
42 select SOC_INTEL_COMMON_BLOCK_CAR
43 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
44 select SOC_INTEL_COMMON_BLOCK_CNVI
45 select SOC_INTEL_COMMON_BLOCK_CPU
46 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
47 select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE
48 select SOC_INTEL_COMMON_BLOCK_DTT
49 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
50 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
51 select SOC_INTEL_COMMON_BLOCK_HDA
52 select SOC_INTEL_COMMON_BLOCK_IRQ
53 select SOC_INTEL_COMMON_BLOCK_ME_SPEC_12
54 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
55 select SOC_INTEL_COMMON_BLOCK_SA
56 select SOC_INTEL_COMMON_BLOCK_SCS
57 select SOC_INTEL_COMMON_BLOCK_SMM
58 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
59 select SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV
60 select SOC_INTEL_COMMON_BLOCK_XHCI
61 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
62 select SOC_INTEL_COMMON_FSP_RESET
63 select SOC_INTEL_COMMON_NHLT
64 select SOC_INTEL_COMMON_PCH_CLIENT
65 select SOC_INTEL_COMMON_RESET
66 select SOC_INTEL_GFX_HAVE_DDI_A_BIFURCATION
67 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
69 select SUPPORT_CPU_UCODE_IN_CBFS
70 select TSC_MONOTONIC_TIMER
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 select X86_CLFLUSH_CAR
78 config SOC_INTEL_COFFEELAKE
80 select SOC_INTEL_CANNONLAKE_BASE
81 select HAVE_X86_64_SUPPORT
82 select HECI_DISABLE_USING_SMM
85 config SOC_INTEL_WHISKEYLAKE
87 select SOC_INTEL_CANNONLAKE_BASE
88 select HECI_DISABLE_USING_SMM
89 select INTEL_CAR_NEM_ENHANCED
91 config SOC_INTEL_COMETLAKE
93 select SOC_INTEL_CANNONLAKE_BASE
94 select INTEL_CAR_NEM_ENHANCED
95 select PMC_IPC_ACPI_INTERFACE if DISABLE_HECI1_AT_PRE_BOOT
96 select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC
97 select SOC_INTEL_COMMON_BASECODE
98 select SOC_INTEL_COMMON_BASECODE_RAMTOP
100 config SOC_INTEL_COMETLAKE_1
102 select SOC_INTEL_COMETLAKE
104 config SOC_INTEL_COMETLAKE_2
106 select SOC_INTEL_COMETLAKE
108 config SOC_INTEL_COMETLAKE_1_2
110 select SOC_INTEL_COMETLAKE
111 select PLATFORM_USES_SECOND_FSP
113 Support both CML v1 and v2, for boards that may have either stepping.
114 Embeds both FSPs and selects the correct one at runtime. The second
115 FSP consumes about 800 KiB of flash space.
117 The first FSP is for CML v1, the second is for CML v2.
119 config SOC_INTEL_COMETLAKE_S
121 select SOC_INTEL_COMETLAKE
123 config SOC_INTEL_COMETLAKE_V
125 select SOC_INTEL_COMETLAKE
127 config SOC_INTEL_CANNONLAKE_PCH_H
130 if SOC_INTEL_CANNONLAKE_BASE
134 default 20 if SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COMETLAKE
135 default 16 if SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COFFEELAKE
136 default 12 if !SOC_INTEL_CANNONLAKE_PCH_H && SOC_INTEL_COMETLAKE
142 config DCACHE_RAM_BASE
145 config DCACHE_RAM_SIZE
148 The size of the cache-as-ram region required during bootblock
151 config DCACHE_BSP_STACK_SIZE
153 default 0x20400 if FSP_USES_CB_STACK
156 The amount of anticipated stack usage in CAR by bootblock and
157 other stages. In the case of FSP_USES_CB_STACK default value will be
158 sum of FSP-M stack requirement (128KiB) and CB romstage stack requirement (~1KiB).
160 config FSP_TEMP_RAM_SIZE
162 depends on FSP_USES_CB_STACK
165 The amount of anticipated heap usage in CAR by FSP.
166 Refer to Platform FSP integration guide document to know
167 the exact FSP requirement for Heap setup.
169 config CHIPSET_DEVICETREE
171 default "soc/intel/cannonlake/chipset_pch_h.cb" if SOC_INTEL_CANNONLAKE_PCH_H
172 default "soc/intel/cannonlake/chipset.cb"
178 config IED_REGION_SIZE
182 config NHLT_DMIC_1CH_16B
187 Include DSP firmware settings for 1 channel 16B DMIC array.
189 config NHLT_DMIC_2CH_16B
194 Include DSP firmware settings for 2 channel 16B DMIC array.
196 config NHLT_DMIC_4CH_16B
201 Include DSP firmware settings for 4 channel 16B DMIC array.
208 Include DSP firmware settings for headset codec.
215 Include DSP firmware settings for headset codec.
222 Include DSP firmware settings for headset codec.
224 config MAX_ROOT_PORTS
226 default 24 if SOC_INTEL_CANNONLAKE_PCH_H
229 config MAX_PCIE_CLOCK_SRC
231 default 16 if SOC_INTEL_CANNONLAKE_PCH_H
238 config SMM_RESERVED_SIZE
242 config PCR_BASE_ADDRESS
246 This option allows you to select MMIO Base Address of sideband bus.
252 config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
259 config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
263 config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
267 config SOC_INTEL_I2C_DEV_MAX
269 default 4 if SOC_INTEL_CANNONLAKE_PCH_H
272 config CONSOLE_UART_BASE_ADDRESS
275 depends on INTEL_LPSS_UART_FOR_CONSOLE
277 # Clock divider parameters for 115200 baud rate
278 config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
282 config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
287 select VBOOT_MUST_REQUEST_DISPLAY
288 select VBOOT_STARTS_IN_BOOTBLOCK
289 select VBOOT_VBNV_CMOS
290 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
295 config MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE
299 Select this if the board has a SD_PWR_ENABLE pin connected to a
300 active high sensing load switch to turn on power to the card reader.
301 This will enable a workaround in ASL _PS3 and _PS0 methods to force
302 SD_PWR_ENABLE to stay low in D3.
304 config FSP_HEADER_PATH
305 default "3rdparty/fsp/CoffeeLakeFspBinPkg/Include/" if SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE
306 default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Include/" if SOC_INTEL_COMETLAKE_1
307 # CML v1/v2 headers are equivalent (differ only in comments) so build
308 # against v2 arbitrarily.
309 default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Include/" if SOC_INTEL_COMETLAKE_2 || SOC_INTEL_COMETLAKE_1_2
310 default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Include/" if SOC_INTEL_COMETLAKE_S
311 default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Include/" if SOC_INTEL_COMETLAKE_V
314 default "3rdparty/fsp/CoffeeLakeFspBinPkg/Fsp.fd" if SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE
315 default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Fsp.fd" if SOC_INTEL_COMETLAKE_1 || SOC_INTEL_COMETLAKE_1_2
316 default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Fsp.fd" if SOC_INTEL_COMETLAKE_2
317 default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Fsp.fd" if SOC_INTEL_COMETLAKE_S
318 default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Fsp.fd" if SOC_INTEL_COMETLAKE_V
321 default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Fsp.fd" if SOC_INTEL_COMETLAKE_1_2
323 config PRERAM_CBMEM_CONSOLE_SIZE
327 config INTEL_TXT_BIOSACM_ALIGNMENT
329 default 0x40000 # 256KB
331 config INTEL_GMA_BCLV_OFFSET
334 config INTEL_GMA_BCLV_WIDTH
337 config INTEL_GMA_BCLM_OFFSET
340 config INTEL_GMA_BCLM_WIDTH