Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 1 | config SOC_INTEL_ALDERLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Alderlake support |
| 5 | |
| 6 | if SOC_INTEL_ALDERLAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Angel Pons | a25eaff | 2020-09-23 15:37:15 +0200 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 11 | select ARCH_ALL_STAGES_X86_32 |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 12 | select BOOT_DEVICE_SUPPORTS_WRITES |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 13 | select CACHE_MRC_SETTINGS |
| 14 | select CPU_INTEL_COMMON |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 15 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 16 | select FSP_COMPRESS_FSP_S_LZ4 |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 17 | select FSP_M_XIP |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 18 | select GENERIC_GPIO_LIB |
| 19 | select HAVE_FSP_GOP |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 20 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 21 | select HAVE_SMI_HANDLER |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 22 | select IDT_IN_EVERY_STAGE |
| 23 | select INTEL_CAR_NEM #TODO - Enable INTEL_CAR_NEM_ENHANCED |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 24 | select INTEL_GMA_ACPI |
| 25 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
| 26 | select IOAPIC |
Subrata Banik | 0aed4e5 | 2020-10-12 17:27:31 +0530 | [diff] [blame] | 27 | select INTEL_TME |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 28 | select MRC_SETTINGS_PROTECT |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 29 | select PARALLEL_MP |
| 30 | select PARALLEL_MP_AP_WORK |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 31 | select MICROCODE_BLOB_UNDISCLOSED |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 32 | select PLATFORM_USES_FSP2_2 |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 33 | select FSP_PEIM_TO_PEIM_INTERFACE |
| 34 | select REG_SCRIPT |
| 35 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
| 36 | select PMC_LOW_POWER_MODE_PROGRAM |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 37 | select SOC_INTEL_COMMON |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 38 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 39 | select SOC_INTEL_COMMON_BLOCK |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 40 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 41 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 42 | select SOC_INTEL_COMMON_BLOCK_CPU |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 43 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 44 | select SOC_INTEL_COMMON_BLOCK_DTT |
| 45 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 46 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 47 | select SOC_INTEL_COMMON_BLOCK_HDA |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 48 | select SOC_INTEL_COMMON_BLOCK_SA |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 49 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 50 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_PCH_BASE |
| 52 | select SOC_INTEL_COMMON_RESET |
| 53 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 54 | select SSE2 |
| 55 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 56 | select TSC_MONOTONIC_TIMER |
| 57 | select UDELAY_TSC |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 58 | select UDK_202005_BINDING |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 59 | select DISPLAY_FSP_VERSION_INFO |
| 60 | select HECI_DISABLE_USING_SMM |
| 61 | |
| 62 | config MAX_CPUS |
| 63 | int |
| 64 | default 24 |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 65 | |
| 66 | config DCACHE_RAM_BASE |
| 67 | default 0xfef00000 |
| 68 | |
| 69 | config DCACHE_RAM_SIZE |
| 70 | default 0x80000 |
| 71 | help |
| 72 | The size of the cache-as-ram region required during bootblock |
| 73 | and/or romstage. |
| 74 | |
| 75 | config DCACHE_BSP_STACK_SIZE |
| 76 | hex |
| 77 | default 0x40400 |
| 78 | help |
| 79 | The amount of anticipated stack usage in CAR by bootblock and |
| 80 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 81 | sum of FSP-M stack requirement(256KiB) and CB romstage stack requirement |
| 82 | (~1KiB). |
| 83 | |
| 84 | config FSP_TEMP_RAM_SIZE |
| 85 | hex |
| 86 | default 0x20000 |
| 87 | help |
| 88 | The amount of anticipated heap usage in CAR by FSP. |
| 89 | Refer to Platform FSP integration guide document to know |
| 90 | the exact FSP requirement for Heap setup. |
| 91 | |
| 92 | config IFD_CHIPSET |
| 93 | string |
| 94 | default "adl" |
| 95 | |
| 96 | config IED_REGION_SIZE |
| 97 | hex |
| 98 | default 0x400000 |
| 99 | |
| 100 | config HEAP_SIZE |
| 101 | hex |
| 102 | default 0x10000 |
| 103 | |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 104 | config MAX_ROOT_PORTS |
| 105 | int |
| 106 | default 12 |
| 107 | |
| 108 | config MAX_PCIE_CLOCKS |
| 109 | int |
| 110 | default 12 |
| 111 | |
| 112 | config SMM_TSEG_SIZE |
| 113 | hex |
| 114 | default 0x800000 |
| 115 | |
| 116 | config SMM_RESERVED_SIZE |
| 117 | hex |
| 118 | default 0x200000 |
| 119 | |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 120 | config PCR_BASE_ADDRESS |
| 121 | hex |
| 122 | default 0xfd000000 |
| 123 | help |
| 124 | This option allows you to select MMIO Base Address of sideband bus. |
| 125 | |
| 126 | config MMCONF_BASE_ADDRESS |
| 127 | hex |
| 128 | default 0xc0000000 |
| 129 | |
| 130 | config CPU_BCLK_MHZ |
| 131 | int |
| 132 | default 100 |
| 133 | |
| 134 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 135 | int |
| 136 | default 120 |
| 137 | |
| 138 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 139 | int |
| 140 | default 133 |
| 141 | |
| 142 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 143 | int |
| 144 | default 7 |
| 145 | |
| 146 | config SOC_INTEL_I2C_DEV_MAX |
| 147 | int |
| 148 | default 6 |
| 149 | |
| 150 | config SOC_INTEL_UART_DEV_MAX |
| 151 | int |
| 152 | default 7 |
| 153 | |
| 154 | config CONSOLE_UART_BASE_ADDRESS |
| 155 | hex |
| 156 | default 0xfe032000 |
| 157 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 158 | |
| 159 | # Clock divider parameters for 115200 baud rate |
| 160 | # Baudrate = (UART source clcok * M) /(N *16) |
| 161 | # ADL UART source clock: 120MHz |
| 162 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 163 | hex |
| 164 | default 0x25a |
| 165 | |
| 166 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 167 | hex |
| 168 | default 0x7fff |
| 169 | |
| 170 | config CHROMEOS |
| 171 | select CHROMEOS_RAMOOPS_DYNAMIC |
| 172 | |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 173 | config VBOOT |
| 174 | select VBOOT_SEPARATE_VERSTAGE |
| 175 | select VBOOT_MUST_REQUEST_DISPLAY |
| 176 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 177 | select VBOOT_VBNV_CMOS |
| 178 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 179 | |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 180 | config C_ENV_BOOTBLOCK_SIZE |
| 181 | hex |
| 182 | default 0xC000 |
| 183 | |
| 184 | config CBFS_SIZE |
| 185 | hex |
| 186 | default 0x200000 |
| 187 | |
| 188 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 189 | hex |
| 190 | default 0x1400 |
Subrata Banik | 2871e0e | 2020-09-27 11:30:58 +0530 | [diff] [blame] | 191 | |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 192 | config FSP_HEADER_PATH |
| 193 | string "Location of FSP headers" |
| 194 | default "src/vendorcode/intel/fsp/fsp2_0/alderlake/" |
| 195 | |
| 196 | config FSP_FD_PATH |
| 197 | string |
| 198 | depends on FSP_USE_REPO |
| 199 | default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd" |
Subrata Banik | 292afef | 2020-09-09 13:34:18 +0530 | [diff] [blame] | 200 | |
| 201 | config SOC_INTEL_ALDERLAKE_DEBUG_CONSENT |
| 202 | int "Debug Consent for ADL" |
| 203 | # USB DBC is more common for developers so make this default to 3 if |
| 204 | # SOC_INTEL_DEBUG_CONSENT=y |
| 205 | default 3 if SOC_INTEL_DEBUG_CONSENT |
| 206 | default 0 |
| 207 | help |
| 208 | This is to control debug interface on SOC. |
| 209 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 210 | PlatformDebugConsent in FspmUpd.h has the details. |
| 211 | |
| 212 | Desired platform debug type are |
| 213 | 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB), |
| 214 | 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC), |
| 215 | 6:Enable (2-wire DCI OOB), 7:Manual |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 216 | endif |