blob: 3c843f505ff89506198e45e54c35ddf80ceac812 [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
22 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbinffdf9012015-07-24 13:00:36 -050023 select GENERIC_GPIO_LIB
Lee Leahy1d14b3e2015-05-12 18:23:27 -070024 select HAVE_HARD_RESET
Aaron Durbin387084c2015-07-30 13:41:01 -050025 select HAVE_INTEL_FIRMWARE
Lee Leahyb0005132015-05-12 18:19:47 -070026 select HAVE_MONOTONIC_TIMER
27 select HAVE_SMI_HANDLER
Lee Leahyb0005132015-05-12 18:19:47 -070028 select IOAPIC
29 select MMCONF_SUPPORT
30 select MMCONF_SUPPORT_DEFAULT
Aaron Durbinf5ff8542016-05-05 10:38:03 -050031 select NO_FIXED_XIP_ROM_SIZE
Duncan Laurie205ed2d2016-06-02 15:23:42 -070032 select MRC_SETTINGS_PROTECT
Lee Leahyb0005132015-05-12 18:19:47 -070033 select PARALLEL_MP
34 select PCIEXP_ASPM
35 select PCIEXP_COMMON_CLOCK
36 select PCIEXP_CLK_PM
Aaron Durbin27d153c2015-07-13 13:50:34 -050037 select PCIEXP_L1_SUB_STATE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070038 select REG_SCRIPT
39 select RELOCATABLE_MODULES
40 select RELOCATABLE_RAMSTAGE
Aaron Durbin16246ea2016-08-05 21:23:37 -050041 select RTC
Lee Leahy1d14b3e2015-05-12 18:23:27 -070042 select SOC_INTEL_COMMON
Duncan Lauriea1c8b34d2015-09-08 16:12:44 -070043 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Duncan Laurie4001f242016-06-07 16:40:19 -070044 select SOC_INTEL_COMMON_LPSS_I2C
Aaron Durbinc14a1a92016-06-28 15:41:07 -050045 select SOC_INTEL_COMMON_NHLT
Lee Leahy1d14b3e2015-05-12 18:23:27 -070046 select SOC_INTEL_COMMON_RESET
Lee Leahyb0005132015-05-12 18:19:47 -070047 select SMM_TSEG
48 select SMP
Lee Leahyb0005132015-05-12 18:19:47 -070049 select SSE2
50 select SUPPORT_CPU_UCODE_IN_CBFS
51 select TSC_CONSTANT_RATE
52 select TSC_SYNC_MFENCE
53 select UDELAY_TSC
Lee Leahyb0005132015-05-12 18:19:47 -070054
Naresh G Solankia2d40622016-08-30 20:47:13 +053055choice
56 prompt "FSP Driver"
57 default USE_FSP1_1_DRIVER
58
59config USE_FSP2_0_DRIVER
60 bool "Build with FSP 2.0"
61 select PLATFORM_USES_FSP2_0
62 select ADD_VBT_DATA_FILE
63 select SOC_INTEL_COMMON_GFX_OPREGION
64
65config USE_FSP1_1_DRIVER
66 bool "Build with FSP 1.1"
67 select PLATFORM_USES_FSP1_1
68 select GOP_SUPPORT
69 select DISPLAY_FSP_ENTRY_POINTS
70
71endchoice
72
Furquan Shaikh610a33a2016-07-22 16:17:53 -070073config CHROMEOS
74 select CHROMEOS_RAMOOPS_DYNAMIC
Furquan Shaikh610a33a2016-07-22 16:17:53 -070075 select EC_SOFTWARE_SYNC if EC_GOOGLE_CHROMEEC
Aaron Durbina6914d22016-08-24 08:49:29 -050076 select SEPARATE_VERSTAGE
Naresh G Solankic68ab5e2016-10-13 22:00:51 +053077 select VBOOT_EC_SLOW_UPDATE if EC_GOOGLE_CHROMEEC
Furquan Shaikh610a33a2016-07-22 16:17:53 -070078 select VBOOT_OPROM_MATTERS
Furquan Shaikhb8257df2016-07-22 09:20:56 -070079 select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT
Aaron Durbina6914d22016-08-24 08:49:29 -050080 select VBOOT_STARTS_IN_BOOTBLOCK
Furquan Shaikh2a12e2e2016-07-25 11:48:03 -070081 select VBOOT_VBNV_CMOS
82 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
Furquan Shaikh610a33a2016-07-22 16:17:53 -070083 select VIRTUAL_DEV_SWITCH
84
Lee Leahy1d14b3e2015-05-12 18:23:27 -070085config BOOTBLOCK_RESETS
86 string
87 default "soc/intel/common/reset.c"
88
Martin Roth59ff3402016-02-09 09:06:46 -070089config CBFS_SIZE
90 hex
91 default 0x200000
92
Lee Leahy1d14b3e2015-05-12 18:23:27 -070093config CPU_ADDR_BITS
94 int
95 default 36
96
Duncan Laurie4001f242016-06-07 16:40:19 -070097config SOC_INTEL_COMMON_LPSS_I2C_CLOCK_MHZ
98 int
99 default 120
100
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700101config DCACHE_RAM_BASE
102 hex "Base address of cache-as-RAM"
103 default 0xfef00000
104
105config DCACHE_RAM_SIZE
106 hex "Length in bytes of cache-as-RAM"
Rizwan Qureshi3ad63562016-08-14 15:48:33 +0530107 default 0x40000
Lee Leahyb0005132015-05-12 18:19:47 -0700108 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700109 The size of the cache-as-ram region required during bootblock
110 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -0700111
Subrata Banik68d5d8b2016-07-18 14:13:52 +0530112config DCACHE_BSP_STACK_SIZE
113 hex
114 default 0x4000
115 help
116 The amount of anticipated stack usage in CAR by bootblock and
117 other stages.
118
119config C_ENV_BOOTBLOCK_SIZE
120 hex
Furquan Shaikh70385962016-08-24 10:28:30 -0700121 default 0xC000
Subrata Banik68d5d8b2016-07-18 14:13:52 +0530122
Subrata Banik086730b2015-12-02 11:42:04 +0530123config EXCLUDE_NATIVE_SD_INTERFACE
124 bool
125 default n
126 help
127 If you set this option to n, will not use native SD controller.
128
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700129config HEAP_SIZE
130 hex
131 default 0x80000
132
133config IED_REGION_SIZE
134 hex
135 default 0x400000
136
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700137config MMCONF_BASE_ADDRESS
138 hex "MMIO Base Address"
139 default 0xe0000000
140
141config MONOTONIC_TIMER_MSR
142 def_bool y
143 select HAVE_MONOTONIC_TIMER
144 help
145 Provide a monotonic timer using the 24MHz MSR counter.
146
147config PRE_GRAPHICS_DELAY
148 int "Graphics initialization delay in ms"
149 default 0
150 help
151 On some systems, coreboot boots so fast that connected monitors
152 (mostly TVs) won't be able to wake up fast enough to talk to the
153 VBIOS. On those systems we need to wait for a bit before executing
154 the VBIOS.
155
156config SERIAL_CPU_INIT
157 bool
158 default n
159
160config SERIRQ_CONTINUOUS_MODE
161 bool
pchandri1d77c722015-09-09 17:22:09 -0700162 default n
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700163 help
164 If you set this option to y, the serial IRQ machine will be
165 operated in continuous mode.
166
167config SMM_RESERVED_SIZE
168 hex
169 default 0x200000
170
171config SMM_TSEG_SIZE
172 hex
173 default 0x800000
174
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700175config VGA_BIOS_ID
176 string
177 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700178
Aaron Durbine33a1722015-07-30 16:52:56 -0500179config UART_DEBUG
180 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500181 default n
Furquan Shaikhb168db72016-08-01 19:37:38 -0700182 select BOOTBLOCK_CONSOLE
Martin Roth1afcb232015-08-15 17:36:15 -0600183 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500184 select DRIVERS_UART
Aaron Durbine33a1722015-07-30 16:52:56 -0500185 select DRIVERS_UART_8250MEM_32
Furquan Shaikhb168db72016-08-01 19:37:38 -0700186 select NO_UART_ON_SUPERIO
Aaron Durbine33a1722015-07-30 16:52:56 -0500187
Teo Boon Tiong2fc06c82016-09-15 11:11:45 +0800188config SKYLAKE_SOC_PCH_H
189 bool
190 default n
191 help
192 Choose this option if you have a PCH-H chipset.
193
Aaron Durbin3953e392015-09-03 00:41:29 -0500194config CHIPSET_BOOTBLOCK_INCLUDE
195 string
196 default "soc/intel/skylake/bootblock/timestamp.inc"
197
Aaron Durbined8a7232015-11-24 12:35:06 -0600198config NHLT_DMIC_2CH
199 bool
200 default n
201 help
202 Include DSP firmware settings for 2 channel DMIC array.
203
204config NHLT_DMIC_4CH
205 bool
206 default n
207 help
208 Include DSP firmware settings for 4 channel DMIC array.
209
210config NHLT_NAU88L25
211 bool
212 default n
213 help
214 Include DSP firmware settings for nau88l25 headset codec.
215
216config NHLT_MAX98357
217 bool
218 default n
219 help
220 Include DSP firmware settings for max98357 amplifier.
221
222config NHLT_SSM4567
223 bool
224 default n
225 help
226 Include DSP firmware settings for ssm4567 smart amplifier.
227
Subrata Banikfbdc7192016-01-19 19:19:15 +0530228config SKIP_FSP_CAR
Martin Rothb00ddec2016-01-31 10:39:47 -0700229 bool "Skip cache as RAM setup in FSP"
230 default y
231 help
232 Skip Cache as RAM setup in FSP.
Subrata Banikfbdc7192016-01-19 19:19:15 +0530233
Aaron Durbine56191e2016-08-11 09:50:49 -0500234config SPI_FLASH_INCLUDE_ALL_DRIVERS
235 bool
236 default n
237
Lee Leahyb0005132015-05-12 18:19:47 -0700238endif