Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 1 | config SOC_INTEL_TIGERLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Tigerlake support |
| 5 | |
Jeremy Soller | 6b1b9ad | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 6 | config SOC_INTEL_TIGERLAKE_PCH_H |
| 7 | bool |
| 8 | |
Aamir Bohra | a23e0c9 | 2020-03-25 15:31:12 +0530 | [diff] [blame] | 9 | if SOC_INTEL_TIGERLAKE |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 10 | |
| 11 | config CPU_SPECIFIC_OPTIONS |
| 12 | def_bool y |
| 13 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 14 | select ARCH_X86 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 15 | select BOOT_DEVICE_SUPPORTS_WRITES |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 16 | select CACHE_MRC_SETTINGS |
Alex Levin | f3668fc | 2020-06-11 20:09:45 -0700 | [diff] [blame] | 17 | select CPU_INTEL_COMMON |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 18 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Michael Niewöhner | 5307f12 | 2021-09-19 00:32:37 +0200 | [diff] [blame] | 19 | select CPU_SUPPORTS_INTEL_TME |
Michael Niewöhner | fe6070f | 2020-10-04 15:16:04 +0200 | [diff] [blame] | 20 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Frans Hendriks | a4d3dbc | 2022-08-11 15:09:38 +0200 | [diff] [blame] | 21 | select DISPLAY_FSP_VERSION_INFO if !FSP_TYPE_IOT |
Duncan Laurie | 2e9315c | 2020-10-27 10:29:16 -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 |
Furquan Shaikh | ba75c4c | 2020-11-22 15:45:54 -0800 | [diff] [blame] | 24 | select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW |
Karthikeyan Ramasubramanian | 6abee84 | 2020-06-16 23:29:28 -0600 | [diff] [blame] | 25 | select FSP_COMPRESS_FSP_S_LZ4 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 26 | select FSP_M_XIP |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 27 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_3 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 28 | select GENERIC_GPIO_LIB |
| 29 | select HAVE_FSP_GOP |
Felix Singer | b965248 | 2021-12-31 00:21:08 +0100 | [diff] [blame] | 30 | select HAVE_HYPERTHREADING |
Felix Singer | 3e3c456 | 2020-12-17 18:34:45 +0000 | [diff] [blame] | 31 | select HAVE_INTEL_FSP_REPO |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 32 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 33 | select HAVE_SMI_HANDLER |
| 34 | select IDT_IN_EVERY_STAGE |
Shreesh Chhabbi | 87c7ec7 | 2020-12-03 14:07:15 -0800 | [diff] [blame] | 35 | select INTEL_CAR_NEM_ENHANCED if !INTEL_CAR_NEM |
Shreesh Chhabbi | 860c684 | 2020-12-03 15:06:20 -0800 | [diff] [blame] | 36 | select CAR_HAS_SF_MASKS if INTEL_CAR_NEM_ENHANCED |
Shreesh Chhabbi | 42b1d3f | 2020-11-05 12:06:29 -0800 | [diff] [blame] | 37 | select COS_MAPPED_TO_MSB if INTEL_CAR_NEM_ENHANCED |
Subrata Banik | ad08265 | 2021-07-23 16:15:57 +0530 | [diff] [blame] | 38 | select SF_MASK_2WAYS_PER_BIT if INTEL_CAR_NEM_ENHANCED |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 39 | select INTEL_GMA_ACPI |
| 40 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Aamir Bohra | 30cca6c | 2021-02-04 20:57:51 +0530 | [diff] [blame] | 41 | select MP_SERVICES_PPI_V1 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 42 | select MRC_SETTINGS_PROTECT |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 43 | select PARALLEL_MP_AP_WORK |
Subrata Banik | b622d4b | 2020-05-26 18:33:22 +0530 | [diff] [blame] | 44 | select PLATFORM_USES_FSP2_2 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 45 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
| 46 | select SOC_INTEL_COMMON |
| 47 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
| 48 | select SOC_INTEL_COMMON_BLOCK |
| 49 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Michael Niewöhner | 02275be | 2020-11-12 23:50:37 +0100 | [diff] [blame] | 50 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
Angel Pons | 98f672a | 2021-02-19 19:42:10 +0100 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
Michael Niewöhner | 8a6c34e | 2021-01-01 21:26:42 +0100 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
Tim Wawrzynczak | 72d9402 | 2021-07-01 08:25:11 -0600 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP |
| 54 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP_LPM_REQ |
Subrata Banik | 21974ab | 2020-10-31 21:40:43 +0530 | [diff] [blame] | 55 | select SOC_INTEL_COMMON_BLOCK_CAR |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Furquan Shaikh | 23e8813 | 2020-10-08 23:44:20 -0700 | [diff] [blame] | 57 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 58 | select SOC_INTEL_COMMON_BLOCK_CPU |
| 59 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
Angel Pons | a4cd911 | 2021-02-19 19:23:38 +0100 | [diff] [blame] | 60 | select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
Tim Wawrzynczak | c5316ec | 2020-05-29 15:20:56 -0600 | [diff] [blame] | 61 | select SOC_INTEL_COMMON_BLOCK_DTT |
Nick Vaccaro | ef8258a | 2019-12-09 22:11:33 -0800 | [diff] [blame] | 62 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Duncan Laurie | 7d97136 | 2020-11-05 10:09:58 -0800 | [diff] [blame] | 63 | select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
| 65 | select SOC_INTEL_COMMON_BLOCK_HDA |
Subrata Banik | c176fc2 | 2022-04-25 16:59:35 +0530 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC |
Tim Wawrzynczak | ed042a9 | 2021-02-04 17:07:14 -0700 | [diff] [blame] | 67 | select SOC_INTEL_COMMON_BLOCK_IRQ |
Furquan Shaikh | f06d046 | 2020-12-31 21:15:34 -0800 | [diff] [blame] | 68 | select SOC_INTEL_COMMON_BLOCK_MEMINIT |
Duncan Laurie | e997d85 | 2020-10-10 00:18:08 +0000 | [diff] [blame] | 69 | select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3 |
Lean Sheng Tan | 7502000 | 2021-06-30 01:47:48 -0700 | [diff] [blame] | 70 | select SOC_INTEL_COMMON_BLOCK_PMC_EPOC |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 71 | select SOC_INTEL_COMMON_BLOCK_SA |
| 72 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 73 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
John Zhao | 3c46371 | 2022-01-10 15:49:37 -0800 | [diff] [blame] | 74 | select SOC_INTEL_COMMON_BLOCK_TCSS |
Duncan Laurie | 6f58b99 | 2020-08-28 19:44:42 +0000 | [diff] [blame] | 75 | select SOC_INTEL_COMMON_BLOCK_USB4 |
| 76 | select SOC_INTEL_COMMON_BLOCK_USB4_PCIE |
Duncan Laurie | 2e9315c | 2020-10-27 10:29:16 -0700 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_USB4_XHCI |
Karthikeyan Ramasubramanian | fa9e8f9 | 2020-11-04 22:22:46 -0700 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 79 | select SOC_INTEL_COMMON_FSP_RESET |
Angel Pons | eb90c51 | 2022-07-18 14:41:24 +0200 | [diff] [blame] | 80 | select SOC_INTEL_COMMON_PCH_CLIENT |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_RESET |
Sumeet R Pawnikar | d213246 | 2020-05-15 15:55:37 +0530 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Tim Wawrzynczak | 25d2452 | 2021-06-17 12:44:06 -0600 | [diff] [blame] | 83 | select SOC_INTEL_CSE_SET_EOP |
Subrata Banik | af27ac2 | 2022-02-18 00:44:15 +0530 | [diff] [blame] | 84 | select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 85 | select SSE2 |
| 86 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 87 | select TSC_MONOTONIC_TIMER |
| 88 | select UDELAY_TSC |
| 89 | select UDK_2017_BINDING |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 90 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 91 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 92 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Sridhar Siricilla | afe5562 | 2022-03-16 23:36:30 +0530 | [diff] [blame] | 93 | select SOC_INTEL_COMMON_BASECODE if SOC_INTEL_CSE_LITE_SKU |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 94 | select CR50_USE_LONG_INTERRUPT_PULSES if TPM_GOOGLE_CR50 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 95 | |
Andy Pont | d2f52ff | 2021-06-08 10:30:35 +0100 | [diff] [blame] | 96 | config MAX_CPUS |
| 97 | int |
Tim Crawford | f496286 | 2021-08-30 13:08:36 -0600 | [diff] [blame] | 98 | default 16 if SOC_INTEL_TIGERLAKE_PCH_H |
Andy Pont | d2f52ff | 2021-06-08 10:30:35 +0100 | [diff] [blame] | 99 | default 8 |
| 100 | |
Michael Niewöhner | d3b8522 | 2022-03-13 20:08:55 +0100 | [diff] [blame] | 101 | config DIMM_SPD_SIZE |
| 102 | default 512 |
| 103 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 104 | config DCACHE_RAM_BASE |
| 105 | default 0xfef00000 |
| 106 | |
| 107 | config DCACHE_RAM_SIZE |
Maulik V Vaghela | e9b1e0f | 2019-12-16 16:39:53 +0530 | [diff] [blame] | 108 | default 0x80000 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 109 | help |
| 110 | The size of the cache-as-ram region required during bootblock |
| 111 | and/or romstage. |
| 112 | |
| 113 | config DCACHE_BSP_STACK_SIZE |
| 114 | hex |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 115 | default 0x40400 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 116 | help |
| 117 | The amount of anticipated stack usage in CAR by bootblock and |
| 118 | other stages. In the case of FSP_USES_CB_STACK default value will be |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 119 | sum of FSP-M stack requirement(256KiB) and CB romstage stack requirement |
| 120 | (~1KiB). |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 121 | |
| 122 | config FSP_TEMP_RAM_SIZE |
| 123 | hex |
Maulik V Vaghela | e9b1e0f | 2019-12-16 16:39:53 +0530 | [diff] [blame] | 124 | default 0x20000 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 125 | help |
| 126 | The amount of anticipated heap usage in CAR by FSP. |
| 127 | Refer to Platform FSP integration guide document to know |
| 128 | the exact FSP requirement for Heap setup. |
| 129 | |
Duncan Laurie | a5bb31f | 2020-07-29 16:31:18 -0700 | [diff] [blame] | 130 | config CHIPSET_DEVICETREE |
| 131 | string |
Jeremy Soller | 6b1b9ad | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 132 | default "soc/intel/tigerlake/chipset_pch_h.cb" if SOC_INTEL_TIGERLAKE_PCH_H |
Duncan Laurie | a5bb31f | 2020-07-29 16:31:18 -0700 | [diff] [blame] | 133 | default "soc/intel/tigerlake/chipset.cb" |
| 134 | |
Furquan Shaikh | ba75c4c | 2020-11-22 15:45:54 -0800 | [diff] [blame] | 135 | config EXT_BIOS_WIN_BASE |
| 136 | default 0xf8000000 |
| 137 | |
| 138 | config EXT_BIOS_WIN_SIZE |
| 139 | default 0x2000000 |
| 140 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 141 | config IFD_CHIPSET |
| 142 | string |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 143 | default "tgl" |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 144 | |
| 145 | config IED_REGION_SIZE |
| 146 | hex |
| 147 | default 0x400000 |
| 148 | |
Angel Pons | 086a91c | 2022-08-15 18:32:00 +0200 | [diff] [blame] | 149 | config INTEL_TME |
| 150 | default n |
| 151 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 152 | config HEAP_SIZE |
| 153 | hex |
Duncan Laurie | aab226c | 2020-06-08 17:36:21 -0700 | [diff] [blame] | 154 | default 0x10000 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 155 | |
| 156 | config MAX_ROOT_PORTS |
| 157 | int |
Jeremy Soller | 6b1b9ad | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 158 | default 24 if SOC_INTEL_TIGERLAKE_PCH_H |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 159 | default 12 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 160 | |
Rizwan Qureshi | a979460 | 2021-04-08 20:31:47 +0530 | [diff] [blame] | 161 | config MAX_PCIE_CLOCK_SRC |
Ravi Sarawadi | 2fd4972 | 2019-12-16 23:41:36 -0800 | [diff] [blame] | 162 | int |
Jeremy Soller | 6b1b9ad | 2021-08-12 10:49:58 -0600 | [diff] [blame] | 163 | default 16 if SOC_INTEL_TIGERLAKE_PCH_H |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 164 | default 7 |
Ravi Sarawadi | 2fd4972 | 2019-12-16 23:41:36 -0800 | [diff] [blame] | 165 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 166 | config SMM_TSEG_SIZE |
| 167 | hex |
| 168 | default 0x800000 |
| 169 | |
| 170 | config SMM_RESERVED_SIZE |
| 171 | hex |
| 172 | default 0x200000 |
| 173 | |
| 174 | config PCR_BASE_ADDRESS |
| 175 | hex |
| 176 | default 0xfd000000 |
| 177 | help |
| 178 | This option allows you to select MMIO Base Address of sideband bus. |
| 179 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 180 | config ECAM_MMCONF_BASE_ADDRESS |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 181 | default 0xc0000000 |
| 182 | |
| 183 | config CPU_BCLK_MHZ |
| 184 | int |
| 185 | default 100 |
| 186 | |
| 187 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 188 | int |
| 189 | default 120 |
| 190 | |
Michael Niewöhner | dadcbfb | 2020-10-04 14:48:05 +0200 | [diff] [blame] | 191 | config CPU_XTAL_HZ |
| 192 | default 38400000 |
| 193 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 194 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 195 | int |
| 196 | default 133 |
| 197 | |
| 198 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 199 | int |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 200 | default 4 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 201 | |
| 202 | config SOC_INTEL_I2C_DEV_MAX |
| 203 | int |
| 204 | default 6 |
| 205 | |
Sean Rhodes | 5622666 | 2021-11-08 21:34:34 +0000 | [diff] [blame] | 206 | config SOC_INTEL_TIGERLAKE_S3 |
| 207 | bool |
| 208 | default n |
| 209 | help |
| 210 | Select if using S3 instead of S0ix to disable D3Cold |
| 211 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 212 | config SOC_INTEL_UART_DEV_MAX |
| 213 | int |
| 214 | default 3 |
| 215 | |
| 216 | config CONSOLE_UART_BASE_ADDRESS |
| 217 | hex |
Bora Guvendik | c3c3e45 | 2020-11-13 21:35:19 -0800 | [diff] [blame] | 218 | default 0xfe03e000 |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 219 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 220 | |
| 221 | # Clock divider parameters for 115200 baud rate |
Angel Pons | 054ff5e | 2022-06-26 10:19:53 +0200 | [diff] [blame] | 222 | # Baudrate = (UART source clock * M) /(N *16) |
Wonkyu Kim | 60d9b89 | 2022-10-10 23:01:38 -0700 | [diff] [blame] | 223 | # TGL UART source clock: 100MHz |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 224 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 225 | hex |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 226 | default 0x25a |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 227 | |
| 228 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 229 | hex |
Aamir Bohra | 555c9b6 | 2020-03-23 10:13:10 +0530 | [diff] [blame] | 230 | default 0x7fff |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 231 | |
Srinidhi N Kaushik | 74c16d0 | 2020-11-04 11:29:33 -0800 | [diff] [blame] | 232 | config VBT_DATA_SIZE_KB |
| 233 | int |
| 234 | default 9 |
| 235 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 236 | config VBOOT |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 237 | select VBOOT_MUST_REQUEST_DISPLAY |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 238 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 239 | select VBOOT_VBNV_CMOS |
| 240 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 241 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 242 | config CBFS_SIZE |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 243 | default 0x200000 |
| 244 | |
Felix Singer | 3e3c456 | 2020-12-17 18:34:45 +0000 | [diff] [blame] | 245 | config FSP_TYPE_IOT |
| 246 | bool |
| 247 | default n |
| 248 | help |
| 249 | This option allows to select FSP IOT type from 3rdparty/fsp repo |
| 250 | |
| 251 | config FSP_TYPE_CLIENT |
| 252 | bool |
| 253 | default !FSP_TYPE_IOT |
| 254 | help |
| 255 | This option allows to select FSP CLIENT type from 3rdparty/fsp repo |
| 256 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 257 | config FSP_HEADER_PATH |
Felix Singer | 3e3c456 | 2020-12-17 18:34:45 +0000 | [diff] [blame] | 258 | default "3rdparty/fsp/TigerLakeFspBinPkg/TGL_IOT/Include/" if FSP_TYPE_IOT |
| 259 | default "3rdparty/fsp/TigerLakeFspBinPkg/Client/Include/" if FSP_TYPE_CLIENT |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 260 | |
| 261 | config FSP_FD_PATH |
Felix Singer | 3e3c456 | 2020-12-17 18:34:45 +0000 | [diff] [blame] | 262 | default "3rdparty/fsp/TigerLakeFspBinPkg/TGL_IOT/Fsp.fd" if FSP_TYPE_IOT |
| 263 | default "3rdparty/fsp/TigerLakeFspBinPkg/Client/Fsp.fd" if FSP_TYPE_CLIENT |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 264 | |
Subrata Banik | 56626cf | 2020-02-27 19:39:22 +0530 | [diff] [blame] | 265 | config SOC_INTEL_TIGERLAKE_DEBUG_CONSENT |
| 266 | int "Debug Consent for TGL" |
| 267 | # USB DBC is more common for developers so make this default to 3 if |
| 268 | # SOC_INTEL_DEBUG_CONSENT=y |
| 269 | default 3 if SOC_INTEL_DEBUG_CONSENT |
| 270 | default 0 |
| 271 | help |
| 272 | This is to control debug interface on SOC. |
| 273 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 274 | PlatformDebugConsent in FspmUpd.h has the details. |
| 275 | |
| 276 | Desired platform debug type are |
| 277 | 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB), |
| 278 | 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC), |
| 279 | 6:Enable (2-wire DCI OOB), 7:Manual |
Subrata Banik | ebf1daa | 2020-05-19 12:32:41 +0530 | [diff] [blame] | 280 | |
| 281 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 282 | hex |
Anil Kumar | 033038f | 2020-09-08 16:18:45 -0700 | [diff] [blame] | 283 | default 0x2000 |
Brandon Breitenstein | 99b38a9 | 2019-12-19 23:12:58 -0800 | [diff] [blame] | 284 | |
Furquan Shaikh | f06d046 | 2020-12-31 21:15:34 -0800 | [diff] [blame] | 285 | config DATA_BUS_WIDTH |
| 286 | int |
| 287 | default 128 |
| 288 | |
| 289 | config DIMMS_PER_CHANNEL |
| 290 | int |
| 291 | default 2 |
| 292 | |
| 293 | config MRC_CHANNEL_WIDTH |
| 294 | int |
| 295 | default 16 |
| 296 | |
Furquan Shaikh | bee831e | 2021-08-24 13:42:05 -0700 | [diff] [blame] | 297 | # Intel recommends reserving the following resources per USB4 root port, |
| 298 | # from TGL BIOS Spec (doc #611569) Revision 0.7.6 Section 7.2.5.1.5 |
| 299 | # - 42 buses |
| 300 | # - 194 MiB Non-prefetchable memory |
| 301 | # - 448 MiB Prefetchable memory |
| 302 | if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 303 | |
| 304 | config PCIEXP_HOTPLUG_BUSES |
| 305 | default 42 |
| 306 | |
| 307 | config PCIEXP_HOTPLUG_MEM |
| 308 | default 0xc200000 # 194 MiB |
| 309 | |
| 310 | config PCIEXP_HOTPLUG_PREFETCH_MEM |
| 311 | default 0x1c000000 # 448 MiB |
| 312 | |
| 313 | endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 314 | |
Tim Crawford | 1724b57 | 2021-09-21 21:50:49 -0600 | [diff] [blame] | 315 | config INTEL_GMA_BCLV_OFFSET |
| 316 | default 0xc8258 |
| 317 | |
| 318 | config INTEL_GMA_BCLV_WIDTH |
| 319 | default 32 |
| 320 | |
| 321 | config INTEL_GMA_BCLM_OFFSET |
| 322 | default 0xc8254 |
| 323 | |
| 324 | config INTEL_GMA_BCLM_WIDTH |
| 325 | default 32 |
| 326 | |
Subrata Banik | 91e89c5 | 2019-11-01 18:30:01 +0530 | [diff] [blame] | 327 | endif |