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 |
| 4 | Intel Meteorlake support |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 5 | |
| 6 | if SOC_INTEL_METEORLAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 11 | select ARCH_X86 |
| 12 | select BOOT_DEVICE_SUPPORTS_WRITES |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 13 | select CACHE_MRC_SETTINGS |
| 14 | select CPU_INTEL_COMMON |
Subrata Banik | 1f5154e | 2022-12-06 18:21:50 +0530 | [diff] [blame] | 15 | select CPU_INTEL_COMMON_VOLTAGE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 16 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 17 | select CPU_SUPPORTS_INTEL_TME |
| 18 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Matt DeVillier | decbf7b | 2023-01-18 18:58:38 -0600 | [diff] [blame] | 19 | select DEFAULT_SOFTWARE_CONNECTION_MANAGER if MAINBOARD_HAS_CHROMEOS |
Subrata Banik | e96993d | 2022-07-09 22:06:45 +0000 | [diff] [blame] | 20 | select DEFAULT_X2APIC_LATE_WORKAROUND |
Saurabh Mishra | 16ba8e1 | 2022-11-22 13:35:08 +0530 | [diff] [blame] | 21 | select DISPLAY_FSP_VERSION_INFO_2 |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 22 | select DRIVERS_USB_ACPI |
Sean Rhodes | 7bbc9a5 | 2022-07-18 11:31:00 +0100 | [diff] [blame] | 23 | select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2 |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 24 | select FSP_COMPRESS_FSP_S_LZ4 |
| 25 | select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 26 | select FSP_M_XIP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 27 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_3 |
Subrata Banik | e88bee7 | 2022-06-27 16:51:44 +0530 | [diff] [blame] | 28 | select FSP_USES_CB_DEBUG_EVENT_HANDLER |
| 29 | select FSPS_HAS_ARCH_UPD |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 30 | select GENERIC_GPIO_LIB |
Subrata Banik | e88bee7 | 2022-06-27 16:51:44 +0530 | [diff] [blame] | 31 | select HAVE_DEBUG_RAM_SETUP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 32 | select HAVE_FSP_GOP |
Subrata Banik | c0f4b12 | 2022-12-06 14:03:07 +0530 | [diff] [blame] | 33 | select HAVE_INTEL_COMPLIANCE_TEST_MODE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 34 | select HAVE_SMI_HANDLER |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 35 | select IDT_IN_EVERY_STAGE |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 36 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 37 | select INTEL_GMA_ACPI |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 38 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Dinesh Gehlot | 0d76a30 | 2022-12-09 07:24:08 +0000 | [diff] [blame] | 39 | select INTEL_GMA_OPREGION_2_1 |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 40 | select IOAPIC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 41 | select MICROCODE_BLOB_UNDISCLOSED |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 42 | select MRC_SETTINGS_PROTECT |
Subrata Banik | 0d6d228 | 2022-07-09 22:17:02 +0000 | [diff] [blame] | 43 | select PARALLEL_MP_AP_WORK |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 44 | select PLATFORM_USES_FSP2_3 |
| 45 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 46 | select SOC_INTEL_COMMON |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 47 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 48 | select SOC_INTEL_COMMON_BLOCK |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 49 | select SOC_INTEL_COMMON_BLOCK_ACPI |
| 50 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
Sridhar Siricilla | d1237da | 2022-12-09 01:13:45 +0530 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPU_HYBRID |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
Subrata Banik | 2a2488f | 2022-12-05 20:28:42 +0530 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
Ravi Sarawadi | e02fd83 | 2022-05-08 00:27:31 -0700 | [diff] [blame] | 54 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP |
| 55 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP_LPM_REQ |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_BLOCK_CAR |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 57 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Subrata Banik | 00b682e | 2022-09-14 17:58:51 -0700 | [diff] [blame] | 58 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 59 | select SOC_INTEL_COMMON_BLOCK_CPU |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 60 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 61 | select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
| 62 | select SOC_INTEL_COMMON_BLOCK_DTT |
| 63 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Subrata Banik | bae1de1 | 2022-07-21 13:43:37 +0000 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_BLOCK_GPIO_LOCK_USING_PCR |
Jamie Ryu | b6c32d7 | 2022-08-03 01:13:33 -0700 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK_GPIO_PMODE_4BITS |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 67 | select SOC_INTEL_COMMON_BLOCK_HDA |
Subrata Banik | 98b6967 | 2022-11-23 14:46:16 +0530 | [diff] [blame] | 68 | select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 69 | select SOC_INTEL_COMMON_BLOCK_IPU |
| 70 | select SOC_INTEL_COMMON_BLOCK_IOE_P2SB |
Kapil Porwal | cca3c90 | 2022-12-19 23:57:15 +0530 | [diff] [blame] | 71 | select SOC_INTEL_COMMON_BLOCK_IRQ |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 72 | select SOC_INTEL_COMMON_BLOCK_MEMINIT |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 73 | select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3 |
| 74 | select SOC_INTEL_COMMON_BLOCK_PMC_EPOC |
| 75 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 76 | select SOC_INTEL_COMMON_BLOCK_SA |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 78 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 79 | select SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 80 | select SOC_INTEL_COMMON_BLOCK_XHCI |
| 81 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
| 82 | select SOC_INTEL_COMMON_BASECODE |
| 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 |
Subrata Banik | b955304 | 2022-11-24 23:48:13 +0530 | [diff] [blame] | 87 | select SOC_INTEL_CSE_SEND_EOP_LATE |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 88 | select SOC_INTEL_CSE_SET_EOP |
Wonkyu Kim | a888489 | 2022-08-10 14:10:03 -0700 | [diff] [blame] | 89 | select SOC_INTEL_GFX_NON_PREFETCHABLE_MMIO |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 90 | select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 91 | select SSE2 |
| 92 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 93 | select TSC_MONOTONIC_TIMER |
| 94 | select UDELAY_TSC |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 95 | select UDK_202111_BINDING |
Subrata Banik | 6a22c5f | 2022-11-21 17:39:57 +0530 | [diff] [blame] | 96 | select X86_INIT_NEED_1_SIPI |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 97 | |
Subrata Banik | 8e15859 | 2022-12-13 12:16:52 +0530 | [diff] [blame] | 98 | config SOC_INTEL_METEORLAKE_TCSS_USB4_SUPPORT |
| 99 | bool |
| 100 | default y |
| 101 | select SOC_INTEL_COMMON_BLOCK_TCSS |
| 102 | select SOC_INTEL_COMMON_BLOCK_USB4 |
| 103 | select SOC_INTEL_COMMON_BLOCK_USB4_PCIE |
| 104 | select SOC_INTEL_COMMON_BLOCK_USB4_XHCI |
| 105 | |
Subrata Banik | 4300421 | 2022-12-13 12:20:47 +0530 | [diff] [blame] | 106 | config METEORLAKE_CAR_ENHANCED_NEM |
| 107 | bool |
| 108 | default y if !INTEL_CAR_NEM |
| 109 | select INTEL_CAR_NEM_ENHANCED |
| 110 | select CAR_HAS_SF_MASKS |
| 111 | select COS_MAPPED_TO_MSB |
| 112 | select CAR_HAS_L3_PROTECTED_WAYS |
| 113 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 114 | config MAX_CPUS |
| 115 | int |
| 116 | default 22 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 117 | |
| 118 | config DCACHE_RAM_BASE |
| 119 | default 0xfef00000 |
| 120 | |
| 121 | config DCACHE_RAM_SIZE |
| 122 | default 0xc0000 |
| 123 | help |
| 124 | The size of the cache-as-ram region required during bootblock |
| 125 | and/or romstage. |
| 126 | |
| 127 | config DCACHE_BSP_STACK_SIZE |
| 128 | hex |
| 129 | default 0x80400 |
| 130 | help |
| 131 | The amount of anticipated stack usage in CAR by bootblock and |
| 132 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 133 | sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement |
| 134 | (~1KiB). |
| 135 | |
| 136 | config FSP_TEMP_RAM_SIZE |
| 137 | hex |
| 138 | default 0x20000 |
| 139 | help |
| 140 | The amount of anticipated heap usage in CAR by FSP. |
| 141 | Refer to Platform FSP integration guide document to know |
| 142 | the exact FSP requirement for Heap setup. |
| 143 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 144 | config CHIPSET_DEVICETREE |
| 145 | string |
| 146 | default "soc/intel/meteorlake/chipset.cb" |
| 147 | |
| 148 | config EXT_BIOS_WIN_BASE |
| 149 | default 0xf8000000 |
| 150 | |
| 151 | config EXT_BIOS_WIN_SIZE |
| 152 | default 0x2000000 |
| 153 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 154 | config IFD_CHIPSET |
| 155 | string |
Subrata Banik | d624e74 | 2022-07-06 06:45:57 +0000 | [diff] [blame] | 156 | default "mtl" |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 157 | |
| 158 | config IED_REGION_SIZE |
| 159 | hex |
| 160 | default 0x400000 |
| 161 | |
| 162 | config HEAP_SIZE |
| 163 | hex |
| 164 | default 0x10000 |
| 165 | |
Subrata Banik | a33bcb9 | 2022-07-06 07:07:26 +0000 | [diff] [blame] | 166 | # Intel recommends reserving the PCIe TBT root port resources as below: |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 167 | # - 42 buses |
| 168 | # - 194 MiB Non-prefetchable memory |
| 169 | # - 448 MiB Prefetchable memory |
| 170 | if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 171 | |
| 172 | config PCIEXP_HOTPLUG_BUSES |
| 173 | int |
| 174 | default 42 |
| 175 | |
| 176 | config PCIEXP_HOTPLUG_MEM |
| 177 | hex |
| 178 | default 0xc200000 |
| 179 | |
| 180 | config PCIEXP_HOTPLUG_PREFETCH_MEM |
| 181 | hex |
| 182 | default 0x1c000000 |
| 183 | |
| 184 | endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 185 | |
| 186 | config MAX_TBT_ROOT_PORTS |
| 187 | int |
| 188 | default 4 |
| 189 | |
| 190 | config MAX_ROOT_PORTS |
| 191 | int |
| 192 | default 12 |
| 193 | |
| 194 | config MAX_PCIE_CLOCK_SRC |
| 195 | int |
| 196 | default 9 |
| 197 | |
| 198 | config SMM_TSEG_SIZE |
| 199 | hex |
| 200 | default 0x800000 |
| 201 | |
| 202 | config SMM_RESERVED_SIZE |
| 203 | hex |
| 204 | default 0x200000 |
| 205 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 206 | config PCR_BASE_ADDRESS |
| 207 | hex |
| 208 | default 0xe0000000 |
| 209 | help |
| 210 | This option allows you to select MMIO Base Address of sideband bus. |
| 211 | |
| 212 | config ECAM_MMCONF_BASE_ADDRESS |
| 213 | default 0xc0000000 |
| 214 | |
Sridhar Siricilla | d9c8269 | 2023-01-05 17:08:17 +0530 | [diff] [blame] | 215 | config SOC_INTEL_PERFORMANCE_CORE_SCALE_FACTOR |
| 216 | int |
| 217 | default 125 |
| 218 | |
| 219 | config SOC_INTEL_EFFICIENT_CORE_SCALE_FACTOR |
| 220 | int |
| 221 | default 100 |
| 222 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 223 | config CPU_BCLK_MHZ |
| 224 | int |
| 225 | default 100 |
| 226 | |
| 227 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 228 | int |
| 229 | default 120 |
| 230 | |
| 231 | config CPU_XTAL_HZ |
| 232 | default 38400000 |
| 233 | |
| 234 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 235 | int |
| 236 | default 133 |
| 237 | |
| 238 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 239 | int |
Subrata Banik | e54a8fd | 2022-07-06 12:54:48 +0000 | [diff] [blame] | 240 | default 3 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 241 | |
| 242 | config SOC_INTEL_I2C_DEV_MAX |
| 243 | int |
| 244 | default 6 |
| 245 | |
| 246 | config SOC_INTEL_UART_DEV_MAX |
| 247 | int |
| 248 | default 3 |
| 249 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 250 | config SOC_INTEL_USB2_DEV_MAX |
| 251 | int |
| 252 | default 10 |
| 253 | |
| 254 | config SOC_INTEL_USB3_DEV_MAX |
| 255 | int |
| 256 | default 2 |
| 257 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 258 | config CONSOLE_UART_BASE_ADDRESS |
| 259 | hex |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 260 | default 0xfe02c000 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 261 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 262 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 263 | config VBT_DATA_SIZE_KB |
| 264 | int |
| 265 | default 9 |
| 266 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 267 | # Clock divider parameters for 115200 baud rate |
Angel Pons | 054ff5e | 2022-06-26 10:19:53 +0200 | [diff] [blame] | 268 | # Baudrate = (UART source clock * M) /(N *16) |
Wonkyu Kim | 60d9b89 | 2022-10-10 23:01:38 -0700 | [diff] [blame] | 269 | # MTL UART source clock: 100MHz |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 270 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 271 | hex |
| 272 | default 0x25a |
| 273 | |
| 274 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 275 | hex |
| 276 | default 0x7fff |
| 277 | |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 278 | config VBOOT |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 279 | select VBOOT_SEPARATE_VERSTAGE |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 280 | select VBOOT_MUST_REQUEST_DISPLAY |
| 281 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 282 | select VBOOT_VBNV_CMOS |
| 283 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 284 | select VBOOT_X86_SHA256_ACCELERATION |
| 285 | |
Subrata Banik | febd3d7 | 2022-05-30 13:59:25 +0530 | [diff] [blame] | 286 | # Default hash block size is 1KiB. Increasing it to 4KiB to improve |
| 287 | # hashing time as well as read time. |
| 288 | config VBOOT_HASH_BLOCK_SIZE |
| 289 | hex |
| 290 | default 0x1000 |
| 291 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 292 | config CBFS_SIZE |
| 293 | hex |
| 294 | default 0x200000 |
| 295 | |
| 296 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 297 | hex |
Kapil Porwal | b10a4bf | 2023-01-18 01:20:40 +0530 | [diff] [blame] | 298 | default 0x16000 if CONSOLE_SERIAL |
Subrata Banik | 7d1995c | 2022-05-30 13:56:13 +0530 | [diff] [blame] | 299 | default 0x2000 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 300 | |
Kapil Porwal | 1eb4425 | 2023-01-18 01:10:04 +0530 | [diff] [blame] | 301 | config CONSOLE_CBMEM_BUFFER_SIZE |
| 302 | hex |
Kapil Porwal | b10a4bf | 2023-01-18 01:20:40 +0530 | [diff] [blame] | 303 | default 0x100000 if CONSOLE_SERIAL |
Kapil Porwal | 1eb4425 | 2023-01-18 01:10:04 +0530 | [diff] [blame] | 304 | default 0x40000 |
| 305 | |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 306 | config FSP_HEADER_PATH |
| 307 | string "Location of FSP headers" |
| 308 | default "src/vendorcode/intel/fsp/fsp2_0/meteorlake/" |
| 309 | |
| 310 | config FSP_FD_PATH |
| 311 | string |
| 312 | depends on FSP_USE_REPO |
| 313 | default "3rdparty/fsp/MeteorLakeFspBinPkg/Fsp.fd" |
| 314 | |
| 315 | config SOC_INTEL_METEORLAKE_DEBUG_CONSENT |
| 316 | int "Debug Consent for MTL" |
| 317 | # USB DBC is more common for developers so make this default to 3 if |
| 318 | # SOC_INTEL_DEBUG_CONSENT=y |
Subrata Banik | 653e157 | 2022-07-20 12:26:24 +0000 | [diff] [blame] | 319 | default 3 if SOC_INTEL_DEBUG_CONSENT |
Ravi Sarawadi | 8069b5d | 2022-04-10 23:36:52 -0700 | [diff] [blame] | 320 | default 0 |
| 321 | help |
| 322 | This is to control debug interface on SOC. |
| 323 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 324 | PlatformDebugConsent in FspmUpd.h has the details. |
| 325 | |
| 326 | Desired platform debug type are |
| 327 | 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB), |
| 328 | 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC), |
| 329 | 6:Enable (2-wire DCI OOB), 7:Manual |
| 330 | |
| 331 | config DATA_BUS_WIDTH |
| 332 | int |
| 333 | default 128 |
| 334 | |
| 335 | config DIMMS_PER_CHANNEL |
| 336 | int |
| 337 | default 2 |
| 338 | |
| 339 | config MRC_CHANNEL_WIDTH |
| 340 | int |
| 341 | default 16 |
| 342 | |
Ravi Sarawadi | 91ffac8 | 2022-05-07 16:37:09 -0700 | [diff] [blame] | 343 | config SOC_INTEL_GFX_FRAMEBUFFER_OFFSET |
| 344 | hex |
| 345 | default 0x800000 |
| 346 | |
Subrata Banik | 7c4789d | 2022-07-09 22:41:48 +0000 | [diff] [blame] | 347 | choice |
| 348 | prompt "Multiprocessor (MP) Initialization configuration to use" |
| 349 | default MTL_USE_FSP_MP_INIT |
| 350 | |
| 351 | config MTL_USE_FSP_MP_INIT |
| 352 | bool "Use FSP MP init" |
| 353 | select MP_SERVICES_PPI_V2 |
| 354 | help |
| 355 | Upon selection, coreboot brings APs from reset and the FSP runs feature programming. |
| 356 | |
| 357 | config MTL_USE_COREBOOT_MP_INIT |
| 358 | bool "Use coreboot MP init" |
Subrata Banik | 848c37d | 2022-12-09 13:38:26 +0530 | [diff] [blame] | 359 | # FSP assumes ownership of the APs (Application Processors) |
| 360 | # upon passing `NULL` pointer to the CpuMpPpi FSP-S UPD. |
| 361 | # Hence, select `MP_SERVICES_PPI_V2_NOOP` config to pass a valid |
| 362 | # pointer to the CpuMpPpi UPD with FSP_UNSUPPORTED type APIs. |
| 363 | # This will protect APs from getting hijacked by FSP while coreboot |
| 364 | # decides to set SkipMpInit UPD. |
| 365 | select MP_SERVICES_PPI_V2_NOOP |
Subrata Banik | 7c4789d | 2022-07-09 22:41:48 +0000 | [diff] [blame] | 366 | select RELOAD_MICROCODE_PATCH |
| 367 | help |
Sridhar Siricilla | 3741e99 | 2022-08-16 21:52:32 +0530 | [diff] [blame] | 368 | Upon selection, coreboot performs MP Initialization that includes feature programming. |
Subrata Banik | 7c4789d | 2022-07-09 22:41:48 +0000 | [diff] [blame] | 369 | |
| 370 | endchoice |
| 371 | |
Kapil Porwal | e988cc2 | 2023-01-16 16:41:49 +0000 | [diff] [blame] | 372 | config FSP_PUBLISH_MBP_HOB |
| 373 | bool |
| 374 | default n if CHROMEOS |
| 375 | default y |
| 376 | help |
| 377 | This is to control creation of ME_BIOS_PAYLOAD_HOB (MBP HOB) by FSP. |
| 378 | Disabling it for the platforms, which do not use MBP HOB, can improve the boot time. |
| 379 | |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 380 | endif |