blob: 4f762a9cd092a3564761fbfbab5d1557fa37098c [file] [log] [blame]
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -07001config SOC_INTEL_APOLLOLAKE
2 bool
3 help
4 Intel Apollolake support
5
Angel Ponsb36100f2020-09-07 13:18:10 +02006config SOC_INTEL_GEMINILAKE
Hannah Williams3ff14a02017-05-05 16:30:22 -07007 bool
8 default n
9 select SOC_INTEL_APOLLOLAKE
Furquan Shaikh23e88132020-10-08 23:44:20 -070010 select SOC_INTEL_COMMON_BLOCK_CNVI
Pratik Prajapatidc194e22017-08-29 14:27:07 -070011 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
12 select SOC_INTEL_COMMON_BLOCK_SGX
Ravi Sarawadi3669a062018-02-27 13:23:42 -080013 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Aaron Durbin82d0f912018-04-21 00:16:28 -060014 select IDT_IN_EVERY_STAGE
Aaron Durbin5c9df702018-04-18 01:05:25 -060015 select PAGING_IN_CACHE_AS_RAM
Hannah Williams3ff14a02017-05-05 16:30:22 -070016 help
17 Intel GLK support
18
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070019if SOC_INTEL_APOLLOLAKE
20
21config CPU_SPECIFIC_OPTIONS
22 def_bool y
Aaron Durbined35b7c2016-07-13 23:17:38 -050023 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Nico Huber44c6cf62018-11-24 17:53:17 +010024 select ACPI_NO_PCAT_8259
Angel Ponsa32df262020-09-25 10:20:11 +020025 select ARCH_ALL_STAGES_X86_32
Aaron Durbine8e118d2016-08-12 15:00:10 -050026 select BOOT_DEVICE_SUPPORTS_WRITES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070027 # CPU specific options
Angel Ponsae0d8d62020-09-02 15:00:40 +020028 select CPU_INTEL_COMMON
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070029 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020030 select CPU_SUPPORTS_PM_TIMER_EMULATION
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070031 select IOAPIC
Subrata Banikccd87002017-03-08 17:55:26 +053032 select PCR_COMMON_IOSF_1_0
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070033 select SSE2
34 select SUPPORT_CPU_UCODE_IN_CBFS
Saurabh Satija734aa872016-06-21 14:22:16 -070035 # Audio options
36 select ACPI_NHLT
37 select SOC_INTEL_COMMON_NHLT
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070038 # Misc options
Aaron Durbin934f4332017-12-15 12:59:18 -070039 select CACHE_MRC_SETTINGS
Ravi Sarawadia3d13fbd62017-04-25 19:30:58 -070040 select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053041 select FSP_STATUS_GLOBAL_RESET_REQUIRED_5
Duncan Lauried25dd992016-06-29 10:47:48 -070042 select GENERIC_GPIO_LIB
Stefan Tauneref8b9572018-09-06 00:34:28 +020043 select INTEL_DESCRIPTOR_MODE_CAPABLE
Hannah Williamsd9c84ca2016-05-13 00:47:14 -070044 select HAVE_SMI_HANDLER
Angel Ponsb36100f2020-09-07 13:18:10 +020045 select HAVE_INTEL_FSP_REPO if !SOC_INTEL_GEMINILAKE
Furquan Shaikhffb3a2d2016-10-24 15:28:23 -070046 select MRC_SETTINGS_PROTECT
Aaron Durbin934f4332017-12-15 12:59:18 -070047 select MRC_SETTINGS_VARIABLE_DATA
Furquan Shaikh94b18a12016-05-04 23:25:16 -070048 select NO_XIP_EARLY_STAGES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070049 select PARALLEL_MP
Andrey Petrova697c192016-12-07 10:47:46 -080050 select PARALLEL_MP_AP_WORK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070051 select PCIEXP_ASPM
52 select PCIEXP_COMMON_CLOCK
53 select PCIEXP_CLK_PM
54 select PCIEXP_L1_SUB_STATE
Hannah Williams1177bf52017-12-13 12:44:26 -080055 select PMC_INVALID_READ_AFTER_WRITE
Julien Viard de Galbert2912e8e2018-08-14 16:15:26 +020056 select PMC_GLOBAL_RESET_ENABLE_LOCK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070057 select REG_SCRIPT
Subrata Banik208587e2017-05-19 18:38:24 +053058 select SA_ENABLE_IMR
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070059 select SOC_INTEL_COMMON
Shaunak Saha60b46182016-08-02 17:25:13 -070060 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikfc4c7d82017-03-03 18:23:59 +053061 select SOC_INTEL_COMMON_BLOCK
Sumeet R Pawnikar2adb50d2020-05-09 15:37:09 +053062 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
Shaunak Sahabd427802017-07-18 00:19:33 -070063 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banikc4986eb2018-05-09 14:55:09 +053064 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Barnali Sarkar66fe0c42017-05-23 18:17:14 +053065 select SOC_INTEL_COMMON_BLOCK_CPU
Lijian Zhao44e2abf2017-10-30 14:27:52 -070066 select SOC_INTEL_COMMON_BLOCK_DSP
Barnali Sarkare70142c2017-03-28 16:32:33 +053067 select SOC_INTEL_COMMON_BLOCK_FAST_SPI
Hannah Williams12bed182017-05-26 20:31:15 -070068 select SOC_INTEL_COMMON_BLOCK_GPIO
Furquan Shaikh2c368892018-10-18 16:22:37 -070069 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Aaron Durbinaa2504a2017-07-14 16:53:49 -060070 select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES
Hannah Williams12bed182017-05-26 20:31:15 -070071 select SOC_INTEL_COMMON_BLOCK_GPIO_ITSS_POL_CFG
72 select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY
Subrata Banikb7b56662017-11-28 17:54:15 +053073 select SOC_INTEL_COMMON_BLOCK_GRAPHICS
Bora Guvendik33117ec2017-04-10 15:49:02 -070074 select SOC_INTEL_COMMON_BLOCK_ITSS
Rizwan Qureshiae6a4b62017-04-26 21:06:35 +053075 select SOC_INTEL_COMMON_BLOCK_I2C
Ravi Sarawadiefa606b2017-08-04 16:26:09 -070076 select SOC_INTEL_COMMON_BLOCK_LPC
Aamir Bohra138b2a02017-04-06 20:21:58 +053077 select SOC_INTEL_COMMON_BLOCK_LPSS
Subrata Banikccd87002017-03-08 17:55:26 +053078 select SOC_INTEL_COMMON_BLOCK_PCR
Lijian Zhao8aba24d2017-10-26 12:16:53 -070079 select SOC_INTEL_COMMON_BLOCK_P2SB
Shaunak Saha93cdc8b2017-04-18 15:42:09 -070080 select SOC_INTEL_COMMON_BLOCK_PMC
Arthur Heymans1ae8cd12020-11-19 13:59:53 +010081 select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
V Sowmya45a21382017-11-27 12:39:10 +053082 select SOC_INTEL_COMMON_BLOCK_SRAM
Subrata Banik8bf69d32017-03-09 13:43:54 +053083 select SOC_INTEL_COMMON_BLOCK_RTC
Aamir Bohrabf6dfae2017-04-07 21:10:27 +053084 select SOC_INTEL_COMMON_BLOCK_SA
Bora Guvendik65623b72017-05-08 16:29:17 -070085 select SOC_INTEL_COMMON_BLOCK_SCS
Aamir Bohra4c9cf302017-05-25 14:38:37 +053086 select SOC_INTEL_COMMON_BLOCK_TIMER
Subrata Banik7bc4dc52018-05-17 18:40:32 +053087 select SOC_INTEL_COMMON_BLOCK_TCO
Aamir Bohrabf6dfae2017-04-07 21:10:27 +053088 select SOC_INTEL_COMMON_BLOCK_UART
Subrata Banik4aaa7e32017-04-24 11:54:34 +053089 select SOC_INTEL_COMMON_BLOCK_XDCI
Subrata Banik73b17972017-04-24 10:25:56 +053090 select SOC_INTEL_COMMON_BLOCK_XHCI
Karthikeyan Ramasubramanianf84c1032019-03-20 13:15:00 -060091 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
Brandon Breitensteina86d1b82017-06-08 17:32:02 -070092 select SOC_INTEL_COMMON_BLOCK_SMM
Subrata Banik15129b42017-11-07 17:50:48 +053093 select SOC_INTEL_COMMON_BLOCK_SPI
Marshall Dawson0cc28d72017-12-12 12:24:19 -070094 select SOC_INTEL_COMMON_BLOCK_CSE
Maxim Polyakov0c5dd9f2020-08-14 19:24:12 +030095 select SOC_INTEL_COMMON_BLOCK_SMBUS
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053096 select SOC_INTEL_COMMON_FSP_RESET
Maxim Polyakov0c5dd9f2020-08-14 19:24:12 +030097 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070098 select UDELAY_TSC
Hannah Williamsb13d4542016-03-14 17:38:51 -070099 select TSC_MONOTONIC_TIMER
Andrey Petrov0d187912016-02-25 18:39:38 -0800100 select PLATFORM_USES_FSP2_0
Angel Ponsb36100f2020-09-07 13:18:10 +0200101 select UDK_2015_BINDING if !SOC_INTEL_GEMINILAKE
102 select UDK_2017_BINDING if SOC_INTEL_GEMINILAKE
Patrick Rudolphf677d172018-10-01 19:17:11 +0200103 select SOC_INTEL_COMMON_RESET
Furquan Shaikhb13bd1e2020-09-21 22:44:27 +0000104 select HAVE_CF9_RESET_PREPARE
Nico Huber29cc3312018-06-06 17:40:02 +0200105 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
Nico Huber2e7f6cc2017-05-22 15:58:03 +0200106 select HAVE_FSP_GOP
Wim Vervoornd1371502019-12-17 14:10:16 +0100107 select HAVE_FSP_LOGO_SUPPORT
Ravi Sarawadi92b487d2017-11-29 16:11:32 -0800108 select NO_UART_ON_SUPERIO
Patrick Rudolphc7edf182017-09-26 19:34:35 +0200109 select INTEL_GMA_ACPI
110 select INTEL_GMA_SWSMISCI
Harshit Sharma7fe5ea42020-08-03 23:25:36 -0700111 select HAVE_ASAN_IN_ROMSTAGE
Zhao, Lijiand8d42c22016-03-14 14:19:22 -0700112
Angel Ponsf4779e82020-09-07 13:40:47 +0200113config MAX_CPUS
114 int
Angel Ponsc6c9b9c2020-09-07 13:45:53 +0200115 default 4
Angel Ponsf4779e82020-09-07 13:40:47 +0200116
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700117config CHROMEOS
118 select CHROMEOS_RAMOOPS_DYNAMIC
Julius Werner58c39382017-02-13 17:53:29 -0800119
120config VBOOT
121 select VBOOT_SEPARATE_VERSTAGE
Joel Kitching6672bd82019-04-10 16:06:21 +0800122 select VBOOT_MUST_REQUEST_DISPLAY
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700123 select VBOOT_STARTS_IN_BOOTBLOCK
Furquan Shaikh2a12e2e2016-07-25 11:48:03 -0700124 select VBOOT_VBNV_CMOS
125 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700126
Aaron Durbin80a3df22016-04-27 23:05:52 -0500127config TPM_ON_FAST_SPI
128 bool
129 default n
Philipp Deppenwiesec07f8fb2018-02-27 19:40:52 +0100130 depends on MAINBOARD_HAS_LPC_TPM
Aaron Durbin80a3df22016-04-27 23:05:52 -0500131 help
132 TPM part is conntected on Fast SPI interface, but the LPC MMIO
133 TPM transactions are decoded and serialized over the SPI interface.
134
Subrata Banikccd87002017-03-08 17:55:26 +0530135config PCR_BASE_ADDRESS
136 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700137 default 0xd0000000
Subrata Banikccd87002017-03-08 17:55:26 +0530138 help
139 This option allows you to select MMIO Base Address of sideband bus.
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700140
141config DCACHE_RAM_BASE
Arthur Heymans3038b482017-06-13 14:05:09 +0200142 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700143 default 0xfef00000
144
145config DCACHE_RAM_SIZE
Arthur Heymans3038b482017-06-13 14:05:09 +0200146 hex
Angel Ponsb36100f2020-09-07 13:18:10 +0200147 default 0x100000 if SOC_INTEL_GEMINILAKE
Andrey Petrov0dde2912016-06-27 15:21:26 -0700148 default 0xc0000
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700149 help
150 The size of the cache-as-ram region required during bootblock
151 and/or romstage.
152
153config DCACHE_BSP_STACK_SIZE
154 hex
155 default 0x4000
156 help
157 The amount of anticipated stack usage in CAR by bootblock and
158 other stages.
159
Aaron Durbin551e4be2018-04-10 09:24:54 -0600160config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
Duncan Laurieff8bce02016-06-27 10:57:13 -0700161 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600162 default 100
Duncan Laurieff8bce02016-06-27 10:57:13 -0700163
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200164config CPU_XTAL_HZ
165 default 19200000
166
Chris Chingb8dc63b2017-12-06 14:26:15 -0700167config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
168 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600169 default 133
Chris Chingb8dc63b2017-12-06 14:26:15 -0700170
Aaron Durbinada13ed2016-02-11 14:47:33 -0600171# 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB.
172config C_ENV_BOOTBLOCK_SIZE
173 hex
174 default 0x8000
175
Andrey Petrov5672dcd2016-02-12 15:12:43 -0800176# This SoC does not map SPI flash like many previous SoC. Therefore we provide
177# a custom media driver that facilitates mapping
178config X86_TOP4G_BOOTMEDIA_MAP
179 bool
180 default n
Andrey Petrovb4831462016-02-25 17:42:25 -0800181
182config ROMSTAGE_ADDR
183 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700184 default 0xfef20000
Andrey Petrovb4831462016-02-25 17:42:25 -0800185 help
186 The base address (in CAR) where romstage should be linked
187
Aaron Durbinbef75e72016-05-26 11:00:44 -0500188config VERSTAGE_ADDR
189 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700190 default 0xfef40000
Aaron Durbinbef75e72016-05-26 11:00:44 -0500191 help
192 The base address (in CAR) where verstage should be linked
193
Patrick Georgi6539e102018-09-13 11:48:43 -0400194config FSP_HEADER_PATH
Angel Ponsb36100f2020-09-07 13:18:10 +0200195 default "src/vendorcode/intel/fsp/fsp2_0/glk" if SOC_INTEL_GEMINILAKE
Patrick Georgi6539e102018-09-13 11:48:43 -0400196 default "3rdparty/fsp/ApolloLakeFspBinPkg/Include/"
197
198config FSP_FD_PATH
Patrick Georgi6539e102018-09-13 11:48:43 -0400199 default "3rdparty/fsp/ApolloLakeFspBinPkg/FspBin/Fsp.fd"
200
Andrey Petrov79091db72016-05-17 00:03:27 -0700201config FSP_M_ADDR
202 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700203 default 0xfef40000
Andrey Petrov79091db72016-05-17 00:03:27 -0700204 help
205 The address FSP-M will be relocated to during build time
206
Aaron Durbin9f444c32016-05-20 10:48:44 -0500207config NEED_LBP2
208 bool "Write contents for logical boot partition 2."
209 default n
210 help
211 Write the contents from a file into the logical boot partition 2
212 region defined by LBP2_FMAP_NAME.
213
214config LBP2_FMAP_NAME
215 string "Name of FMAP region to put logical boot partition 2"
216 depends on NEED_LBP2
217 default "SIGN_CSE"
218 help
219 Name of FMAP region to write logical boot partition 2 data.
220
Jeremy Compostella0f9858f2019-12-12 14:39:11 -0700221config LBP2_FROM_IFWI
222 bool "Extract the LBP2 from the IFWI binary"
223 depends on NEED_LBP2
224 default n
225 help
226 The Logical Boot Partition will be automatically extracted
227 from the supplied IFWI binary
228
Aaron Durbin9f444c32016-05-20 10:48:44 -0500229config LBP2_FILE_NAME
230 string "Path of file to write to logical boot partition 2 region"
Jeremy Compostella0f9858f2019-12-12 14:39:11 -0700231 depends on NEED_LBP2 && !LBP2_FROM_IFWI
Patrick Georgib8fba862020-06-17 21:06:53 +0200232 default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/lbp2.bin"
Aaron Durbin9f444c32016-05-20 10:48:44 -0500233 help
234 Name of file to store in the logical boot partition 2 region.
235
Furquan Shaikh7043bf32016-05-28 12:57:05 -0700236config NEED_IFWI
237 bool "Write content into IFWI region"
238 default n
239 help
240 Write the content from a file into IFWI region defined by
241 IFWI_FMAP_NAME.
242
243config IFWI_FMAP_NAME
244 string "Name of FMAP region to pull IFWI into"
245 depends on NEED_IFWI
246 default "IFWI"
247 help
248 Name of FMAP region to write IFWI.
249
250config IFWI_FILE_NAME
251 string "Path of file to write to IFWI region"
252 depends on NEED_IFWI
Patrick Georgib8fba862020-06-17 21:06:53 +0200253 default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/ifwi.bin"
Furquan Shaikh7043bf32016-05-28 12:57:05 -0700254 help
255 Name of file to store in the IFWI region.
256
Sathyanarayana Nujellac4467042016-10-26 17:38:49 -0700257config HEAP_SIZE
258 hex
259 default 0x8000
260
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700261config NHLT_DMIC_1CH_16B
262 bool
263 depends on ACPI_NHLT
264 default n
265 help
266 Include DSP firmware settings for 1 channel 16B DMIC array.
267
Saurabh Satija734aa872016-06-21 14:22:16 -0700268config NHLT_DMIC_2CH_16B
269 bool
270 depends on ACPI_NHLT
271 default n
272 help
273 Include DSP firmware settings for 2 channel 16B DMIC array.
274
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700275config NHLT_DMIC_4CH_16B
276 bool
277 depends on ACPI_NHLT
278 default n
279 help
280 Include DSP firmware settings for 4 channel 16B DMIC array.
281
Saurabh Satija734aa872016-06-21 14:22:16 -0700282config NHLT_MAX98357
283 bool
284 depends on ACPI_NHLT
285 default n
286 help
287 Include DSP firmware settings for headset codec.
288
289config NHLT_DA7219
290 bool
291 depends on ACPI_NHLT
292 default n
293 help
294 Include DSP firmware settings for headset codec.
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530295
Naveen Manohar532b8d52018-04-27 15:24:45 +0530296config NHLT_RT5682
297 bool
298 depends on ACPI_NHLT
299 default n
300 help
301 Include DSP firmware settings for headset codec.
302
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700303choice
304 prompt "Cache-as-ram implementation"
Angel Ponsb36100f2020-09-07 13:18:10 +0200305 default CAR_CQOS if !SOC_INTEL_GEMINILAKE
Hannah Williams3ff14a02017-05-05 16:30:22 -0700306 default CAR_NEM
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700307 help
308 This option allows you to select how cache-as-ram (CAR) is set up.
309
310config CAR_NEM
311 bool "Non-evict mode"
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530312 select SOC_INTEL_COMMON_BLOCK_CAR
313 select INTEL_CAR_NEM
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700314 help
315 Traditionally, CAR is set up by using Non-Evict mode. This method
316 does not allow CAR and cache to co-exist, because cache fills are
317 block in NEM mode.
318
319config CAR_CQOS
320 bool "Cache Quality of Service"
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530321 select SOC_INTEL_COMMON_BLOCK_CAR
322 select INTEL_CAR_CQOS
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700323 help
324 Cache Quality of Service allows more fine-grained control of cache
325 usage. As result, it is possible to set up portion of L2 cache for
326 CAR and use remainder for actual caching.
327
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530328config USE_APOLLOLAKE_FSP_CAR
329 bool "Use FSP CAR"
330 select FSP_CAR
331 help
Subrata Banik7952e282017-03-14 18:26:27 +0530332 Use FSP APIs to initialize & tear down the Cache-As-Ram.
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530333
Andrey Petrov3f4aece2016-06-27 13:39:34 -0700334endchoice
Saurabh Satija734aa872016-06-21 14:22:16 -0700335
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530336#
337# Each bit in QOS mask controls this many bytes. This is calculated as:
338# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS
339#
340
341config CACHE_QOS_SIZE_PER_BIT
342 hex
343 default 0x20000 # 128 KB
344
345config L2_CACHE_SIZE
346 hex
Angel Ponsb36100f2020-09-07 13:18:10 +0200347 default 0x400000 if SOC_INTEL_GEMINILAKE
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530348 default 0x100000
349
Brandon Breitenstein135eae92016-09-30 13:57:12 -0700350config SMM_RESERVED_SIZE
351 hex
352 default 0x100000
353
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800354config IFD_CHIPSET
355 string
Angel Ponsb36100f2020-09-07 13:18:10 +0200356 default "glk" if SOC_INTEL_GEMINILAKE
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800357 default "aplk"
358
Aamir Bohra22b2c792017-06-02 19:07:56 +0530359config CPU_BCLK_MHZ
360 int
361 default 100
362
Nico Huber99954182019-05-29 23:33:06 +0200363config CONSOLE_UART_BASE_ADDRESS
364 hex
365 default 0xddffc000
366 depends on INTEL_LPSS_UART_FOR_CONSOLE
367
Mario Scheithauer38b61002017-07-25 10:52:41 +0200368config APL_SKIP_SET_POWER_LIMITS
369 bool
370 default n
371 help
372 Some Apollo Lake mainboards do not need the Running Average Power
373 Limits (RAPL) algorithm for a constant power management.
374 Set this config option to skip the RAPL configuration.
375
Werner Zeh26361862018-11-21 12:36:21 +0100376config APL_SET_MIN_CLOCK_RATIO
377 bool
378 depends on !APL_SKIP_SET_POWER_LIMITS
379 default n
380 help
381 If the power budget of the mainboard is limited, it can be useful to
382 limit the CPU power dissipation at the cost of performance by setting
383 the lowest possible CPU clock. Enable this option if you need smallest
384 possible CPU clock. This setting can be overruled by the OS if it has an
385 p-state driver which can adjust the clock to its need.
386
Furquan Shaikh3406dd62017-08-04 15:58:26 -0700387# M and N divisor values for clock frequency configuration.
388# These values get us a 1.836 MHz clock (ideally we want 1.843 MHz)
389config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
390 hex
391 default 0x25a
392
393config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
394 hex
395 default 0x7fff
396
Bora Guvendik94aed8d2017-11-03 12:40:25 -0700397config SOC_ESPI
398 bool
399 default n
400 help
401 Use eSPI bus instead of LPC
402
Ravi Sarawadi3669a062018-02-27 13:23:42 -0800403config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
404 int
405 default 3
406
Subrata Banikc4986eb2018-05-09 14:55:09 +0530407config SOC_INTEL_I2C_DEV_MAX
408 int
409 default 8
410
Aaron Durbin5c9df702018-04-18 01:05:25 -0600411# Don't include the early page tables in RW_A or RW_B cbfs regions
412config RO_REGION_ONLY
413 string
414 default "pdpt pt"
415
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700416endif