blob: 1960a9a285d399dc6b2bfaa6baec5a2c74d14504 [file] [log] [blame]
Lee Leahyb0005132015-05-12 18:19:47 -07001config SOC_INTEL_SKYLAKE
2 bool
3 help
4 Intel Skylake support
5
6if SOC_INTEL_SKYLAKE
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Aaron Durbine0a49142016-07-13 23:20:51 -050010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Lee Leahyb0005132015-05-12 18:19:47 -070011 select ARCH_BOOTBLOCK_X86_32
Lee Leahyb0005132015-05-12 18:19:47 -070012 select ARCH_RAMSTAGE_X86_32
Lee Leahy1d14b3e2015-05-12 18:23:27 -070013 select ARCH_ROMSTAGE_X86_32
14 select ARCH_VERSTAGE_X86_32
Aaron Durbined8a7232015-11-24 12:35:06 -060015 select ACPI_NHLT
Aaron Durbine4cc8cd2016-08-11 23:55:39 -050016 select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH
Aaron Durbine8e118d2016-08-12 15:00:10 -050017 select BOOT_DEVICE_SUPPORTS_WRITES
Lee Leahyb0005132015-05-12 18:19:47 -070018 select CACHE_MRC_SETTINGS
Alexandru Gagniuc27fea062015-08-29 20:00:24 -070019 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
Subrata Banik68d5d8b2016-07-18 14:13:52 +053020 select C_ENVIRONMENT_BOOTBLOCK
Lee Leahyb0005132015-05-12 18:19:47 -070021 select COLLECT_TIMESTAMPS
Duncan Laurie135c2c42016-10-17 19:47:51 -070022 select COMMON_FADT
Lee Leahyb0005132015-05-12 18:19:47 -070023 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbinffdf9012015-07-24 13:00:36 -050024 select GENERIC_GPIO_LIB
Lee Leahy1d14b3e2015-05-12 18:23:27 -070025 select HAVE_HARD_RESET
Aaron Durbin387084c2015-07-30 13:41:01 -050026 select HAVE_INTEL_FIRMWARE
Lee Leahyb0005132015-05-12 18:19:47 -070027 select HAVE_MONOTONIC_TIMER
28 select HAVE_SMI_HANDLER
Lee Leahyb0005132015-05-12 18:19:47 -070029 select IOAPIC
30 select MMCONF_SUPPORT
31 select MMCONF_SUPPORT_DEFAULT
Aaron Durbinf5ff8542016-05-05 10:38:03 -050032 select NO_FIXED_XIP_ROM_SIZE
Duncan Laurie205ed2d2016-06-02 15:23:42 -070033 select MRC_SETTINGS_PROTECT
Lee Leahyb0005132015-05-12 18:19:47 -070034 select PARALLEL_MP
35 select PCIEXP_ASPM
36 select PCIEXP_COMMON_CLOCK
37 select PCIEXP_CLK_PM
Aaron Durbin27d153c2015-07-13 13:50:34 -050038 select PCIEXP_L1_SUB_STATE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070039 select REG_SCRIPT
40 select RELOCATABLE_MODULES
41 select RELOCATABLE_RAMSTAGE
Aaron Durbin16246ea2016-08-05 21:23:37 -050042 select RTC
Lee Leahy1d14b3e2015-05-12 18:23:27 -070043 select SOC_INTEL_COMMON
Duncan Lauriea1c8b34d2015-09-08 16:12:44 -070044 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Duncan Laurie4001f242016-06-07 16:40:19 -070045 select SOC_INTEL_COMMON_LPSS_I2C
Aaron Durbinc14a1a92016-06-28 15:41:07 -050046 select SOC_INTEL_COMMON_NHLT
Lee Leahy1d14b3e2015-05-12 18:23:27 -070047 select SOC_INTEL_COMMON_RESET
Furquan Shaikh723a84e2016-10-24 15:27:21 -070048 select SOC_INTEL_COMMON_SPI_PROTECT
Lee Leahyb0005132015-05-12 18:19:47 -070049 select SMM_TSEG
50 select SMP
Lee Leahyb0005132015-05-12 18:19:47 -070051 select SSE2
52 select SUPPORT_CPU_UCODE_IN_CBFS
53 select TSC_CONSTANT_RATE
54 select TSC_SYNC_MFENCE
55 select UDELAY_TSC
Lee Leahyb0005132015-05-12 18:19:47 -070056
Naresh G Solankife517f62016-10-17 17:21:08 +053057config MAINBOARD_USES_FSP2_0
58 bool
59 default n
Naresh G Solankia2d40622016-08-30 20:47:13 +053060
61config USE_FSP2_0_DRIVER
62 bool "Build with FSP 2.0"
Naresh G Solankife517f62016-10-17 17:21:08 +053063 depends on MAINBOARD_USES_FSP2_0
64 default y if MAINBOARD_USES_FSP2_0
Naresh G Solankia2d40622016-08-30 20:47:13 +053065 select PLATFORM_USES_FSP2_0
66 select ADD_VBT_DATA_FILE
67 select SOC_INTEL_COMMON_GFX_OPREGION
68
69config USE_FSP1_1_DRIVER
70 bool "Build with FSP 1.1"
Naresh G Solankife517f62016-10-17 17:21:08 +053071 depends on !MAINBOARD_USES_FSP2_0
72 default y if !MAINBOARD_USES_FSP2_0
Naresh G Solankia2d40622016-08-30 20:47:13 +053073 select PLATFORM_USES_FSP1_1
74 select GOP_SUPPORT
75 select DISPLAY_FSP_ENTRY_POINTS
76
Furquan Shaikh610a33a2016-07-22 16:17:53 -070077config CHROMEOS
78 select CHROMEOS_RAMOOPS_DYNAMIC
Furquan Shaikh610a33a2016-07-22 16:17:53 -070079 select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC
Aaron Durbina6914d22016-08-24 08:49:29 -050080 select SEPARATE_VERSTAGE
Naresh G Solankic68ab5e2016-10-13 22:00:51 +053081 select VBOOT_EC_SLOW_UPDATE if EC_GOOGLE_CHROMEEC
Furquan Shaikh610a33a2016-07-22 16:17:53 -070082 select VBOOT_OPROM_MATTERS
Furquan Shaikhb8257df2016-07-22 09:20:56 -070083 select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT
Aaron Durbina6914d22016-08-24 08:49:29 -050084 select VBOOT_STARTS_IN_BOOTBLOCK
Furquan Shaikh2a12e2e2016-07-25 11:48:03 -070085 select VBOOT_VBNV_CMOS
86 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
Furquan Shaikh610a33a2016-07-22 16:17:53 -070087 select VIRTUAL_DEV_SWITCH
88
Lee Leahy1d14b3e2015-05-12 18:23:27 -070089config BOOTBLOCK_RESETS
90 string
91 default "soc/intel/common/reset.c"
92
Martin Roth59ff3402016-02-09 09:06:46 -070093config CBFS_SIZE
94 hex
95 default 0x200000
96
Lee Leahy1d14b3e2015-05-12 18:23:27 -070097config CPU_ADDR_BITS
98 int
99 default 36
100
Duncan Laurie4001f242016-06-07 16:40:19 -0700101config SOC_INTEL_COMMON_LPSS_I2C_CLOCK_MHZ
102 int
103 default 120
104
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700105config DCACHE_RAM_BASE
106 hex "Base address of cache-as-RAM"
107 default 0xfef00000
108
109config DCACHE_RAM_SIZE
110 hex "Length in bytes of cache-as-RAM"
Rizwan Qureshi3ad63562016-08-14 15:48:33 +0530111 default 0x40000
Lee Leahyb0005132015-05-12 18:19:47 -0700112 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700113 The size of the cache-as-ram region required during bootblock
114 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -0700115
Subrata Banik68d5d8b2016-07-18 14:13:52 +0530116config DCACHE_BSP_STACK_SIZE
117 hex
118 default 0x4000
119 help
120 The amount of anticipated stack usage in CAR by bootblock and
121 other stages.
122
123config C_ENV_BOOTBLOCK_SIZE
124 hex
Furquan Shaikh70385962016-08-24 10:28:30 -0700125 default 0xC000
Subrata Banik68d5d8b2016-07-18 14:13:52 +0530126
Subrata Banik086730b2015-12-02 11:42:04 +0530127config EXCLUDE_NATIVE_SD_INTERFACE
128 bool
129 default n
130 help
131 If you set this option to n, will not use native SD controller.
132
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700133config HEAP_SIZE
134 hex
135 default 0x80000
136
137config IED_REGION_SIZE
138 hex
139 default 0x400000
140
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700141config MMCONF_BASE_ADDRESS
142 hex "MMIO Base Address"
143 default 0xe0000000
144
145config MONOTONIC_TIMER_MSR
146 def_bool y
147 select HAVE_MONOTONIC_TIMER
148 help
149 Provide a monotonic timer using the 24MHz MSR counter.
150
151config PRE_GRAPHICS_DELAY
152 int "Graphics initialization delay in ms"
153 default 0
154 help
155 On some systems, coreboot boots so fast that connected monitors
156 (mostly TVs) won't be able to wake up fast enough to talk to the
157 VBIOS. On those systems we need to wait for a bit before executing
158 the VBIOS.
159
160config SERIAL_CPU_INIT
161 bool
162 default n
163
164config SERIRQ_CONTINUOUS_MODE
165 bool
pchandri1d77c722015-09-09 17:22:09 -0700166 default n
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700167 help
168 If you set this option to y, the serial IRQ machine will be
169 operated in continuous mode.
170
171config SMM_RESERVED_SIZE
172 hex
173 default 0x200000
174
175config SMM_TSEG_SIZE
176 hex
177 default 0x800000
178
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700179config VGA_BIOS_ID
180 string
181 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700182
Aaron Durbine33a1722015-07-30 16:52:56 -0500183config UART_DEBUG
184 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500185 default n
Furquan Shaikhb168db72016-08-01 19:37:38 -0700186 select BOOTBLOCK_CONSOLE
Martin Roth1afcb232015-08-15 17:36:15 -0600187 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500188 select DRIVERS_UART
Aaron Durbine33a1722015-07-30 16:52:56 -0500189 select DRIVERS_UART_8250MEM_32
Furquan Shaikhb168db72016-08-01 19:37:38 -0700190 select NO_UART_ON_SUPERIO
Aaron Durbine33a1722015-07-30 16:52:56 -0500191
Teo Boon Tiong2fc06c82016-09-15 11:11:45 +0800192config SKYLAKE_SOC_PCH_H
193 bool
194 default n
195 help
196 Choose this option if you have a PCH-H chipset.
197
Aaron Durbin3953e392015-09-03 00:41:29 -0500198config CHIPSET_BOOTBLOCK_INCLUDE
199 string
200 default "soc/intel/skylake/bootblock/timestamp.inc"
201
Aaron Durbined8a7232015-11-24 12:35:06 -0600202config NHLT_DMIC_2CH
203 bool
204 default n
205 help
206 Include DSP firmware settings for 2 channel DMIC array.
207
208config NHLT_DMIC_4CH
209 bool
210 default n
211 help
212 Include DSP firmware settings for 4 channel DMIC array.
213
214config NHLT_NAU88L25
215 bool
216 default n
217 help
218 Include DSP firmware settings for nau88l25 headset codec.
219
220config NHLT_MAX98357
221 bool
222 default n
223 help
224 Include DSP firmware settings for max98357 amplifier.
225
226config NHLT_SSM4567
227 bool
228 default n
229 help
230 Include DSP firmware settings for ssm4567 smart amplifier.
231
Subrata Banikfbdc7192016-01-19 19:19:15 +0530232config SKIP_FSP_CAR
Martin Rothb00ddec2016-01-31 10:39:47 -0700233 bool "Skip cache as RAM setup in FSP"
234 default y
235 help
236 Skip Cache as RAM setup in FSP.
Subrata Banikfbdc7192016-01-19 19:19:15 +0530237
Aaron Durbine56191e2016-08-11 09:50:49 -0500238config SPI_FLASH_INCLUDE_ALL_DRIVERS
239 bool
240 default n
241
Rizwan Qureshid8bb69a2016-11-08 21:01:09 +0530242config MAX_ROOT_PORTS
243 int
244 default 24 if PLATFORM_USES_FSP2_0
245 default 20 if PLATFORM_USES_FSP1_1
246
Lee Leahyb0005132015-05-12 18:19:47 -0700247endif