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 |
Duncan Laurie | 4001f24 | 2016-06-07 16:40:19 -0700 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_LPSS_I2C |
Aaron Durbin | c14a1a9 | 2016-06-28 15:41:07 -0500 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_NHLT |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_RESET |
Furquan Shaikh | d0c00052 | 2016-11-21 09:19:53 -0800 | [diff] [blame] | 54 | select SOC_INTEL_COMMON_SPI_FLASH_PROTECT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 55 | select SMM_TSEG |
| 56 | select SMP |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 57 | select SSE2 |
| 58 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 59 | select TSC_CONSTANT_RATE |
| 60 | select TSC_SYNC_MFENCE |
| 61 | select UDELAY_TSC |
Rizwan Qureshi | 17335fa | 2017-01-14 06:08:21 +0530 | [diff] [blame] | 62 | select ACPI_NHLT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 63 | |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 64 | config MAINBOARD_USES_FSP2_0 |
| 65 | bool |
| 66 | default n |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 67 | |
| 68 | config USE_FSP2_0_DRIVER |
| 69 | bool "Build with FSP 2.0" |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 70 | depends on MAINBOARD_USES_FSP2_0 |
| 71 | default y if MAINBOARD_USES_FSP2_0 |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 72 | select PLATFORM_USES_FSP2_0 |
| 73 | select ADD_VBT_DATA_FILE |
| 74 | select SOC_INTEL_COMMON_GFX_OPREGION |
| 75 | |
| 76 | config USE_FSP1_1_DRIVER |
| 77 | bool "Build with FSP 1.1" |
Naresh G Solanki | fe517f6 | 2016-10-17 17:21:08 +0530 | [diff] [blame] | 78 | depends on !MAINBOARD_USES_FSP2_0 |
| 79 | default y if !MAINBOARD_USES_FSP2_0 |
Naresh G Solanki | a2d4062 | 2016-08-30 20:47:13 +0530 | [diff] [blame] | 80 | select PLATFORM_USES_FSP1_1 |
| 81 | select GOP_SUPPORT |
| 82 | select DISPLAY_FSP_ENTRY_POINTS |
| 83 | |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 84 | config CHROMEOS |
| 85 | select CHROMEOS_RAMOOPS_DYNAMIC |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 86 | select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC |
Aaron Durbin | a6914d2 | 2016-08-24 08:49:29 -0500 | [diff] [blame] | 87 | select SEPARATE_VERSTAGE |
Naresh G Solanki | c68ab5e | 2016-10-13 22:00:51 +0530 | [diff] [blame] | 88 | select VBOOT_EC_SLOW_UPDATE if EC_GOOGLE_CHROMEEC |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 89 | select VBOOT_OPROM_MATTERS |
Furquan Shaikh | b8257df | 2016-07-22 09:20:56 -0700 | [diff] [blame] | 90 | select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT |
Aaron Durbin | a6914d2 | 2016-08-24 08:49:29 -0500 | [diff] [blame] | 91 | select VBOOT_STARTS_IN_BOOTBLOCK |
Furquan Shaikh | 2a12e2e | 2016-07-25 11:48:03 -0700 | [diff] [blame] | 92 | select VBOOT_VBNV_CMOS |
| 93 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
Furquan Shaikh | 610a33a | 2016-07-22 16:17:53 -0700 | [diff] [blame] | 94 | select VIRTUAL_DEV_SWITCH |
| 95 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 96 | config BOOTBLOCK_RESETS |
| 97 | string |
| 98 | default "soc/intel/common/reset.c" |
| 99 | |
Martin Roth | 59ff340 | 2016-02-09 09:06:46 -0700 | [diff] [blame] | 100 | config CBFS_SIZE |
| 101 | hex |
| 102 | default 0x200000 |
| 103 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 104 | config CPU_ADDR_BITS |
| 105 | int |
| 106 | default 36 |
| 107 | |
Duncan Laurie | 4001f24 | 2016-06-07 16:40:19 -0700 | [diff] [blame] | 108 | config SOC_INTEL_COMMON_LPSS_I2C_CLOCK_MHZ |
| 109 | int |
| 110 | default 120 |
| 111 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 112 | config DCACHE_RAM_BASE |
| 113 | hex "Base address of cache-as-RAM" |
| 114 | default 0xfef00000 |
| 115 | |
| 116 | config DCACHE_RAM_SIZE |
| 117 | hex "Length in bytes of cache-as-RAM" |
Rizwan Qureshi | 3ad6356 | 2016-08-14 15:48:33 +0530 | [diff] [blame] | 118 | default 0x40000 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 119 | help |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 120 | The size of the cache-as-ram region required during bootblock |
| 121 | and/or romstage. |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 122 | |
Subrata Banik | 68d5d8b | 2016-07-18 14:13:52 +0530 | [diff] [blame] | 123 | config DCACHE_BSP_STACK_SIZE |
| 124 | hex |
| 125 | default 0x4000 |
| 126 | help |
| 127 | The amount of anticipated stack usage in CAR by bootblock and |
| 128 | other stages. |
| 129 | |
| 130 | config C_ENV_BOOTBLOCK_SIZE |
| 131 | hex |
Furquan Shaikh | 7038596 | 2016-08-24 10:28:30 -0700 | [diff] [blame] | 132 | default 0xC000 |
Subrata Banik | 68d5d8b | 2016-07-18 14:13:52 +0530 | [diff] [blame] | 133 | |
Subrata Banik | 086730b | 2015-12-02 11:42:04 +0530 | [diff] [blame] | 134 | config EXCLUDE_NATIVE_SD_INTERFACE |
| 135 | bool |
| 136 | default n |
| 137 | help |
| 138 | If you set this option to n, will not use native SD controller. |
| 139 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 140 | config HEAP_SIZE |
| 141 | hex |
| 142 | default 0x80000 |
| 143 | |
| 144 | config IED_REGION_SIZE |
| 145 | hex |
| 146 | default 0x400000 |
| 147 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 148 | config MMCONF_BASE_ADDRESS |
| 149 | hex "MMIO Base Address" |
| 150 | default 0xe0000000 |
| 151 | |
| 152 | config MONOTONIC_TIMER_MSR |
| 153 | def_bool y |
| 154 | select HAVE_MONOTONIC_TIMER |
| 155 | help |
| 156 | Provide a monotonic timer using the 24MHz MSR counter. |
| 157 | |
| 158 | config PRE_GRAPHICS_DELAY |
| 159 | int "Graphics initialization delay in ms" |
| 160 | default 0 |
| 161 | help |
| 162 | On some systems, coreboot boots so fast that connected monitors |
| 163 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 164 | VBIOS. On those systems we need to wait for a bit before executing |
| 165 | the VBIOS. |
| 166 | |
| 167 | config SERIAL_CPU_INIT |
| 168 | bool |
| 169 | default n |
| 170 | |
| 171 | config SERIRQ_CONTINUOUS_MODE |
| 172 | bool |
pchandri | 1d77c72 | 2015-09-09 17:22:09 -0700 | [diff] [blame] | 173 | default n |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 174 | help |
| 175 | If you set this option to y, the serial IRQ machine will be |
| 176 | operated in continuous mode. |
| 177 | |
| 178 | config SMM_RESERVED_SIZE |
| 179 | hex |
| 180 | default 0x200000 |
| 181 | |
| 182 | config SMM_TSEG_SIZE |
| 183 | hex |
| 184 | default 0x800000 |
| 185 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 186 | config VGA_BIOS_ID |
| 187 | string |
| 188 | default "8086,0406" |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 189 | |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 190 | config UART_DEBUG |
| 191 | bool "Enable UART debug port." |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 192 | default n |
Martin Roth | 1afcb23 | 2015-08-15 17:36:15 -0600 | [diff] [blame] | 193 | select CONSOLE_SERIAL |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 194 | select DRIVERS_UART |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 195 | select DRIVERS_UART_8250MEM_32 |
Furquan Shaikh | b168db7 | 2016-08-01 19:37:38 -0700 | [diff] [blame] | 196 | select NO_UART_ON_SUPERIO |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 197 | |
Teo Boon Tiong | 2fc06c8 | 2016-09-15 11:11:45 +0800 | [diff] [blame] | 198 | config SKYLAKE_SOC_PCH_H |
| 199 | bool |
| 200 | default n |
| 201 | help |
| 202 | Choose this option if you have a PCH-H chipset. |
| 203 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 204 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 205 | string |
| 206 | default "soc/intel/skylake/bootblock/timestamp.inc" |
| 207 | |
Aaron Durbin | ed8a723 | 2015-11-24 12:35:06 -0600 | [diff] [blame] | 208 | config NHLT_DMIC_2CH |
| 209 | bool |
| 210 | default n |
| 211 | help |
| 212 | Include DSP firmware settings for 2 channel DMIC array. |
| 213 | |
| 214 | config NHLT_DMIC_4CH |
| 215 | bool |
| 216 | default n |
| 217 | help |
| 218 | Include DSP firmware settings for 4 channel DMIC array. |
| 219 | |
| 220 | config NHLT_NAU88L25 |
| 221 | bool |
| 222 | default n |
| 223 | help |
| 224 | Include DSP firmware settings for nau88l25 headset codec. |
| 225 | |
| 226 | config NHLT_MAX98357 |
| 227 | bool |
| 228 | default n |
| 229 | help |
| 230 | Include DSP firmware settings for max98357 amplifier. |
| 231 | |
| 232 | config NHLT_SSM4567 |
| 233 | bool |
| 234 | default n |
| 235 | help |
| 236 | Include DSP firmware settings for ssm4567 smart amplifier. |
| 237 | |
Rizwan Qureshi | 17335fa | 2017-01-14 06:08:21 +0530 | [diff] [blame] | 238 | config NHLT_RT5663 |
| 239 | bool |
| 240 | default n |
| 241 | help |
| 242 | Include DSP firmware settings for rt5663 headset codec. |
| 243 | |
| 244 | config NHLT_MAX98927 |
| 245 | bool |
| 246 | default n |
| 247 | help |
| 248 | Include DSP firmware settings for max98927 amplifier. |
| 249 | |
Subrata Banik | fbdc719 | 2016-01-19 19:19:15 +0530 | [diff] [blame] | 250 | config SKIP_FSP_CAR |
Martin Roth | b00ddec | 2016-01-31 10:39:47 -0700 | [diff] [blame] | 251 | bool "Skip cache as RAM setup in FSP" |
| 252 | default y |
| 253 | help |
| 254 | Skip Cache as RAM setup in FSP. |
Subrata Banik | fbdc719 | 2016-01-19 19:19:15 +0530 | [diff] [blame] | 255 | |
Aaron Durbin | e56191e | 2016-08-11 09:50:49 -0500 | [diff] [blame] | 256 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 257 | bool |
| 258 | default n |
| 259 | |
Rizwan Qureshi | d8bb69a | 2016-11-08 21:01:09 +0530 | [diff] [blame] | 260 | config MAX_ROOT_PORTS |
| 261 | int |
| 262 | default 24 if PLATFORM_USES_FSP2_0 |
| 263 | default 20 if PLATFORM_USES_FSP1_1 |
| 264 | |
Jenny TC | 2864f85 | 2017-02-09 16:01:59 +0530 | [diff] [blame] | 265 | config NO_FADT_8042 |
| 266 | bool |
| 267 | default n |
| 268 | help |
| 269 | Choose this option if you want to disable 8042 Keyboard |
| 270 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 271 | endif |