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