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