Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 1 | config SOC_INTEL_SKYLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Skylake support |
| 5 | |
Rizwan Qureshi | 0700dca | 2017-02-09 15:57:45 +0530 | [diff] [blame] | 6 | config SOC_INTEL_KABYLAKE |
| 7 | bool |
| 8 | default n |
| 9 | select SOC_INTEL_SKYLAKE |
| 10 | help |
| 11 | Intel Kabylake support |
| 12 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 13 | if SOC_INTEL_SKYLAKE |
| 14 | |
| 15 | config CPU_SPECIFIC_OPTIONS |
| 16 | def_bool y |
Aaron Durbin | e0a4914 | 2016-07-13 23:20:51 -0500 | [diff] [blame] | 17 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 18 | select ARCH_BOOTBLOCK_X86_32 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 19 | select ARCH_RAMSTAGE_X86_32 |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 20 | select ARCH_ROMSTAGE_X86_32 |
| 21 | select ARCH_VERSTAGE_X86_32 |
Aaron Durbin | ed8a723 | 2015-11-24 12:35:06 -0600 | [diff] [blame] | 22 | select ACPI_NHLT |
Teo Boon Tiong | 673a4d0 | 2016-11-10 21:06:51 +0800 | [diff] [blame] | 23 | select BOOTBLOCK_CONSOLE |
Aaron Durbin | e4cc8cd | 2016-08-11 23:55:39 -0500 | [diff] [blame] | 24 | select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 25 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 26 | select CACHE_MRC_SETTINGS |
Alexandru Gagniuc | 27fea06 | 2015-08-29 20:00:24 -0700 | [diff] [blame] | 27 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Subrata Banik | 68d5d8b | 2016-07-18 14:13:52 +0530 | [diff] [blame] | 28 | select C_ENVIRONMENT_BOOTBLOCK |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 29 | select COLLECT_TIMESTAMPS |
Duncan Laurie | 135c2c4 | 2016-10-17 19:47:51 -0700 | [diff] [blame] | 30 | select COMMON_FADT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 31 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Aaron Durbin | ffdf901 | 2015-07-24 13:00:36 -0500 | [diff] [blame] | 32 | select GENERIC_GPIO_LIB |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 33 | select HAVE_HARD_RESET |
Aaron Durbin | 387084c | 2015-07-30 13:41:01 -0500 | [diff] [blame] | 34 | select HAVE_INTEL_FIRMWARE |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 35 | select HAVE_MONOTONIC_TIMER |
| 36 | select HAVE_SMI_HANDLER |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 37 | select IOAPIC |
Aaron Durbin | f5ff854 | 2016-05-05 10:38:03 -0500 | [diff] [blame] | 38 | select NO_FIXED_XIP_ROM_SIZE |
Duncan Laurie | 205ed2d | 2016-06-02 15:23:42 -0700 | [diff] [blame] | 39 | select MRC_SETTINGS_PROTECT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 40 | select PARALLEL_MP |
| 41 | select PCIEXP_ASPM |
| 42 | select PCIEXP_COMMON_CLOCK |
| 43 | select PCIEXP_CLK_PM |
Aaron Durbin | 27d153c | 2015-07-13 13:50:34 -0500 | [diff] [blame] | 44 | select PCIEXP_L1_SUB_STATE |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 45 | select REG_SCRIPT |
| 46 | select RELOCATABLE_MODULES |
| 47 | select RELOCATABLE_RAMSTAGE |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 48 | select RTC |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 49 | select SOC_INTEL_COMMON |
Duncan Laurie | a1c8b34d | 2015-09-08 16:12:44 -0700 | [diff] [blame] | 50 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Subrata Banik | e074d62 | 2017-02-16 16:16:37 +0530 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_BLOCK |
| 52 | select SOC_INTEL_COMMON_BLOCK_XHCI |
Duncan Laurie | 4001f24 | 2016-06-07 16:40:19 -0700 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_LPSS_I2C |
Aaron Durbin | c14a1a9 | 2016-06-28 15:41:07 -0500 | [diff] [blame] | 54 | select SOC_INTEL_COMMON_NHLT |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 55 | select SOC_INTEL_COMMON_RESET |
Furquan Shaikh | d0c00052 | 2016-11-21 09:19:53 -0800 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_SPI_FLASH_PROTECT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 57 | select SMM_TSEG |
| 58 | select SMP |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 59 | select SSE2 |
| 60 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 61 | select TSC_CONSTANT_RATE |
| 62 | select TSC_SYNC_MFENCE |
| 63 | select UDELAY_TSC |
Rizwan Qureshi | 17335fa | 2017-01-14 06:08:21 +0530 | [diff] [blame] | 64 | select ACPI_NHLT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 65 | |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 66 | config MAINBOARD_USES_FSP2_0 |
| 67 | bool |
| 68 | default n |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 69 | |
| 70 | config USE_FSP2_0_DRIVER |
| 71 | bool "Build with FSP 2.0" |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 72 | depends on MAINBOARD_USES_FSP2_0 |
| 73 | default y if MAINBOARD_USES_FSP2_0 |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 74 | select PLATFORM_USES_FSP2_0 |
| 75 | select ADD_VBT_DATA_FILE |
| 76 | select SOC_INTEL_COMMON_GFX_OPREGION |
| 77 | |
| 78 | config USE_FSP1_1_DRIVER |
| 79 | bool "Build with FSP 1.1" |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 80 | depends on !MAINBOARD_USES_FSP2_0 |
| 81 | default y if !MAINBOARD_USES_FSP2_0 |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 82 | select PLATFORM_USES_FSP1_1 |
| 83 | select GOP_SUPPORT |
| 84 | select DISPLAY_FSP_ENTRY_POINTS |
| 85 | |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 86 | config CHROMEOS |
| 87 | select CHROMEOS_RAMOOPS_DYNAMIC |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 88 | select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC |
Aaron Durbin | a6914d2 | 2016-08-24 08:49:29 -0500 | [diff] [blame] | 89 | select SEPARATE_VERSTAGE |
Naresh G Solanki | c68ab5e | 2016-10-13 22:00:51 +0530 | [diff] [blame] | 90 | select VBOOT_EC_SLOW_UPDATE if EC_GOOGLE_CHROMEEC |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 91 | select VBOOT_OPROM_MATTERS |
Furquan Shaikh | b8257df | 2016-07-22 09:20:56 -0700 | [diff] [blame] | 92 | select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT |
Aaron Durbin | a6914d2 | 2016-08-24 08:49:29 -0500 | [diff] [blame] | 93 | select VBOOT_STARTS_IN_BOOTBLOCK |
Furquan Shaikh | 2a12e2e | 2016-07-25 11:48:03 -0700 | [diff] [blame] | 94 | select VBOOT_VBNV_CMOS |
| 95 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 96 | select VIRTUAL_DEV_SWITCH |
| 97 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 98 | config BOOTBLOCK_RESETS |
| 99 | string |
| 100 | default "soc/intel/common/reset.c" |
| 101 | |
Martin Roth | 59ff340 | 2016-02-09 09:06:46 -0700 | [diff] [blame] | 102 | config CBFS_SIZE |
| 103 | hex |
| 104 | default 0x200000 |
| 105 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 106 | config CPU_ADDR_BITS |
| 107 | int |
| 108 | default 36 |
| 109 | |
Duncan Laurie | 4001f24 | 2016-06-07 16:40:19 -0700 | [diff] [blame] | 110 | config SOC_INTEL_COMMON_LPSS_I2C_CLOCK_MHZ |
| 111 | int |
| 112 | default 120 |
| 113 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 114 | config DCACHE_RAM_BASE |
| 115 | hex "Base address of cache-as-RAM" |
| 116 | default 0xfef00000 |
| 117 | |
| 118 | config DCACHE_RAM_SIZE |
| 119 | hex "Length in bytes of cache-as-RAM" |
Rizwan Qureshi | 3ad6356 | 2016-08-14 15:48:33 +0530 | [diff] [blame] | 120 | default 0x40000 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 121 | help |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 122 | The size of the cache-as-ram region required during bootblock |
| 123 | and/or romstage. |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 124 | |
Subrata Banik | 68d5d8b | 2016-07-18 14:13:52 +0530 | [diff] [blame] | 125 | config DCACHE_BSP_STACK_SIZE |
| 126 | hex |
| 127 | default 0x4000 |
| 128 | help |
| 129 | The amount of anticipated stack usage in CAR by bootblock and |
| 130 | other stages. |
| 131 | |
| 132 | config C_ENV_BOOTBLOCK_SIZE |
| 133 | hex |
Furquan Shaikh | 7038596 | 2016-08-24 10:28:30 -0700 | [diff] [blame] | 134 | default 0xC000 |
Subrata Banik | 68d5d8b | 2016-07-18 14:13:52 +0530 | [diff] [blame] | 135 | |
Subrata Banik | 086730b | 2015-12-02 11:42:04 +0530 | [diff] [blame] | 136 | config EXCLUDE_NATIVE_SD_INTERFACE |
| 137 | bool |
| 138 | default n |
| 139 | help |
| 140 | If you set this option to n, will not use native SD controller. |
| 141 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 142 | config HEAP_SIZE |
| 143 | hex |
| 144 | default 0x80000 |
| 145 | |
| 146 | config IED_REGION_SIZE |
| 147 | hex |
| 148 | default 0x400000 |
| 149 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 150 | config MMCONF_BASE_ADDRESS |
| 151 | hex "MMIO Base Address" |
| 152 | default 0xe0000000 |
| 153 | |
| 154 | config MONOTONIC_TIMER_MSR |
| 155 | def_bool y |
| 156 | select HAVE_MONOTONIC_TIMER |
| 157 | help |
| 158 | Provide a monotonic timer using the 24MHz MSR counter. |
| 159 | |
| 160 | config PRE_GRAPHICS_DELAY |
| 161 | int "Graphics initialization delay in ms" |
| 162 | default 0 |
| 163 | help |
| 164 | On some systems, coreboot boots so fast that connected monitors |
| 165 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 166 | VBIOS. On those systems we need to wait for a bit before executing |
| 167 | the VBIOS. |
| 168 | |
| 169 | config SERIAL_CPU_INIT |
| 170 | bool |
| 171 | default n |
| 172 | |
| 173 | config SERIRQ_CONTINUOUS_MODE |
| 174 | bool |
pchandri | 1d77c72 | 2015-09-09 17:22:09 -0700 | [diff] [blame] | 175 | default n |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 176 | help |
| 177 | If you set this option to y, the serial IRQ machine will be |
| 178 | operated in continuous mode. |
| 179 | |
| 180 | config SMM_RESERVED_SIZE |
| 181 | hex |
| 182 | default 0x200000 |
| 183 | |
| 184 | config SMM_TSEG_SIZE |
| 185 | hex |
| 186 | default 0x800000 |
| 187 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 188 | config VGA_BIOS_ID |
| 189 | string |
| 190 | default "8086,0406" |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 191 | |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 192 | config UART_DEBUG |
| 193 | bool "Enable UART debug port." |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 194 | default n |
Martin Roth | 1afcb23 | 2015-08-15 17:36:15 -0600 | [diff] [blame] | 195 | select CONSOLE_SERIAL |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 196 | select DRIVERS_UART |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 197 | select DRIVERS_UART_8250MEM_32 |
Furquan Shaikh | b168db7 | 2016-08-01 19:37:38 -0700 | [diff] [blame] | 198 | select NO_UART_ON_SUPERIO |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 199 | |
Teo Boon Tiong | 2fc06c8 | 2016-09-15 11:11:45 +0800 | [diff] [blame] | 200 | config SKYLAKE_SOC_PCH_H |
| 201 | bool |
| 202 | default n |
| 203 | help |
| 204 | Choose this option if you have a PCH-H chipset. |
| 205 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 206 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 207 | string |
| 208 | default "soc/intel/skylake/bootblock/timestamp.inc" |
| 209 | |
Aaron Durbin | ed8a723 | 2015-11-24 12:35:06 -0600 | [diff] [blame] | 210 | config NHLT_DMIC_2CH |
| 211 | bool |
| 212 | default n |
| 213 | help |
| 214 | Include DSP firmware settings for 2 channel DMIC array. |
| 215 | |
| 216 | config NHLT_DMIC_4CH |
| 217 | bool |
| 218 | default n |
| 219 | help |
| 220 | Include DSP firmware settings for 4 channel DMIC array. |
| 221 | |
| 222 | config NHLT_NAU88L25 |
| 223 | bool |
| 224 | default n |
| 225 | help |
| 226 | Include DSP firmware settings for nau88l25 headset codec. |
| 227 | |
| 228 | config NHLT_MAX98357 |
| 229 | bool |
| 230 | default n |
| 231 | help |
| 232 | Include DSP firmware settings for max98357 amplifier. |
| 233 | |
| 234 | config NHLT_SSM4567 |
| 235 | bool |
| 236 | default n |
| 237 | help |
| 238 | Include DSP firmware settings for ssm4567 smart amplifier. |
| 239 | |
Duncan Laurie | 4a75a66 | 2017-03-02 10:13:51 -0800 | [diff] [blame] | 240 | config NHLT_RT5514 |
| 241 | bool |
| 242 | default n |
| 243 | help |
| 244 | Include DSP firmware settings for rt5514 DSP. |
| 245 | |
Rizwan Qureshi | 17335fa | 2017-01-14 06:08:21 +0530 | [diff] [blame] | 246 | config NHLT_RT5663 |
| 247 | bool |
| 248 | default n |
| 249 | help |
| 250 | Include DSP firmware settings for rt5663 headset codec. |
| 251 | |
| 252 | config NHLT_MAX98927 |
| 253 | bool |
| 254 | default n |
| 255 | help |
| 256 | Include DSP firmware settings for max98927 amplifier. |
| 257 | |
Subrata Banik | 03e971c | 2017-03-07 14:02:23 +0530 | [diff] [blame^] | 258 | choice |
| 259 | prompt "Cache-as-ram implementation" |
| 260 | default CAR_NEM_ENHANCED |
| 261 | help |
| 262 | This option allows you to select how cache-as-ram (CAR) is set up. |
| 263 | |
| 264 | config CAR_NEM_ENHANCED |
| 265 | bool "Enhanced Non-evict mode" |
| 266 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 267 | select INTEL_CAR_NEM_ENHANCED |
| 268 | help |
| 269 | A current limitation of NEM (Non-Evict mode) is that code and data sizes |
| 270 | are derived from the requirement to not write out any modified cache line. |
| 271 | With NEM, if there is no physical memory behind the cached area, |
| 272 | the modified data will be lost and NEM results will be inconsistent. |
| 273 | ENHANCED NEM guarantees that modified data is always |
| 274 | kept in cache while clean data is replaced. |
| 275 | |
| 276 | config USE_SKYLAKE_FSP_CAR |
| 277 | bool "Use FSP CAR" |
| 278 | select FSP_CAR |
| 279 | help |
| 280 | Use FSP APIs to initialize & tear Down the Cache-As-Ram. |
| 281 | |
| 282 | endchoice |
| 283 | |
Subrata Banik | fbdc719 | 2016-01-19 19:19:15 +0530 | [diff] [blame] | 284 | config SKIP_FSP_CAR |
Martin Roth | b00ddec | 2016-01-31 10:39:47 -0700 | [diff] [blame] | 285 | bool "Skip cache as RAM setup in FSP" |
| 286 | default y |
| 287 | help |
| 288 | Skip Cache as RAM setup in FSP. |
Subrata Banik | fbdc719 | 2016-01-19 19:19:15 +0530 | [diff] [blame] | 289 | |
Aaron Durbin | e56191e | 2016-08-11 09:50:49 -0500 | [diff] [blame] | 290 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 291 | bool |
| 292 | default n |
| 293 | |
Rizwan Qureshi | d8bb69a | 2016-11-08 21:01:09 +0530 | [diff] [blame] | 294 | config MAX_ROOT_PORTS |
| 295 | int |
| 296 | default 24 if PLATFORM_USES_FSP2_0 |
| 297 | default 20 if PLATFORM_USES_FSP1_1 |
| 298 | |
Jenny TC | 2864f85 | 2017-02-09 16:01:59 +0530 | [diff] [blame] | 299 | config NO_FADT_8042 |
| 300 | bool |
| 301 | default n |
| 302 | help |
| 303 | Choose this option if you want to disable 8042 Keyboard |
| 304 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 305 | endif |