Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 1 | config SOC_INTEL_ICELAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Icelake support |
| 5 | |
| 6 | if SOC_INTEL_ICELAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
| 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 11 | select ARCH_X86 |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 12 | select BOOT_DEVICE_SUPPORTS_WRITES |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 13 | select CACHE_MRC_SETTINGS |
Michael Niewöhner | 6f1754d | 2020-09-29 17:26:58 +0200 | [diff] [blame] | 14 | select SET_IA32_FC_LOCK_BIT |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 15 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Michael Niewöhner | fe6070f | 2020-10-04 15:16:04 +0200 | [diff] [blame] | 16 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 17 | select DISPLAY_FSP_VERSION_INFO |
Subrata Banik | ffb83be | 2019-04-29 13:58:43 +0530 | [diff] [blame] | 18 | select FSP_M_XIP |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 19 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_3 |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 20 | select GENERIC_GPIO_LIB |
| 21 | select HAVE_FSP_GOP |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 22 | select HAVE_INTEL_FSP_REPO |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 23 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 24 | select HAVE_SMI_HANDLER |
| 25 | select IDT_IN_EVERY_STAGE |
Shreesh Chhabbi | 87c7ec7 | 2020-12-03 14:07:15 -0800 | [diff] [blame] | 26 | select INTEL_CAR_NEM_ENHANCED |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 27 | select INTEL_GMA_ACPI |
| 28 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Aamir Bohra | 30cca6c | 2021-02-04 20:57:51 +0530 | [diff] [blame] | 29 | select MP_SERVICES_PPI_V1 |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 30 | select MRC_SETTINGS_PROTECT |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 31 | select PARALLEL_MP_AP_WORK |
Nico Huber | f5ca922 | 2018-11-29 17:05:32 +0100 | [diff] [blame] | 32 | select MICROCODE_BLOB_UNDISCLOSED |
Subrata Banik | 55fb6b4 | 2018-12-19 16:50:57 +0530 | [diff] [blame] | 33 | select PLATFORM_USES_FSP2_1 |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 34 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Michael Niewöhner | 10ae1cf | 2020-10-11 14:05:32 +0200 | [diff] [blame] | 35 | select CPU_INTEL_COMMON |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 36 | select SOC_INTEL_COMMON |
| 37 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
| 38 | select SOC_INTEL_COMMON_BLOCK |
| 39 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Michael Niewöhner | 02275be | 2020-11-12 23:50:37 +0100 | [diff] [blame] | 40 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
Michael Niewöhner | 8a6c34e | 2021-01-01 21:26:42 +0100 | [diff] [blame] | 41 | select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
Arthur Heymans | 05592ff | 2021-10-27 20:58:32 +0200 | [diff] [blame] | 42 | select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
Subrata Banik | 21974ab | 2020-10-31 21:40:43 +0530 | [diff] [blame] | 43 | select SOC_INTEL_COMMON_BLOCK_CAR |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 44 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Furquan Shaikh | 23e8813 | 2020-10-08 23:44:20 -0700 | [diff] [blame] | 45 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 46 | select SOC_INTEL_COMMON_BLOCK_CPU |
| 47 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
Angel Pons | a4cd911 | 2021-02-19 19:23:38 +0100 | [diff] [blame] | 48 | select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 49 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
| 50 | select SOC_INTEL_COMMON_BLOCK_HDA |
| 51 | select SOC_INTEL_COMMON_BLOCK_SA |
Duncan Laurie | 1e06611 | 2020-04-08 11:35:52 -0700 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_SCS |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 54 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Subrata Banik | 281e2c1 | 2021-11-21 01:38:13 +0530 | [diff] [blame] | 55 | select SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_FSP_RESET |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 57 | select SOC_INTEL_COMMON_PCH_BASE |
| 58 | select SOC_INTEL_COMMON_RESET |
| 59 | select SSE2 |
| 60 | select SUPPORT_CPU_UCODE_IN_CBFS |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 61 | select TSC_MONOTONIC_TIMER |
| 62 | select UDELAY_TSC |
| 63 | select UDK_2017_BINDING |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 64 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 65 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 66 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Subrata Banik | 9414600 | 2019-11-14 11:30:43 +0530 | [diff] [blame] | 67 | select USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 68 | |
Subrata Banik | cef6770 | 2022-01-03 19:19:41 +0000 | [diff] [blame] | 69 | config DISABLE_HECI1_AT_PRE_BOOT |
| 70 | default y if MAINBOARD_HAS_CHROMEOS |
| 71 | select HECI_DISABLE_USING_SMM |
| 72 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 73 | config DCACHE_RAM_BASE |
| 74 | default 0xfef00000 |
| 75 | |
| 76 | config DCACHE_RAM_SIZE |
| 77 | default 0x40000 |
| 78 | help |
| 79 | The size of the cache-as-ram region required during bootblock |
| 80 | and/or romstage. |
| 81 | |
| 82 | config DCACHE_BSP_STACK_SIZE |
| 83 | hex |
Subrata Banik | 645f244 | 2019-11-01 15:21:00 +0530 | [diff] [blame] | 84 | default 0x20400 |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 85 | help |
| 86 | The amount of anticipated stack usage in CAR by bootblock and |
V Sowmya | 1dcc170 | 2019-10-14 14:42:34 +0530 | [diff] [blame] | 87 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 88 | sum of FSP-M stack requirement (128KiB) and CB romstage stack requirement (~1KiB). |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 89 | |
Subrata Banik | 1d260e6 | 2019-09-09 13:55:42 +0530 | [diff] [blame] | 90 | config FSP_TEMP_RAM_SIZE |
| 91 | hex |
Subrata Banik | 1d260e6 | 2019-09-09 13:55:42 +0530 | [diff] [blame] | 92 | default 0x10000 |
| 93 | help |
| 94 | The amount of anticipated heap usage in CAR by FSP. |
| 95 | Refer to Platform FSP integration guide document to know |
| 96 | the exact FSP requirement for Heap setup. |
| 97 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 98 | config IFD_CHIPSET |
| 99 | string |
| 100 | default "icl" |
| 101 | |
| 102 | config IED_REGION_SIZE |
| 103 | hex |
| 104 | default 0x400000 |
| 105 | |
| 106 | config HEAP_SIZE |
| 107 | hex |
| 108 | default 0x8000 |
| 109 | |
| 110 | config MAX_ROOT_PORTS |
| 111 | int |
| 112 | default 16 |
| 113 | |
| 114 | config SMM_TSEG_SIZE |
| 115 | hex |
| 116 | default 0x800000 |
| 117 | |
| 118 | config SMM_RESERVED_SIZE |
| 119 | hex |
| 120 | default 0x200000 |
| 121 | |
| 122 | config PCR_BASE_ADDRESS |
| 123 | hex |
| 124 | default 0xfd000000 |
| 125 | help |
| 126 | This option allows you to select MMIO Base Address of sideband bus. |
| 127 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 128 | config ECAM_MMCONF_BASE_ADDRESS |
Subrata Banik | 26d706b | 2018-11-20 13:20:31 +0530 | [diff] [blame] | 129 | default 0xc0000000 |
| 130 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 131 | config CPU_BCLK_MHZ |
| 132 | int |
| 133 | default 100 |
| 134 | |
| 135 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 136 | int |
| 137 | default 120 |
| 138 | |
Michael Niewöhner | dadcbfb | 2020-10-04 14:48:05 +0200 | [diff] [blame] | 139 | config CPU_XTAL_HZ |
| 140 | default 38400000 |
| 141 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 142 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 143 | int |
| 144 | default 133 |
| 145 | |
| 146 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 147 | int |
| 148 | default 3 |
| 149 | |
| 150 | config SOC_INTEL_I2C_DEV_MAX |
| 151 | int |
| 152 | default 6 |
| 153 | |
Subrata Banik | 26d706b | 2018-11-20 13:20:31 +0530 | [diff] [blame] | 154 | config SOC_INTEL_UART_DEV_MAX |
| 155 | int |
| 156 | default 3 |
| 157 | |
Nico Huber | 9995418 | 2019-05-29 23:33:06 +0200 | [diff] [blame] | 158 | config CONSOLE_UART_BASE_ADDRESS |
| 159 | hex |
| 160 | default 0xfe032000 |
| 161 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 162 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 163 | # Clock divider parameters for 115200 baud rate |
| 164 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 165 | hex |
| 166 | default 0x30 |
| 167 | |
| 168 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 169 | hex |
| 170 | default 0xc35 |
| 171 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 172 | config VBOOT |
| 173 | select VBOOT_SEPARATE_VERSTAGE |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 174 | select VBOOT_MUST_REQUEST_DISPLAY |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 175 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 176 | select VBOOT_VBNV_CMOS |
| 177 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 178 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 179 | config CBFS_SIZE |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 180 | default 0x200000 |
| 181 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 182 | config FSP_HEADER_PATH |
Johanna Schander | f538d74 | 2019-12-08 11:04:09 +0100 | [diff] [blame] | 183 | default "3rdparty/fsp/IceLakeFspBinPkg/Include" |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 184 | |
| 185 | config FSP_FD_PATH |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 186 | default "3rdparty/fsp/IceLakeFspBinPkg/Fsp.fd" |
| 187 | |
Subrata Banik | 56626cf | 2020-02-27 19:39:22 +0530 | [diff] [blame] | 188 | config SOC_INTEL_ICELAKE_DEBUG_CONSENT |
| 189 | int "Debug Consent for ICL" |
| 190 | # USB DBC is more common for developers so make this default to 3 if |
| 191 | # SOC_INTEL_DEBUG_CONSENT=y |
| 192 | default 3 if SOC_INTEL_DEBUG_CONSENT |
| 193 | default 0 |
| 194 | help |
| 195 | This is to control debug interface on SOC. |
| 196 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 197 | PlatformDebugConsent in FspmUpd.h has the details. |
| 198 | |
| 199 | Desired platform debug types are |
| 200 | 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB), |
| 201 | 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC), |
| 202 | 6:Enable (2-wire DCI OOB), 7:Manual |
| 203 | |
Aamir Bohra | 3ee54bb | 2018-10-17 11:55:01 +0530 | [diff] [blame] | 204 | endif |