| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_ELKHARTLAKE |
| 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_PM_TIMER_EMULATION |
| 12 |
select DISPLAY_FSP_VERSION_INFO |
| 13 |
select DRAM_SUPPORT_DDR4 |
| 14 |
select DRAM_SUPPORT_LPDDR4 |
| 15 |
select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2 |
| 16 |
select FSP_COMPRESS_FSP_S_LZ4 |
| 17 |
select FSP_M_XIP |
| 18 |
select GENERIC_GPIO_LIB |
| 19 |
select HAVE_FSP_GOP |
| 20 |
select HAVE_SMI_HANDLER |
| 21 |
select IDT_IN_EVERY_STAGE |
| 22 |
select INTEL_CAR_NEM |
| 23 |
select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 24 |
select INTEL_GMA_ACPI |
| 25 |
select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
| 26 |
select MP_SERVICES_PPI_V1 |
| 27 |
select MRC_SETTINGS_PROTECT |
| 28 |
select NEED_SMALL_2MB_PAGE_TABLES |
| 29 |
select PARALLEL_MP_AP_WORK |
| 30 |
select PLATFORM_USES_FSP2_1 |
| 31 |
select PMC_GLOBAL_RESET_ENABLE_LOCK |
| 32 |
select SOC_INTEL_COMMON |
| 33 |
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
| 34 |
select SOC_INTEL_COMMON_BASECODE |
| 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_GSPI_VERSION_2 |
| 48 |
select SOC_INTEL_COMMON_BLOCK_HDA |
| 49 |
select HAVE_INTEL_FSP_REPO |
| 50 |
select HECI_DISABLE_USING_SMM if DISABLE_HECI1_AT_PRE_BOOT |
| 51 |
select SOC_INTEL_COMMON_BLOCK_ME_SPEC_15 |
| 52 |
select SOC_INTEL_COMMON_BLOCK_PMC_EPOC |
| 53 |
select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
| 54 |
select SOC_INTEL_COMMON_BLOCK_SA |
| 55 |
select SOC_INTEL_COMMON_BLOCK_SCS |
| 56 |
select SOC_INTEL_COMMON_BLOCK_SMM |
| 57 |
select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
| 58 |
select SOC_INTEL_COMMON_FSP_RESET |
| 59 |
select SOC_INTEL_COMMON_PCH_CLIENT |
| 60 |
select SOC_INTEL_COMMON_RESET |
| 61 |
select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
| 62 |
select SSE2 |
| 63 |
select SUPPORT_CPU_UCODE_IN_CBFS |
| 64 |
select TSC_MONOTONIC_TIMER |
| 65 |
select UDELAY_TSC |
| 66 |
select UDK_202005_BINDING |
| 67 |
select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 68 |
select SOC_INTEL_RAPL_DISABLE_VIA_MCHBAR |
| 69 |
select X86_CLFLUSH_CAR |
| 70 |
help |
| 71 |
Intel Elkhartlake support |
| 72 |
|
| 73 |
if SOC_INTEL_ELKHARTLAKE |
| 74 |
|
| 75 |
config MAX_CPUS |
| 76 |
int |
| 77 |
default 4 |
| 78 |
|
| 79 |
config DCACHE_RAM_BASE |
| 80 |
default 0xfef00000 |
| 81 |
|
| 82 |
config DCACHE_RAM_SIZE |
| 83 |
default 0xc0000 |
| 84 |
help |
| 85 |
The size of the cache-as-ram region required during bootblock |
| 86 |
and/or romstage. |
| 87 |
|
| 88 |
config DCACHE_BSP_STACK_SIZE |
| 89 |
hex |
| 90 |
default 0x30400 |
| 91 |
help |
| 92 |
The amount of anticipated stack usage in CAR by bootblock and |
| 93 |
other stages. In the case of FSP_USES_CB_STACK default value will be |
| 94 |
sum of FSP-M stack requirement (192KiB) and CB romstage stack requirement (~1KiB). |
| 95 |
|
| 96 |
config FSP_TEMP_RAM_SIZE |
| 97 |
hex |
| 98 |
default 0x40000 |
| 99 |
help |
| 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. |
| 103 |
|
| 104 |
config IFD_CHIPSET |
| 105 |
string |
| 106 |
default "ehl" |
| 107 |
|
| 108 |
config IED_REGION_SIZE |
| 109 |
hex |
| 110 |
default 0x0 |
| 111 |
|
| 112 |
config MAX_ROOT_PORTS |
| 113 |
int |
| 114 |
default 7 |
| 115 |
|
| 116 |
config MAX_SATA_PORTS |
| 117 |
int |
| 118 |
default 2 |
| 119 |
|
| 120 |
config MAX_PCIE_CLOCK_SRC |
| 121 |
int |
| 122 |
default 6 |
| 123 |
|
| 124 |
config SMM_TSEG_SIZE |
| 125 |
hex |
| 126 |
default 0x1000000 |
| 127 |
|
| 128 |
config SMM_RESERVED_SIZE |
| 129 |
hex |
| 130 |
default 0x200000 |
| 131 |
|
| 132 |
config PCR_BASE_ADDRESS |
| 133 |
hex |
| 134 |
default 0xfd000000 |
| 135 |
help |
| 136 |
This option allows you to select MMIO Base Address of sideband bus. |
| 137 |
|
| 138 |
config ECAM_MMCONF_BASE_ADDRESS |
| 139 |
default 0xc0000000 |
| 140 |
|
| 141 |
config CPU_BCLK_MHZ |
| 142 |
int |
| 143 |
default 100 |
| 144 |
|
| 145 |
config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 146 |
int |
| 147 |
default 120 |
| 148 |
|
| 149 |
config CPU_XTAL_HZ |
| 150 |
default 38400000 |
| 151 |
|
| 152 |
config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 153 |
int |
| 154 |
default 100 |
| 155 |
|
| 156 |
config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 157 |
int |
| 158 |
default 3 |
| 159 |
|
| 160 |
config SOC_INTEL_I2C_DEV_MAX |
| 161 |
int |
| 162 |
default 8 |
| 163 |
|
| 164 |
config SOC_INTEL_UART_DEV_MAX |
| 165 |
int |
| 166 |
default 3 |
| 167 |
|
| 168 |
config CONSOLE_UART_BASE_ADDRESS |
| 169 |
hex |
| 170 |
default 0xfe042000 |
| 171 |
depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 172 |
|
| 173 |
# Clock divider parameters for 115200 baud rate |
| 174 |
# Baudrate = (UART source clock * M) /(N *16) |
| 175 |
# EHL UART source clock: 100MHz |
| 176 |
config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 177 |
hex |
| 178 |
default 0x25a |
| 179 |
|
| 180 |
config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 181 |
hex |
| 182 |
default 0x7fff |
| 183 |
|
| 184 |
config VBOOT |
| 185 |
select VBOOT_MUST_REQUEST_DISPLAY |
| 186 |
select VBOOT_STARTS_IN_BOOTBLOCK |
| 187 |
|
| 188 |
config CBFS_SIZE |
| 189 |
default 0x200000 |
| 190 |
|
| 191 |
config FSP_HEADER_PATH |
| 192 |
default "3rdparty/fsp/ElkhartLakeFspBinPkg/Include/" |
| 193 |
|
| 194 |
config FSP_FD_PATH |
| 195 |
string |
| 196 |
depends on FSP_USE_REPO |
| 197 |
default "3rdparty/fsp/ElkhartLakeFspBinPkg/FspBin/FSPRel.bin" |
| 198 |
|
| 199 |
config PSE_ENABLE |
| 200 |
bool "Enable PSE ARM controller" |
| 201 |
help |
| 202 |
Enable PSE IP. The PSE describes the integrated programmable |
| 203 |
service engine that is designed together with x86 Atom cores |
| 204 |
as an Asymmetric Multi-Processing (AMP) system. |
| 205 |
|
| 206 |
config ADD_PSE_IMAGE_TO_CBFS |
| 207 |
bool "Add PSE Firmware to CBFS" |
| 208 |
depends on PSE_ENABLE |
| 209 |
default n |
| 210 |
help |
| 211 |
PSE FW binary is required to use PSE dedicated peripherals from |
| 212 |
x86 subsystem. Once PSE is enabled, the FW will be loaded from |
| 213 |
CBFS by FSP and executed. |
| 214 |
|
| 215 |
config PSE_IMAGE_FILE |
| 216 |
string "PSE binary path and filename" |
| 217 |
depends on ADD_PSE_IMAGE_TO_CBFS |
| 218 |
help |
| 219 |
The path and filename of the PSE binary. |
| 220 |
|
| 221 |
config PSE_FW_FILE_SIZE_KIB |
| 222 |
hex "Memory buffer (KiB) for PSE FW image" |
| 223 |
depends on ADD_PSE_IMAGE_TO_CBFS |
| 224 |
default 0x200 |
| 225 |
help |
| 226 |
It is recommended to allocate at least 512 KiB for PSE FW. |
| 227 |
|
| 228 |
config PSE_CONFIG_BUFFER_SIZE_KIB |
| 229 |
hex "Memory buffer (KiB) for PSE config data" |
| 230 |
depends on ADD_PSE_IMAGE_TO_CBFS |
| 231 |
default 0x100 |
| 232 |
help |
| 233 |
It is recommended to allocate at least 256 KiB for PSE config |
| 234 |
data (FSP will append PSE config data to memory region right |
| 235 |
after PSE FW memory region). |
| 236 |
|
| 237 |
config EHL_TSN_DRIVER |
| 238 |
bool |
| 239 |
default n |
| 240 |
help |
| 241 |
Enable TSN GbE driver to provide board specific settings in the GBE MAC. |
| 242 |
As an example of a possible change, the MAC address could be adjusted. |
| 243 |
|
| 244 |
config PRERAM_CBMEM_CONSOLE_SIZE |
| 245 |
hex |
| 246 |
default 0x1400 |
| 247 |
|
| 248 |
config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN |
| 249 |
bool "Disable reset on second TCO expiration" |
| 250 |
depends on SOC_INTEL_COMMON_BLOCK_TCO |
| 251 |
default n |
| 252 |
help |
| 253 |
Setting this option will prevent a host reset if the TCO timer expires |
| 254 |
for the second time. Since this feature is not exposed to the OS in the |
| 255 |
standard TCO interface, this setting can be enabled on firmware level. |
| 256 |
This might be useful depending on the TCO policy. |
| 257 |
|
| 258 |
config DIMM_SPD_SIZE |
| 259 |
default 512 |
| 260 |
|
| 261 |
endif |