1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_INTEL_JASPERLAKE
5 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
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_PM_TIMER_EMULATION
12 select COS_MAPPED_TO_MSB
13 select DISPLAY_FSP_VERSION_INFO_2
14 select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
15 select FSP_COMPRESS_FSP_S_LZ4
17 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
18 select GENERIC_GPIO_LIB
19 select HAVE_DPTF_EISA_HID
21 select INTEL_DESCRIPTOR_MODE_CAPABLE
22 select HAVE_SMI_HANDLER
23 select HECI_DISABLE_USING_SMM if DISABLE_HECI1_AT_PRE_BOOT
24 select IDT_IN_EVERY_STAGE
25 select INTEL_CAR_NEM_ENHANCED
27 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
28 select MP_SERVICES_PPI_V1
29 select MRC_SETTINGS_PROTECT
30 select PARALLEL_MP_AP_WORK
31 select PLATFORM_USES_FSP2_2
32 select PMC_GLOBAL_RESET_ENABLE_LOCK
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_CNVI
44 select SOC_INTEL_COMMON_BLOCK_CPU
45 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
46 select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE
47 select SOC_INTEL_COMMON_BLOCK_DTT
48 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
49 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
50 select SOC_INTEL_COMMON_BLOCK_HDA
51 select SOC_INTEL_COMMON_BLOCK_ME_SPEC_13
52 select SOC_INTEL_COMMON_BLOCK_SA
53 select SOC_INTEL_COMMON_BLOCK_SCS
54 select SOC_INTEL_COMMON_BLOCK_SMM
55 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
56 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
57 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
58 select SOC_INTEL_COMMON_FSP_RESET
59 select SOC_INTEL_COMMON_PCH_CLIENT
60 select SOC_INTEL_COMMON_RESET
61 select SOC_INTEL_CSE_SEND_EOP_LATE
62 select SOC_INTEL_CSE_SET_EOP
63 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
65 select SUPPORT_CPU_UCODE_IN_CBFS
66 select TSC_MONOTONIC_TIMER
68 select UDK_202005_BINDING
69 select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM
70 select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
71 select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
72 select SOC_INTEL_COMMON_BASECODE if SOC_INTEL_CSE_LITE_SKU
74 Intel Jasperlake support
76 if SOC_INTEL_JASPERLAKE
78 config DCACHE_RAM_BASE
81 config DCACHE_RAM_SIZE
84 The size of the cache-as-ram region required during bootblock
87 config DCACHE_BSP_STACK_SIZE
91 The amount of anticipated stack usage in CAR by bootblock and
92 other stages. In the case of FSP_USES_CB_STACK default value
93 will be sum of FSP-M stack requirement(192 KiB) and CB romstage
94 stack requirement(~1KiB).
96 config FSP_TEMP_RAM_SIZE
100 The amount of anticipated heap usage in CAR by FSP.
101 Refer to Platform FSP integration guide document to know
102 the exact FSP requirement for Heap setup.
108 config IED_REGION_SIZE
112 config MAX_ROOT_PORTS
116 config MAX_PCIE_CLOCK_SRC
124 config SMM_RESERVED_SIZE
128 config PCR_BASE_ADDRESS
132 This option allows you to select MMIO Base Address of sideband bus.
134 config ECAM_MMCONF_BASE_ADDRESS
141 config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
145 config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
152 config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
156 config SOC_INTEL_I2C_DEV_MAX
160 config SOC_INTEL_UART_DEV_MAX
164 config CONSOLE_UART_BASE_ADDRESS
167 depends on INTEL_LPSS_UART_FOR_CONSOLE
169 # Clock divider parameters for 115200 baud rate
170 # Baudrate = (UART source clock * M) /(N *16)
171 # JSL UART source clock: 100MHz
172 config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
176 config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
181 select VBOOT_MUST_REQUEST_DISPLAY
182 select VBOOT_STARTS_IN_BOOTBLOCK
183 select VBOOT_VBNV_CMOS
184 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
189 config FSP_HEADER_PATH
190 default "src/vendorcode/intel/fsp/fsp2_0/jasperlake/"
193 default "3rdparty/fsp/JasperLakeFspBinPkg/Fsp.fd"
195 config SOC_INTEL_JASPERLAKE_DEBUG_CONSENT
196 int "Debug Consent for JSL"
197 # USB DBC is more common for developers so make this default to 3 if
198 # SOC_INTEL_DEBUG_CONSENT=y
199 default 3 if SOC_INTEL_DEBUG_CONSENT
202 This is to control debug interface on SOC.
203 Setting non-zero value will allow to use DBC or DCI to debug SOC.
204 PlatformDebugConsent in FspmUpd.h has the details.
206 Desired platform debug type are
207 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
208 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
209 6:Enable (2-wire DCI OOB), 7:Manual
211 config PRERAM_CBMEM_CONSOLE_SIZE
215 config INTEL_GMA_BCLV_OFFSET
218 config INTEL_GMA_BCLV_WIDTH
221 config INTEL_GMA_BCLM_OFFSET
224 config INTEL_GMA_BCLM_WIDTH