blob: dcf1b1a0af1eca18b2cbab60cb21549ccad1b5cd [file] [log] [blame]
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -07001config SOC_INTEL_APOLLOLAKE
2 bool
3 help
4 Intel Apollolake support
5
Hannah Williams3ff14a02017-05-05 16:30:22 -07006config SOC_INTEL_GLK
7 bool
8 default n
9 select SOC_INTEL_APOLLOLAKE
Pratik Prajapatidc194e22017-08-29 14:27:07 -070010 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
11 select SOC_INTEL_COMMON_BLOCK_SGX
Ravi Sarawadi3669a062018-02-27 13:23:42 -080012 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Aaron Durbin82d0f912018-04-21 00:16:28 -060013 select IDT_IN_EVERY_STAGE
Aaron Durbin5c9df702018-04-18 01:05:25 -060014 select PAGING_IN_CACHE_AS_RAM
Hannah Williams3ff14a02017-05-05 16:30:22 -070015 help
16 Intel GLK support
17
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070018if SOC_INTEL_APOLLOLAKE
19
20config CPU_SPECIFIC_OPTIONS
21 def_bool y
Aaron Durbined35b7c2016-07-13 23:17:38 -050022 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070023 select ARCH_BOOTBLOCK_X86_32
24 select ARCH_RAMSTAGE_X86_32
25 select ARCH_ROMSTAGE_X86_32
26 select ARCH_VERSTAGE_X86_32
Aaron Durbina9e03a32016-09-16 19:25:43 -050027 select BOOTBLOCK_CONSOLE
Aaron Durbin7b2c7812016-08-11 23:51:42 -050028 select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH
Aaron Durbine8e118d2016-08-12 15:00:10 -050029 select BOOT_DEVICE_SUPPORTS_WRITES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070030 # CPU specific options
31 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
32 select IOAPIC
Subrata Banikccd87002017-03-08 17:55:26 +053033 select PCR_COMMON_IOSF_1_0
Nico Huberf5ca9222018-11-29 17:05:32 +010034 select MICROCODE_BLOB_NOT_HOOKED_UP
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070035 select SMP
36 select SSE2
37 select SUPPORT_CPU_UCODE_IN_CBFS
Saurabh Satija734aa872016-06-21 14:22:16 -070038 # Audio options
39 select ACPI_NHLT
40 select SOC_INTEL_COMMON_NHLT
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070041 # Misc options
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -070042 select C_ENVIRONMENT_BOOTBLOCK
Aaron Durbin934f4332017-12-15 12:59:18 -070043 select CACHE_MRC_SETTINGS
Kyösti Mälkki730df3c2016-06-18 07:39:31 +030044 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070045 select COLLECT_TIMESTAMPS
Aaron Durbinc3ee3f62016-05-11 10:35:49 -050046 select COMMON_FADT
Ravi Sarawadia3d13fbd62017-04-25 19:30:58 -070047 select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
Duncan Lauried25dd992016-06-29 10:47:48 -070048 select GENERIC_GPIO_LIB
Stefan Tauneref8b9572018-09-06 00:34:28 +020049 select INTEL_DESCRIPTOR_MODE_CAPABLE
Hannah Williamsd9c84ca2016-05-13 00:47:14 -070050 select HAVE_SMI_HANDLER
Furquan Shaikhffb3a2d2016-10-24 15:28:23 -070051 select MRC_SETTINGS_PROTECT
Aaron Durbin934f4332017-12-15 12:59:18 -070052 select MRC_SETTINGS_VARIABLE_DATA
Aaron Durbinf5ff8542016-05-05 10:38:03 -050053 select NO_FIXED_XIP_ROM_SIZE
Furquan Shaikh94b18a12016-05-04 23:25:16 -070054 select NO_XIP_EARLY_STAGES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070055 select PARALLEL_MP
Andrey Petrova697c192016-12-07 10:47:46 -080056 select PARALLEL_MP_AP_WORK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070057 select PCIEXP_ASPM
58 select PCIEXP_COMMON_CLOCK
59 select PCIEXP_CLK_PM
60 select PCIEXP_L1_SUB_STATE
Subrata Banik7952e282017-03-14 18:26:27 +053061 select PCIEX_LENGTH_256MB
Aaron Durbin79587ed2016-09-16 16:30:09 -050062 select POSTCAR_CONSOLE
Aaron Durbineebe0e02016-03-18 11:19:38 -050063 select POSTCAR_STAGE
Hannah Williams1177bf52017-12-13 12:44:26 -080064 select PMC_INVALID_READ_AFTER_WRITE
Julien Viard de Galbert2912e8e2018-08-14 16:15:26 +020065 select PMC_GLOBAL_RESET_ENABLE_LOCK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070066 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050067 select RTC
Hannah Williamsd9c84ca2016-05-13 00:47:14 -070068 select SMM_TSEG
Subrata Banik208587e2017-05-19 18:38:24 +053069 select SA_ENABLE_IMR
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070070 select SOC_INTEL_COMMON
Shaunak Saha60b46182016-08-02 17:25:13 -070071 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikfc4c7d82017-03-03 18:23:59 +053072 select SOC_INTEL_COMMON_BLOCK
Shaunak Sahabd427802017-07-18 00:19:33 -070073 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banikc4986eb2018-05-09 14:55:09 +053074 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Barnali Sarkar66fe0c42017-05-23 18:17:14 +053075 select SOC_INTEL_COMMON_BLOCK_CPU
Lijian Zhao44e2abf2017-10-30 14:27:52 -070076 select SOC_INTEL_COMMON_BLOCK_DSP
Barnali Sarkare70142c2017-03-28 16:32:33 +053077 select SOC_INTEL_COMMON_BLOCK_FAST_SPI
Hannah Williams12bed182017-05-26 20:31:15 -070078 select SOC_INTEL_COMMON_BLOCK_GPIO
Furquan Shaikh2c368892018-10-18 16:22:37 -070079 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Aaron Durbinaa2504a2017-07-14 16:53:49 -060080 select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES
Hannah Williams12bed182017-05-26 20:31:15 -070081 select SOC_INTEL_COMMON_BLOCK_GPIO_ITSS_POL_CFG
82 select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY
Subrata Banikb7b56662017-11-28 17:54:15 +053083 select SOC_INTEL_COMMON_BLOCK_GRAPHICS
Bora Guvendik33117ec2017-04-10 15:49:02 -070084 select SOC_INTEL_COMMON_BLOCK_ITSS
Rizwan Qureshiae6a4b62017-04-26 21:06:35 +053085 select SOC_INTEL_COMMON_BLOCK_I2C
Ravi Sarawadiefa606b2017-08-04 16:26:09 -070086 select SOC_INTEL_COMMON_BLOCK_LPC
Aamir Bohra138b2a02017-04-06 20:21:58 +053087 select SOC_INTEL_COMMON_BLOCK_LPSS
Subrata Banikccd87002017-03-08 17:55:26 +053088 select SOC_INTEL_COMMON_BLOCK_PCR
Lijian Zhao8aba24d2017-10-26 12:16:53 -070089 select SOC_INTEL_COMMON_BLOCK_P2SB
Shaunak Saha93cdc8b2017-04-18 15:42:09 -070090 select SOC_INTEL_COMMON_BLOCK_PMC
V Sowmya45a21382017-11-27 12:39:10 +053091 select SOC_INTEL_COMMON_BLOCK_SRAM
Subrata Banik8bf69d32017-03-09 13:43:54 +053092 select SOC_INTEL_COMMON_BLOCK_RTC
Aamir Bohrabf6dfae2017-04-07 21:10:27 +053093 select SOC_INTEL_COMMON_BLOCK_SA
Bora Guvendik65623b72017-05-08 16:29:17 -070094 select SOC_INTEL_COMMON_BLOCK_SCS
Aamir Bohra4c9cf302017-05-25 14:38:37 +053095 select SOC_INTEL_COMMON_BLOCK_TIMER
Subrata Banik7bc4dc52018-05-17 18:40:32 +053096 select SOC_INTEL_COMMON_BLOCK_TCO
Aamir Bohrabf6dfae2017-04-07 21:10:27 +053097 select SOC_INTEL_COMMON_BLOCK_UART
Subrata Banik4aaa7e32017-04-24 11:54:34 +053098 select SOC_INTEL_COMMON_BLOCK_XDCI
Subrata Banik73b17972017-04-24 10:25:56 +053099 select SOC_INTEL_COMMON_BLOCK_XHCI
Brandon Breitensteina86d1b82017-06-08 17:32:02 -0700100 select SOC_INTEL_COMMON_BLOCK_SMM
Subrata Banik15129b42017-11-07 17:50:48 +0530101 select SOC_INTEL_COMMON_BLOCK_SPI
Marshall Dawson0cc28d72017-12-12 12:24:19 -0700102 select SOC_INTEL_COMMON_BLOCK_CSE
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700103 select UDELAY_TSC
Andrey Petrov87fb1a62016-02-10 17:47:03 -0800104 select TSC_CONSTANT_RATE
Hannah Williamsb13d4542016-03-14 17:38:51 -0700105 select TSC_MONOTONIC_TIMER
106 select HAVE_MONOTONIC_TIMER
Andrey Petrov0d187912016-02-25 18:39:38 -0800107 select PLATFORM_USES_FSP2_0
Subrata Banik74558812018-01-25 11:41:04 +0530108 select UDK_2015_BINDING if !SOC_INTEL_GLK
109 select UDK_2017_BINDING if SOC_INTEL_GLK
Patrick Rudolphf677d172018-10-01 19:17:11 +0200110 select SOC_INTEL_COMMON_RESET
111 select HAVE_CF9_RESET_PREPARE
Nico Huber29cc3312018-06-06 17:40:02 +0200112 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
Nico Huber2e7f6cc2017-05-22 15:58:03 +0200113 select HAVE_FSP_GOP
Ravi Sarawadi92b487d2017-11-29 16:11:32 -0800114 select NO_UART_ON_SUPERIO
Patrick Rudolphc7edf182017-09-26 19:34:35 +0200115 select INTEL_GMA_ACPI
116 select INTEL_GMA_SWSMISCI
Zhao, Lijiand8d42c22016-03-14 14:19:22 -0700117
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700118config CHROMEOS
119 select CHROMEOS_RAMOOPS_DYNAMIC
Julius Werner58c39382017-02-13 17:53:29 -0800120
121config VBOOT
122 select VBOOT_SEPARATE_VERSTAGE
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700123 select VBOOT_OPROM_MATTERS
Furquan Shaikh7c7b2912016-07-22 09:02:35 -0700124 select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700125 select VBOOT_STARTS_IN_BOOTBLOCK
Furquan Shaikh2a12e2e2016-07-25 11:48:03 -0700126 select VBOOT_VBNV_CMOS
127 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700128
Aaron Durbin80a3df22016-04-27 23:05:52 -0500129config TPM_ON_FAST_SPI
130 bool
131 default n
Philipp Deppenwiesec07f8fb2018-02-27 19:40:52 +0100132 depends on MAINBOARD_HAS_LPC_TPM
Aaron Durbin80a3df22016-04-27 23:05:52 -0500133 help
134 TPM part is conntected on Fast SPI interface, but the LPC MMIO
135 TPM transactions are decoded and serialized over the SPI interface.
136
Subrata Banikccd87002017-03-08 17:55:26 +0530137config PCR_BASE_ADDRESS
138 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700139 default 0xd0000000
Subrata Banikccd87002017-03-08 17:55:26 +0530140 help
141 This option allows you to select MMIO Base Address of sideband bus.
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700142
143config DCACHE_RAM_BASE
Arthur Heymans3038b482017-06-13 14:05:09 +0200144 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700145 default 0xfef00000
146
147config DCACHE_RAM_SIZE
Arthur Heymans3038b482017-06-13 14:05:09 +0200148 hex
Aaron Durbinfa529bb2018-04-12 14:00:45 -0600149 default 0x100000 if SOC_INTEL_GLK
Andrey Petrov0dde2912016-06-27 15:21:26 -0700150 default 0xc0000
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700151 help
152 The size of the cache-as-ram region required during bootblock
153 and/or romstage.
154
155config DCACHE_BSP_STACK_SIZE
156 hex
157 default 0x4000
158 help
159 The amount of anticipated stack usage in CAR by bootblock and
160 other stages.
161
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700162config CPU_ADDR_BITS
163 int
Hannah Williams57d8ccb2018-04-14 23:04:34 -0700164 default 39
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700165
Aaron Durbin551e4be2018-04-10 09:24:54 -0600166config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
Duncan Laurieff8bce02016-06-27 10:57:13 -0700167 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600168 default 100
Duncan Laurieff8bce02016-06-27 10:57:13 -0700169
Chris Chingb8dc63b2017-12-06 14:26:15 -0700170config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
171 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600172 default 133
Chris Chingb8dc63b2017-12-06 14:26:15 -0700173
Aaron Durbinada13ed2016-02-11 14:47:33 -0600174# 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB.
175config C_ENV_BOOTBLOCK_SIZE
176 hex
177 default 0x8000
178
Andrey Petrov5672dcd2016-02-12 15:12:43 -0800179# This SoC does not map SPI flash like many previous SoC. Therefore we provide
180# a custom media driver that facilitates mapping
181config X86_TOP4G_BOOTMEDIA_MAP
182 bool
183 default n
Andrey Petrovb4831462016-02-25 17:42:25 -0800184
185config ROMSTAGE_ADDR
186 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700187 default 0xfef20000
Andrey Petrovb4831462016-02-25 17:42:25 -0800188 help
189 The base address (in CAR) where romstage should be linked
190
Aaron Durbinbef75e72016-05-26 11:00:44 -0500191config VERSTAGE_ADDR
192 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700193 default 0xfef40000
Aaron Durbinbef75e72016-05-26 11:00:44 -0500194 help
195 The base address (in CAR) where verstage should be linked
196
Patrick Georgi6539e102018-09-13 11:48:43 -0400197config FSP_HEADER_PATH
Patrick Georgic6382cd2018-10-26 22:03:17 +0200198 string "Location of FSP headers"
Patrick Georgi6539e102018-09-13 11:48:43 -0400199 default "src/vendorcode/intel/fsp/fsp2_0/glk" if SOC_INTEL_GLK
200 default "3rdparty/fsp/ApolloLakeFspBinPkg/Include/"
201
202config FSP_FD_PATH
203 string
204 depends on FSP_USE_REPO
205 default "3rdparty/fsp/ApolloLakeFspBinPkg/FspBin/Fsp.fd"
206
Andrey Petrov79091db72016-05-17 00:03:27 -0700207config FSP_M_ADDR
208 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700209 default 0xfef40000
Andrey Petrov79091db72016-05-17 00:03:27 -0700210 help
211 The address FSP-M will be relocated to during build time
212
Aaron Durbin9f444c32016-05-20 10:48:44 -0500213config NEED_LBP2
214 bool "Write contents for logical boot partition 2."
215 default n
216 help
217 Write the contents from a file into the logical boot partition 2
218 region defined by LBP2_FMAP_NAME.
219
220config LBP2_FMAP_NAME
221 string "Name of FMAP region to put logical boot partition 2"
222 depends on NEED_LBP2
223 default "SIGN_CSE"
224 help
225 Name of FMAP region to write logical boot partition 2 data.
226
227config LBP2_FILE_NAME
228 string "Path of file to write to logical boot partition 2 region"
229 depends on NEED_LBP2
230 default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/lbp2.bin"
231 help
232 Name of file to store in the logical boot partition 2 region.
233
Furquan Shaikh7043bf32016-05-28 12:57:05 -0700234config NEED_IFWI
235 bool "Write content into IFWI region"
236 default n
237 help
238 Write the content from a file into IFWI region defined by
239 IFWI_FMAP_NAME.
240
241config IFWI_FMAP_NAME
242 string "Name of FMAP region to pull IFWI into"
243 depends on NEED_IFWI
244 default "IFWI"
245 help
246 Name of FMAP region to write IFWI.
247
248config IFWI_FILE_NAME
249 string "Path of file to write to IFWI region"
250 depends on NEED_IFWI
251 default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/ifwi.bin"
252 help
253 Name of file to store in the IFWI region.
254
Sathyanarayana Nujellac4467042016-10-26 17:38:49 -0700255config HEAP_SIZE
256 hex
257 default 0x8000
258
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700259config NHLT_DMIC_1CH_16B
260 bool
261 depends on ACPI_NHLT
262 default n
263 help
264 Include DSP firmware settings for 1 channel 16B DMIC array.
265
Saurabh Satija734aa872016-06-21 14:22:16 -0700266config NHLT_DMIC_2CH_16B
267 bool
268 depends on ACPI_NHLT
269 default n
270 help
271 Include DSP firmware settings for 2 channel 16B DMIC array.
272
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700273config NHLT_DMIC_4CH_16B
274 bool
275 depends on ACPI_NHLT
276 default n
277 help
278 Include DSP firmware settings for 4 channel 16B DMIC array.
279
Saurabh Satija734aa872016-06-21 14:22:16 -0700280config NHLT_MAX98357
281 bool
282 depends on ACPI_NHLT
283 default n
284 help
285 Include DSP firmware settings for headset codec.
286
287config NHLT_DA7219
288 bool
289 depends on ACPI_NHLT
290 default n
291 help
292 Include DSP firmware settings for headset codec.
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530293
Naveen Manohar532b8d52018-04-27 15:24:45 +0530294config NHLT_RT5682
295 bool
296 depends on ACPI_NHLT
297 default n
298 help
299 Include DSP firmware settings for headset codec.
300
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700301choice
302 prompt "Cache-as-ram implementation"
Hannah Williams3ff14a02017-05-05 16:30:22 -0700303 default CAR_CQOS if !SOC_INTEL_GLK
304 default CAR_NEM
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700305 help
306 This option allows you to select how cache-as-ram (CAR) is set up.
307
308config CAR_NEM
309 bool "Non-evict mode"
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530310 select SOC_INTEL_COMMON_BLOCK_CAR
311 select INTEL_CAR_NEM
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700312 help
313 Traditionally, CAR is set up by using Non-Evict mode. This method
314 does not allow CAR and cache to co-exist, because cache fills are
315 block in NEM mode.
316
317config CAR_CQOS
318 bool "Cache Quality of Service"
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530319 select SOC_INTEL_COMMON_BLOCK_CAR
320 select INTEL_CAR_CQOS
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700321 help
322 Cache Quality of Service allows more fine-grained control of cache
323 usage. As result, it is possible to set up portion of L2 cache for
324 CAR and use remainder for actual caching.
325
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530326config USE_APOLLOLAKE_FSP_CAR
327 bool "Use FSP CAR"
328 select FSP_CAR
329 help
Subrata Banik7952e282017-03-14 18:26:27 +0530330 Use FSP APIs to initialize & tear down the Cache-As-Ram.
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530331
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700332endchoice
Saurabh Satija734aa872016-06-21 14:22:16 -0700333
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530334#
335# Each bit in QOS mask controls this many bytes. This is calculated as:
336# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS
337#
338
339config CACHE_QOS_SIZE_PER_BIT
340 hex
341 default 0x20000 # 128 KB
342
343config L2_CACHE_SIZE
344 hex
Aaron Durbinfa529bb2018-04-12 14:00:45 -0600345 default 0x400000 if SOC_INTEL_GLK
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530346 default 0x100000
347
Aaron Durbinbdb6cc92016-08-11 09:48:52 -0500348config SPI_FLASH_INCLUDE_ALL_DRIVERS
349 bool
350 default n
351
Brandon Breitenstein135eae92016-09-30 13:57:12 -0700352config SMM_RESERVED_SIZE
353 hex
354 default 0x100000
355
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800356config IFD_CHIPSET
357 string
Furquan Shaikhc0257dd2018-05-02 23:29:04 -0700358 default "glk" if SOC_INTEL_GLK
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800359 default "aplk"
360
Aamir Bohra22b2c792017-06-02 19:07:56 +0530361config CPU_BCLK_MHZ
362 int
363 default 100
364
Mario Scheithauer38b61002017-07-25 10:52:41 +0200365config APL_SKIP_SET_POWER_LIMITS
366 bool
367 default n
368 help
369 Some Apollo Lake mainboards do not need the Running Average Power
370 Limits (RAPL) algorithm for a constant power management.
371 Set this config option to skip the RAPL configuration.
372
Werner Zeh26361862018-11-21 12:36:21 +0100373config APL_SET_MIN_CLOCK_RATIO
374 bool
375 depends on !APL_SKIP_SET_POWER_LIMITS
376 default n
377 help
378 If the power budget of the mainboard is limited, it can be useful to
379 limit the CPU power dissipation at the cost of performance by setting
380 the lowest possible CPU clock. Enable this option if you need smallest
381 possible CPU clock. This setting can be overruled by the OS if it has an
382 p-state driver which can adjust the clock to its need.
383
Furquan Shaikh3406dd62017-08-04 15:58:26 -0700384# M and N divisor values for clock frequency configuration.
385# These values get us a 1.836 MHz clock (ideally we want 1.843 MHz)
386config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
387 hex
388 default 0x25a
389
390config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
391 hex
392 default 0x7fff
393
Bora Guvendik94aed8d2017-11-03 12:40:25 -0700394config SOC_ESPI
395 bool
396 default n
397 help
398 Use eSPI bus instead of LPC
399
Ravi Sarawadi3669a062018-02-27 13:23:42 -0800400config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
401 int
402 default 3
403
Subrata Banikc4986eb2018-05-09 14:55:09 +0530404config SOC_INTEL_I2C_DEV_MAX
405 int
406 default 8
407
Aaron Durbin5c9df702018-04-18 01:05:25 -0600408# Don't include the early page tables in RW_A or RW_B cbfs regions
409config RO_REGION_ONLY
410 string
411 default "pdpt pt"
412
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700413endif