Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 1 | config SOC_INTEL_METEORLAKE |
| 2 | bool |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 3 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 4 | select ARCH_X86 |
| 5 | select BOOT_DEVICE_SUPPORTS_WRITES |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 6 | select CACHE_MRC_SETTINGS |
| 7 | select CPU_INTEL_COMMON |
Subrata Banik | 1f5154e | 2022-12-06 18:21:50 +0530 | [diff] [blame] | 8 | select CPU_INTEL_COMMON_VOLTAGE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 9 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 10 | select CPU_SUPPORTS_INTEL_TME |
| 11 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Matt DeVillier | decbf7b | 2023-01-18 18:58:38 -0600 | [diff] [blame] | 12 | select DEFAULT_SOFTWARE_CONNECTION_MANAGER if MAINBOARD_HAS_CHROMEOS |
Subrata Banik | e96993d | 2022-07-09 22:06:45 +0000 | [diff] [blame] | 13 | select DEFAULT_X2APIC_LATE_WORKAROUND |
Saurabh Mishra | 16ba8e1 | 2022-11-22 13:35:08 +0530 | [diff] [blame] | 14 | select DISPLAY_FSP_VERSION_INFO_2 |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 15 | select DRIVERS_USB_ACPI |
Sean Rhodes | 7bbc9a5 | 2022-07-18 11:31:00 +0100 | [diff] [blame] | 16 | select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2 |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 17 | select FSP_COMPRESS_FSP_S_LZ4 |
| 18 | select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 19 | select FSP_M_XIP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 20 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_3 |
Subrata Banik | e88bee7 | 2022-06-27 16:51:44 +0530 | [diff] [blame] | 21 | select FSP_USES_CB_DEBUG_EVENT_HANDLER |
| 22 | select FSPS_HAS_ARCH_UPD |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 23 | select GENERIC_GPIO_LIB |
Subrata Banik | e88bee7 | 2022-06-27 16:51:44 +0530 | [diff] [blame] | 24 | select HAVE_DEBUG_RAM_SETUP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 25 | select HAVE_FSP_GOP |
Eran Mitrani | 222903e | 2022-12-19 11:27:10 -0800 | [diff] [blame] | 26 | select HAVE_HYPERTHREADING |
Subrata Banik | c0f4b12 | 2022-12-06 14:03:07 +0530 | [diff] [blame] | 27 | select HAVE_INTEL_COMPLIANCE_TEST_MODE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 28 | select HAVE_SMI_HANDLER |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 29 | select IDT_IN_EVERY_STAGE |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 30 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 31 | select INTEL_GMA_ACPI |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 32 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Dinesh Gehlot | 0d76a30 | 2022-12-09 07:24:08 +0000 | [diff] [blame] | 33 | select INTEL_GMA_OPREGION_2_1 |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 34 | select IOAPIC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 35 | select MICROCODE_BLOB_UNDISCLOSED |
Subrata Banik | a247319 | 2023-02-22 13:03:04 +0000 | [diff] [blame] | 36 | select MP_SERVICES_PPI_V2 |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 37 | select MRC_SETTINGS_PROTECT |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 38 | select PARALLEL_MP_AP_WORK |
Kane Chen | 70c6fb4 | 2023-07-12 19:11:41 +0800 | [diff] [blame] | 39 | select PCIE_CLOCK_CONTROL_THROUGH_P2SB |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 40 | select PLATFORM_USES_FSP2_3 |
| 41 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 42 | select SOC_INTEL_COMMON |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 43 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 44 | select SOC_INTEL_COMMON_BLOCK |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 45 | select SOC_INTEL_COMMON_BLOCK_ACPI |
| 46 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
Sridhar Siricilla | d1237da | 2022-12-09 01:13:45 +0530 | [diff] [blame] | 47 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPU_HYBRID |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 48 | select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
Subrata Banik | 2a2488f | 2022-12-05 20:28:42 +0530 | [diff] [blame] | 49 | select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 50 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP |
| 51 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP_LPM_REQ |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_CAR |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Subrata Banik | 00b682e | 2022-09-14 17:58:51 -0700 | [diff] [blame] | 54 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 55 | select SOC_INTEL_COMMON_BLOCK_CPU |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 57 | select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
| 58 | select SOC_INTEL_COMMON_BLOCK_DTT |
| 59 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Subrata Banik | 247dd0e | 2023-03-16 18:31:13 +0530 | [diff] [blame] | 60 | select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY |
Subrata Banik | bae1de1 | 2022-07-21 13:43:37 +0000 | [diff] [blame] | 61 | select SOC_INTEL_COMMON_BLOCK_GPIO_LOCK_USING_PCR |
Jamie Ryu | b6c32d7 | 2022-08-03 01:13:33 -0700 | [diff] [blame] | 62 | select SOC_INTEL_COMMON_BLOCK_GPIO_PMODE_4BITS |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 63 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_BLOCK_HDA |
Subrata Banik | 98b6967 | 2022-11-23 14:46:16 +0530 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_IPU |
| 67 | select SOC_INTEL_COMMON_BLOCK_IOE_P2SB |
Kapil Porwal | cca3c90 | 2022-12-19 23:57:15 +0530 | [diff] [blame] | 68 | select SOC_INTEL_COMMON_BLOCK_IRQ |
Dinesh Gehlot | ef2e4fc | 2023-02-20 13:15:13 +0000 | [diff] [blame] | 69 | select SOC_INTEL_COMMON_BLOCK_ME_SPEC_18 |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 70 | select SOC_INTEL_COMMON_BLOCK_MEMINIT |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 71 | select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3 |
| 72 | select SOC_INTEL_COMMON_BLOCK_PMC_EPOC |
| 73 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 74 | select SOC_INTEL_COMMON_BLOCK_SA |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 75 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 76 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_BLOCK_XHCI |
| 79 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
| 80 | select SOC_INTEL_COMMON_BASECODE |
Subrata Banik | 30a0114 | 2023-03-22 00:35:42 +0530 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_BASECODE_RAMTOP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_FSP_RESET |
Angel Pons | eb90c51 | 2022-07-18 14:41:24 +0200 | [diff] [blame] | 83 | select SOC_INTEL_COMMON_PCH_CLIENT |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 84 | select SOC_INTEL_COMMON_RESET |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 85 | select SOC_INTEL_COMMON_BLOCK_IOC |
Subrata Banik | 3879334 | 2023-04-19 18:38:03 +0530 | [diff] [blame] | 86 | select SOC_INTEL_CSE_SEND_EOP_LATE if !MAINBOARD_HAS_CHROMEOS |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 87 | select SOC_INTEL_CSE_SET_EOP |
Wonkyu Kim | a888489 | 2022-08-10 14:10:03 -0700 | [diff] [blame] | 88 | select SOC_INTEL_GFX_NON_PREFETCHABLE_MMIO |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 89 | select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 90 | select SSE2 |
| 91 | select SUPPORT_CPU_UCODE_IN_CBFS |
Pratikkumar Prajapati | 5013c60 | 2023-06-05 18:22:21 -0700 | [diff] [blame] | 92 | select TME_KEY_REGENERATION_ON_WARM_BOOT |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 93 | select TSC_MONOTONIC_TIMER |
| 94 | select UDELAY_TSC |
Ronak Kanabar | 8e38a67 | 2023-06-08 16:43:08 +0530 | [diff] [blame] | 95 | select UDK_202302_BINDING |
Subrata Banik | 2921a22 | 2023-02-28 10:08:27 +0000 | [diff] [blame] | 96 | select X86_CLFLUSH_CAR |
Subrata Banik | 6a22c5f | 2022-11-21 17:39:57 +0530 | [diff] [blame] | 97 | select X86_INIT_NEED_1_SIPI |
Pratikkumar Prajapati | 20ce901 | 2022-12-19 17:41:39 -0800 | [diff] [blame] | 98 | select INTEL_KEYLOCKER |
Elyes Haouas | 2f872e9 | 2023-07-21 07:47:00 +0200 | [diff] [blame] | 99 | help |
| 100 | Intel Meteorlake support. Mainboards should specify the SoC |
| 101 | type using the `SOC_INTEL_METEORLAKE_*` options instead |
| 102 | of selecting this option directly. |
| 103 | |
| 104 | config SOC_INTEL_METEORLAKE_U_H |
| 105 | bool |
| 106 | select SOC_INTEL_METEORLAKE |
| 107 | help |
| 108 | Choose this option if your mainboard has a MTL-U (9W or 15W) |
| 109 | or MTL-H (28W or 45W) SoC. |
| 110 | |
| 111 | Note, the MTL-U/H-Processor Line offered in a 1-Chip Platform |
| 112 | that includes the Compute, SOC, GT, and IOE tile on the same |
| 113 | package. |
| 114 | |
| 115 | config SOC_INTEL_METEORLAKE_S |
| 116 | bool |
| 117 | select SOC_INTEL_METEORLAKE |
| 118 | help |
| 119 | Choose this option if your mainboard has a MTL-S (35W or 65W) SoC. |
| 120 | Note, MTL-S SoC combines Compute, GFX, SoC, IOE and PCH die. |
| 121 | |
| 122 | if SOC_INTEL_METEORLAKE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 123 | |
Subrata Banik | 8e15859 | 2022-12-13 12:16:52 +0530 | [diff] [blame] | 124 | config SOC_INTEL_METEORLAKE_TCSS_USB4_SUPPORT |
| 125 | bool |
| 126 | default y |
| 127 | select SOC_INTEL_COMMON_BLOCK_TCSS |
| 128 | select SOC_INTEL_COMMON_BLOCK_USB4 |
| 129 | select SOC_INTEL_COMMON_BLOCK_USB4_PCIE |
| 130 | select SOC_INTEL_COMMON_BLOCK_USB4_XHCI |
| 131 | |
Subrata Banik | 4300421 | 2022-12-13 12:20:47 +0530 | [diff] [blame] | 132 | config METEORLAKE_CAR_ENHANCED_NEM |
| 133 | bool |
| 134 | default y if !INTEL_CAR_NEM |
| 135 | select INTEL_CAR_NEM_ENHANCED |
| 136 | select CAR_HAS_SF_MASKS |
| 137 | select COS_MAPPED_TO_MSB |
| 138 | select CAR_HAS_L3_PROTECTED_WAYS |
| 139 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 140 | config MAX_CPUS |
| 141 | int |
| 142 | default 22 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 143 | |
| 144 | config DCACHE_RAM_BASE |
| 145 | default 0xfef00000 |
| 146 | |
| 147 | config DCACHE_RAM_SIZE |
| 148 | default 0xc0000 |
| 149 | help |
| 150 | The size of the cache-as-ram region required during bootblock |
| 151 | and/or romstage. |
| 152 | |
| 153 | config DCACHE_BSP_STACK_SIZE |
| 154 | hex |
| 155 | default 0x80400 |
| 156 | help |
| 157 | The amount of anticipated stack usage in CAR by bootblock and |
| 158 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 159 | sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement |
| 160 | (~1KiB). |
| 161 | |
| 162 | config FSP_TEMP_RAM_SIZE |
| 163 | hex |
| 164 | default 0x20000 |
| 165 | help |
| 166 | The amount of anticipated heap usage in CAR by FSP. |
| 167 | Refer to Platform FSP integration guide document to know |
| 168 | the exact FSP requirement for Heap setup. |
| 169 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 170 | config CHIPSET_DEVICETREE |
| 171 | string |
| 172 | default "soc/intel/meteorlake/chipset.cb" |
| 173 | |
| 174 | config EXT_BIOS_WIN_BASE |
| 175 | default 0xf8000000 |
| 176 | |
| 177 | config EXT_BIOS_WIN_SIZE |
| 178 | default 0x2000000 |
| 179 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 180 | config IFD_CHIPSET |
| 181 | string |
Subrata Banik | d624e74 | 2022-07-06 06:45:57 +0000 | [diff] [blame] | 182 | default "mtl" |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 183 | |
| 184 | config IED_REGION_SIZE |
| 185 | hex |
| 186 | default 0x400000 |
| 187 | |
| 188 | config HEAP_SIZE |
| 189 | hex |
| 190 | default 0x10000 |
| 191 | |
Subrata Banik | a33bcb9 | 2022-07-06 07:07:26 +0000 | [diff] [blame] | 192 | # Intel recommends reserving the PCIe TBT root port resources as below: |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 193 | # - 42 buses |
| 194 | # - 194 MiB Non-prefetchable memory |
| 195 | # - 448 MiB Prefetchable memory |
| 196 | if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 197 | |
| 198 | config PCIEXP_HOTPLUG_BUSES |
| 199 | int |
| 200 | default 42 |
| 201 | |
| 202 | config PCIEXP_HOTPLUG_MEM |
| 203 | hex |
| 204 | default 0xc200000 |
| 205 | |
| 206 | config PCIEXP_HOTPLUG_PREFETCH_MEM |
| 207 | hex |
| 208 | default 0x1c000000 |
| 209 | |
| 210 | endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 211 | |
| 212 | config MAX_TBT_ROOT_PORTS |
| 213 | int |
| 214 | default 4 |
| 215 | |
| 216 | config MAX_ROOT_PORTS |
| 217 | int |
| 218 | default 12 |
| 219 | |
| 220 | config MAX_PCIE_CLOCK_SRC |
| 221 | int |
| 222 | default 9 |
| 223 | |
| 224 | config SMM_TSEG_SIZE |
| 225 | hex |
| 226 | default 0x800000 |
| 227 | |
| 228 | config SMM_RESERVED_SIZE |
| 229 | hex |
| 230 | default 0x200000 |
| 231 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 232 | config PCR_BASE_ADDRESS |
| 233 | hex |
| 234 | default 0xe0000000 |
| 235 | help |
| 236 | This option allows you to select MMIO Base Address of sideband bus. |
| 237 | |
Subrata Banik | 5557fbe | 2023-07-12 14:31:09 +0530 | [diff] [blame] | 238 | config IOE_PCR_BASE_ADDRESS |
| 239 | hex |
| 240 | default 0x3fff0000000 |
| 241 | help |
| 242 | This option allows you to select MMIO Base Address of IOE sideband bus. |
| 243 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 244 | config ECAM_MMCONF_BASE_ADDRESS |
| 245 | default 0xc0000000 |
| 246 | |
Sridhar Siricilla | d9c8269 | 2023-01-05 17:08:17 +0530 | [diff] [blame] | 247 | config SOC_INTEL_PERFORMANCE_CORE_SCALE_FACTOR |
| 248 | int |
| 249 | default 125 |
| 250 | |
| 251 | config SOC_INTEL_EFFICIENT_CORE_SCALE_FACTOR |
| 252 | int |
| 253 | default 100 |
| 254 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 255 | config CPU_BCLK_MHZ |
| 256 | int |
| 257 | default 100 |
| 258 | |
| 259 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 260 | int |
| 261 | default 120 |
| 262 | |
| 263 | config CPU_XTAL_HZ |
| 264 | default 38400000 |
| 265 | |
| 266 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 267 | int |
| 268 | default 133 |
| 269 | |
| 270 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 271 | int |
Subrata Banik | e54a8fd | 2022-07-06 12:54:48 +0000 | [diff] [blame] | 272 | default 3 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 273 | |
| 274 | config SOC_INTEL_I2C_DEV_MAX |
| 275 | int |
| 276 | default 6 |
| 277 | |
| 278 | config SOC_INTEL_UART_DEV_MAX |
| 279 | int |
| 280 | default 3 |
| 281 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 282 | config SOC_INTEL_USB2_DEV_MAX |
| 283 | int |
| 284 | default 10 |
| 285 | |
| 286 | config SOC_INTEL_USB3_DEV_MAX |
| 287 | int |
| 288 | default 2 |
| 289 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 290 | config CONSOLE_UART_BASE_ADDRESS |
| 291 | hex |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 292 | default 0xfe02c000 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 293 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 294 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 295 | config VBT_DATA_SIZE_KB |
| 296 | int |
| 297 | default 9 |
| 298 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 299 | # Clock divider parameters for 115200 baud rate |
Angel Pons | 054ff5e | 2022-06-26 10:19:53 +0200 | [diff] [blame] | 300 | # Baudrate = (UART source clock * M) /(N *16) |
Wonkyu Kim | 60d9b89 | 2022-10-10 23:01:38 -0700 | [diff] [blame] | 301 | # MTL UART source clock: 100MHz |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 302 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 303 | hex |
| 304 | default 0x25a |
| 305 | |
| 306 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 307 | hex |
| 308 | default 0x7fff |
| 309 | |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 310 | config VBOOT |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 311 | select VBOOT_SEPARATE_VERSTAGE |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 312 | select VBOOT_MUST_REQUEST_DISPLAY |
| 313 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 314 | select VBOOT_VBNV_CMOS |
| 315 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 316 | select VBOOT_X86_SHA256_ACCELERATION |
| 317 | |
Subrata Banik | febd3d7 | 2022-05-30 13:59:25 +0530 | [diff] [blame] | 318 | # Default hash block size is 1KiB. Increasing it to 4KiB to improve |
| 319 | # hashing time as well as read time. |
| 320 | config VBOOT_HASH_BLOCK_SIZE |
| 321 | hex |
| 322 | default 0x1000 |
| 323 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 324 | config CBFS_SIZE |
| 325 | hex |
| 326 | default 0x200000 |
| 327 | |
| 328 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 329 | hex |
Subrata Banik | 7d1995c | 2022-05-30 13:56:13 +0530 | [diff] [blame] | 330 | default 0x2000 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 331 | |
Kapil Porwal | 1eb4425 | 2023-01-18 01:10:04 +0530 | [diff] [blame] | 332 | config CONSOLE_CBMEM_BUFFER_SIZE |
| 333 | hex |
Subrata Banik | deebd94 | 2023-05-08 10:29:42 +0000 | [diff] [blame] | 334 | default 0x100000 if BUILDING_WITH_DEBUG_FSP |
Kapil Porwal | 1eb4425 | 2023-01-18 01:10:04 +0530 | [diff] [blame] | 335 | default 0x40000 |
| 336 | |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 337 | config FSP_HEADER_PATH |
| 338 | string "Location of FSP headers" |
| 339 | default "src/vendorcode/intel/fsp/fsp2_0/meteorlake/" |
| 340 | |
| 341 | config FSP_FD_PATH |
| 342 | string |
| 343 | depends on FSP_USE_REPO |
| 344 | default "3rdparty/fsp/MeteorLakeFspBinPkg/Fsp.fd" |
| 345 | |
| 346 | config SOC_INTEL_METEORLAKE_DEBUG_CONSENT |
| 347 | int "Debug Consent for MTL" |
| 348 | # USB DBC is more common for developers so make this default to 3 if |
| 349 | # SOC_INTEL_DEBUG_CONSENT=y |
Subrata Banik | 653e157 | 2022-07-20 12:26:24 +0000 | [diff] [blame] | 350 | default 3 if SOC_INTEL_DEBUG_CONSENT |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 351 | default 0 |
| 352 | help |
| 353 | This is to control debug interface on SOC. |
| 354 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 355 | PlatformDebugConsent in FspmUpd.h has the details. |
| 356 | |
| 357 | Desired platform debug type are |
| 358 | 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB), |
| 359 | 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC), |
| 360 | 6:Enable (2-wire DCI OOB), 7:Manual |
| 361 | |
| 362 | config DATA_BUS_WIDTH |
| 363 | int |
| 364 | default 128 |
| 365 | |
| 366 | config DIMMS_PER_CHANNEL |
| 367 | int |
| 368 | default 2 |
| 369 | |
| 370 | config MRC_CHANNEL_WIDTH |
| 371 | int |
| 372 | default 16 |
| 373 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 374 | config SOC_INTEL_GFX_FRAMEBUFFER_OFFSET |
| 375 | hex |
| 376 | default 0x800000 |
| 377 | |
Kapil Porwal | e988cc2 | 2023-01-16 16:41:49 +0000 | [diff] [blame] | 378 | config FSP_PUBLISH_MBP_HOB |
| 379 | bool |
| 380 | default n if CHROMEOS |
| 381 | default y |
| 382 | help |
| 383 | This is to control creation of ME_BIOS_PAYLOAD_HOB (MBP HOB) by FSP. |
| 384 | Disabling it for the platforms, which do not use MBP HOB, can improve the boot time. |
| 385 | |
Subrata Banik | 6ee454a | 2023-03-30 21:01:44 +0530 | [diff] [blame] | 386 | config BUILDING_WITH_DEBUG_FSP |
| 387 | bool "Debug FSP is used for the build" |
| 388 | default n |
| 389 | help |
| 390 | Set this option if debug build of FSP is used. |
| 391 | |
Subrata Banik | fa85b0f | 2023-04-02 15:31:06 +0530 | [diff] [blame] | 392 | config DROP_CPU_FEATURE_PROGRAM_IN_FSP |
| 393 | bool |
Subrata Banik | 03ff5db | 2023-04-02 15:44:13 +0530 | [diff] [blame] | 394 | default y if MP_SERVICES_PPI_V2_NOOP || CHROMEOS |
Subrata Banik | fa85b0f | 2023-04-02 15:31:06 +0530 | [diff] [blame] | 395 | default n |
| 396 | help |
| 397 | This is to avoid FSP running basic CPU feature programming on BSP |
| 398 | and on APs using the "CpuFeaturesPei.efi" module. The feature programming |
| 399 | includes enabling x2APIC, MCA, MCE and Turbo etc. |
| 400 | |
| 401 | Most of these feature programming are getting performed today in scope |
| 402 | of coreboot doing MP Init. Running these redundant programming in scope |
| 403 | of FSP (when `USE_FSP_FEATURE_PROGRAM_ON_APS` config is enabled) would |
| 404 | results in CPU exception. |
| 405 | |
| 406 | SoC users to select this config after dropping "CpuFeaturesPei.ffs" module |
| 407 | from FSP-S Firmware Volume (FV). Upon selection, coreboot runs those additional |
| 408 | feature programming on BSP and APs. |
| 409 | |
| 410 | This feature is default enabled, in case of "coreboot running MP init" |
| 411 | aka MP_SERVICES_PPI_V2_NOOP config is selected. |
| 412 | |
Ravi Sarawadi | 31e0aeb | 2022-10-12 00:05:41 -0700 | [diff] [blame] | 413 | config PCIE_LTR_MAX_SNOOP_LATENCY |
| 414 | hex |
| 415 | default 0x100f |
| 416 | help |
| 417 | Latency tolerance reporting, max snoop latency value defaults to 15.73 ms. |
| 418 | |
| 419 | config PCIE_LTR_MAX_NO_SNOOP_LATENCY |
| 420 | hex |
| 421 | default 0x100f |
| 422 | help |
| 423 | Latency tolerance reporting, max non-snoop latency value defaults to 15.73 ms. |
| 424 | |
Kane Chen | 70c6fb4 | 2023-07-12 19:11:41 +0800 | [diff] [blame] | 425 | config IOE_DIE_CLOCK_START |
| 426 | int |
| 427 | default 6 if SOC_INTEL_METEORLAKE_U_H |
| 428 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 429 | endif |