blob: c63f4fda0d871dc688be82dde147e96b5dc7c6c6 [file] [log] [blame]
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -07001config SOC_INTEL_APOLLOLAKE
2 bool
Arthur Heymans5e8c9062021-06-15 11:19:52 +02003 select INTEL_CAR_CQOS
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -07004 help
5 Intel Apollolake support
6
Angel Ponsb36100f2020-09-07 13:18:10 +02007config SOC_INTEL_GEMINILAKE
Hannah Williams3ff14a02017-05-05 16:30:22 -07008 bool
9 default n
10 select SOC_INTEL_APOLLOLAKE
Furquan Shaikh23e88132020-10-08 23:44:20 -070011 select SOC_INTEL_COMMON_BLOCK_CNVI
Pratik Prajapatidc194e22017-08-29 14:27:07 -070012 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
13 select SOC_INTEL_COMMON_BLOCK_SGX
Ravi Sarawadi3669a062018-02-27 13:23:42 -080014 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Aaron Durbin82d0f912018-04-21 00:16:28 -060015 select IDT_IN_EVERY_STAGE
Aaron Durbin5c9df702018-04-18 01:05:25 -060016 select PAGING_IN_CACHE_AS_RAM
Arthur Heymans5e8c9062021-06-15 11:19:52 +020017 select INTEL_CAR_NEM
Hannah Williams3ff14a02017-05-05 16:30:22 -070018 help
19 Intel GLK support
20
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070021if SOC_INTEL_APOLLOLAKE
22
23config CPU_SPECIFIC_OPTIONS
24 def_bool y
Aaron Durbined35b7c2016-07-13 23:17:38 -050025 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Nico Huber44c6cf62018-11-24 17:53:17 +010026 select ACPI_NO_PCAT_8259
Angel Pons8e035e32021-06-22 12:58:20 +020027 select ARCH_X86
Aaron Durbine8e118d2016-08-12 15:00:10 -050028 select BOOT_DEVICE_SUPPORTS_WRITES
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070029 # CPU specific options
Angel Ponsae0d8d62020-09-02 15:00:40 +020030 select CPU_INTEL_COMMON
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020031 select CPU_SUPPORTS_PM_TIMER_EMULATION
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
Werner Zehb60e69b2022-05-17 10:19:19 +020040 select FAST_SPI_GENERATE_SSDT
Ravi Sarawadia3d13fbd62017-04-25 19:30:58 -070041 select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053042 select FSP_STATUS_GLOBAL_RESET_REQUIRED_5
Duncan Lauried25dd992016-06-29 10:47:48 -070043 select GENERIC_GPIO_LIB
Subrata Banik34f26b22022-02-10 12:38:02 +053044 select HAVE_ASAN_IN_ROMSTAGE
45 select HAVE_CF9_RESET_PREPARE
46 select HAVE_FSP_GOP
47 select HAVE_FSP_LOGO_SUPPORT
Angel Ponsb36100f2020-09-07 13:18:10 +020048 select HAVE_INTEL_FSP_REPO if !SOC_INTEL_GEMINILAKE
Subrata Banik34f26b22022-02-10 12:38:02 +053049 select HAVE_SMI_HANDLER
50 select INTEL_DESCRIPTOR_MODE_CAPABLE
51 select INTEL_GMA_ACPI
52 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
53 select INTEL_GMA_SWSMISCI
Furquan Shaikhffb3a2d2016-10-24 15:28:23 -070054 select MRC_SETTINGS_PROTECT
Aaron Durbin934f4332017-12-15 12:59:18 -070055 select MRC_SETTINGS_VARIABLE_DATA
Michael Niewöhnerc9a12f22021-09-24 23:22:51 +020056 select NO_PM_ACPI_TIMER
Subrata Banik34f26b22022-02-10 12:38:02 +053057 select NO_UART_ON_SUPERIO
58 select NO_XIP_EARLY_STAGES
Andrey Petrova697c192016-12-07 10:47:46 -080059 select PARALLEL_MP_AP_WORK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070060 select PCIEXP_ASPM
61 select PCIEXP_COMMON_CLOCK
62 select PCIEXP_CLK_PM
63 select PCIEXP_L1_SUB_STATE
Subrata Banik34f26b22022-02-10 12:38:02 +053064 select PLATFORM_USES_FSP2_0
Hannah Williams1177bf52017-12-13 12:44:26 -080065 select PMC_INVALID_READ_AFTER_WRITE
Julien Viard de Galbert2912e8e2018-08-14 16:15:26 +020066 select PMC_GLOBAL_RESET_ENABLE_LOCK
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070067 select REG_SCRIPT
Subrata Banik208587e2017-05-19 18:38:24 +053068 select SA_ENABLE_IMR
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -070069 select SOC_INTEL_COMMON
Shaunak Saha60b46182016-08-02 17:25:13 -070070 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikfc4c7d82017-03-03 18:23:59 +053071 select SOC_INTEL_COMMON_BLOCK
Sumeet R Pawnikar2adb50d2020-05-09 15:37:09 +053072 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
Shaunak Sahabd427802017-07-18 00:19:33 -070073 select SOC_INTEL_COMMON_BLOCK_ACPI
Arthur Heymans5e8c9062021-06-15 11:19:52 +020074 select SOC_INTEL_COMMON_BLOCK_CAR
Subrata Banikc4986eb2018-05-09 14:55:09 +053075 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Barnali Sarkar66fe0c42017-05-23 18:17:14 +053076 select SOC_INTEL_COMMON_BLOCK_CPU
Lijian Zhao44e2abf2017-10-30 14:27:52 -070077 select SOC_INTEL_COMMON_BLOCK_DSP
Barnali Sarkare70142c2017-03-28 16:32:33 +053078 select SOC_INTEL_COMMON_BLOCK_FAST_SPI
Hannah Williams12bed182017-05-26 20:31:15 -070079 select SOC_INTEL_COMMON_BLOCK_GPIO
Furquan Shaikh2c368892018-10-18 16:22:37 -070080 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Aaron Durbinaa2504a2017-07-14 16:53:49 -060081 select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES
Hannah Williams12bed182017-05-26 20:31:15 -070082 select SOC_INTEL_COMMON_BLOCK_GPIO_ITSS_POL_CFG
83 select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY
Subrata Banikb7b56662017-11-28 17:54:15 +053084 select SOC_INTEL_COMMON_BLOCK_GRAPHICS
Subrata Banikc176fc22022-04-25 16:59:35 +053085 select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PCR
Bora Guvendik33117ec2017-04-10 15:49:02 -070086 select SOC_INTEL_COMMON_BLOCK_ITSS
Rizwan Qureshiae6a4b62017-04-26 21:06:35 +053087 select SOC_INTEL_COMMON_BLOCK_I2C
Ravi Sarawadiefa606b2017-08-04 16:26:09 -070088 select SOC_INTEL_COMMON_BLOCK_LPC
Aamir Bohra138b2a02017-04-06 20:21:58 +053089 select SOC_INTEL_COMMON_BLOCK_LPSS
Subrata Banikccd87002017-03-08 17:55:26 +053090 select SOC_INTEL_COMMON_BLOCK_PCR
Lijian Zhao8aba24d2017-10-26 12:16:53 -070091 select SOC_INTEL_COMMON_BLOCK_P2SB
Shaunak Saha93cdc8b2017-04-18 15:42:09 -070092 select SOC_INTEL_COMMON_BLOCK_PMC
Arthur Heymans1ae8cd12020-11-19 13:59:53 +010093 select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
V Sowmya45a21382017-11-27 12:39:10 +053094 select SOC_INTEL_COMMON_BLOCK_SRAM
Subrata Banik8bf69d32017-03-09 13:43:54 +053095 select SOC_INTEL_COMMON_BLOCK_RTC
Aamir Bohrabf6dfae2017-04-07 21:10:27 +053096 select SOC_INTEL_COMMON_BLOCK_SA
Bora Guvendik65623b72017-05-08 16:29:17 -070097 select SOC_INTEL_COMMON_BLOCK_SCS
Aamir Bohra4c9cf302017-05-25 14:38:37 +053098 select SOC_INTEL_COMMON_BLOCK_TIMER
Subrata Banik7bc4dc52018-05-17 18:40:32 +053099 select SOC_INTEL_COMMON_BLOCK_TCO
Aamir Bohrabf6dfae2017-04-07 21:10:27 +0530100 select SOC_INTEL_COMMON_BLOCK_UART
Subrata Banik4aaa7e32017-04-24 11:54:34 +0530101 select SOC_INTEL_COMMON_BLOCK_XDCI
Subrata Banik73b17972017-04-24 10:25:56 +0530102 select SOC_INTEL_COMMON_BLOCK_XHCI
Karthikeyan Ramasubramanianf84c1032019-03-20 13:15:00 -0600103 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
Brandon Breitensteina86d1b82017-06-08 17:32:02 -0700104 select SOC_INTEL_COMMON_BLOCK_SMM
Subrata Banik15129b42017-11-07 17:50:48 +0530105 select SOC_INTEL_COMMON_BLOCK_SPI
Marshall Dawson0cc28d72017-12-12 12:24:19 -0700106 select SOC_INTEL_COMMON_BLOCK_CSE
Maxim Polyakov0c5dd9f2020-08-14 19:24:12 +0300107 select SOC_INTEL_COMMON_BLOCK_SMBUS
Subrata Banik4ed9f9a2020-10-31 22:01:55 +0530108 select SOC_INTEL_COMMON_FSP_RESET
Subrata Banik34f26b22022-02-10 12:38:02 +0530109 select SOC_INTEL_COMMON_RESET
Subrata Banikaf27ac22022-02-18 00:44:15 +0530110 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
Arthur Heymans6da7fa22021-06-23 10:52:01 +0200111 select SOC_INTEL_NO_BOOTGUARD_MSR
Maxim Polyakov0c5dd9f2020-08-14 19:24:12 +0300112 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Hannah Williamsb13d4542016-03-14 17:38:51 -0700113 select TSC_MONOTONIC_TIMER
Subrata Banik34f26b22022-02-10 12:38:02 +0530114 select UDELAY_TSC
Patrick Rudolph05ca0542022-03-22 08:33:40 +0100115 select UDK_2017_BINDING
Subrata Banik34f26b22022-02-10 12:38:02 +0530116 select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM
117 select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
118 select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
Raul E Rangele92a9822021-06-24 16:54:27 -0600119 # This SoC does not map SPI flash like many previous SoC. Therefore we
120 # provide a custom media driver that facilitates mapping
121 select X86_CUSTOM_BOOTMEDIA
Zhao, Lijiand8d42c22016-03-14 14:19:22 -0700122
Sean Rhodesfafcb742022-01-20 21:28:31 +0000123config SKIP_CSE_RBP
124 bool
125 default y if BOOT_DEVICE_MEMORY_MAPPED
126 help
127 Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch
128 firmware for us if we are using memory-mapped SPI. This lets CSE
129 state machine transition to next boot state, so that it can function
130 as designed.
131
Subrata Banik206b0bc2022-01-06 09:34:43 +0000132config DISABLE_HECI1_AT_PRE_BOOT
133 default y
134
Subrata Banik526cc3e2022-01-31 21:55:51 +0530135config MAX_HECI_DEVICES
136 int
Sean Rhodes843f34e2022-06-01 11:30:31 +0100137 default 3
Subrata Banik526cc3e2022-01-31 21:55:51 +0530138
Angel Ponsf4779e82020-09-07 13:40:47 +0200139config MAX_CPUS
140 int
Angel Ponsc6c9b9c2020-09-07 13:45:53 +0200141 default 4
Angel Ponsf4779e82020-09-07 13:40:47 +0200142
Julius Werner58c39382017-02-13 17:53:29 -0800143config VBOOT
144 select VBOOT_SEPARATE_VERSTAGE
Joel Kitching6672bd82019-04-10 16:06:21 +0800145 select VBOOT_MUST_REQUEST_DISPLAY
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700146 select VBOOT_STARTS_IN_BOOTBLOCK
Sean Rhodesd86860b2022-07-18 10:45:06 +0100147 select VBOOT_VBNV_CMOS if !VBOOT_VBNV_FLASH
148 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH if !VBOOT_VBNV_FLASH
Furquan Shaikh87b1bcc2016-07-22 12:57:51 -0700149
Aaron Durbin80a3df22016-04-27 23:05:52 -0500150config TPM_ON_FAST_SPI
151 bool
152 default n
Jes B. Klinkec6b041a12022-04-19 14:00:33 -0700153 depends on MEMORY_MAPPED_TPM
Aaron Durbin80a3df22016-04-27 23:05:52 -0500154 help
Jes B. Klinkec6b041a12022-04-19 14:00:33 -0700155 TPM part is conntected on Fast SPI interface and is mapped to the
156 linear address space.
Aaron Durbin80a3df22016-04-27 23:05:52 -0500157
Subrata Banikccd87002017-03-08 17:55:26 +0530158config PCR_BASE_ADDRESS
159 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700160 default 0xd0000000
Subrata Banikccd87002017-03-08 17:55:26 +0530161 help
162 This option allows you to select MMIO Base Address of sideband bus.
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700163
164config DCACHE_RAM_BASE
Arthur Heymans3038b482017-06-13 14:05:09 +0200165 hex
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700166 default 0xfef00000
167
168config DCACHE_RAM_SIZE
Arthur Heymans3038b482017-06-13 14:05:09 +0200169 hex
Angel Ponsb36100f2020-09-07 13:18:10 +0200170 default 0x100000 if SOC_INTEL_GEMINILAKE
Andrey Petrov0dde2912016-06-27 15:21:26 -0700171 default 0xc0000
Alexandru Gagniucdfc2b312015-10-06 17:16:41 -0700172 help
173 The size of the cache-as-ram region required during bootblock
174 and/or romstage.
175
176config DCACHE_BSP_STACK_SIZE
177 hex
178 default 0x4000
179 help
180 The amount of anticipated stack usage in CAR by bootblock and
181 other stages.
182
Aaron Durbin551e4be2018-04-10 09:24:54 -0600183config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
Duncan Laurieff8bce02016-06-27 10:57:13 -0700184 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600185 default 100
Duncan Laurieff8bce02016-06-27 10:57:13 -0700186
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200187config CPU_XTAL_HZ
188 default 19200000
189
Chris Chingb8dc63b2017-12-06 14:26:15 -0700190config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
191 int
Aaron Durbin24de5972018-04-10 09:28:42 -0600192 default 133
Chris Chingb8dc63b2017-12-06 14:26:15 -0700193
Aaron Durbinada13ed2016-02-11 14:47:33 -0600194# 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB.
195config C_ENV_BOOTBLOCK_SIZE
196 hex
197 default 0x8000
198
Andrey Petrovb4831462016-02-25 17:42:25 -0800199config ROMSTAGE_ADDR
200 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700201 default 0xfef20000
Andrey Petrovb4831462016-02-25 17:42:25 -0800202 help
203 The base address (in CAR) where romstage should be linked
204
Aaron Durbinbef75e72016-05-26 11:00:44 -0500205config VERSTAGE_ADDR
206 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700207 default 0xfef40000
Aaron Durbinbef75e72016-05-26 11:00:44 -0500208 help
209 The base address (in CAR) where verstage should be linked
210
Patrick Georgi6539e102018-09-13 11:48:43 -0400211config FSP_HEADER_PATH
Sean Rhodes412222a2022-05-19 22:02:48 +0100212 default "src/vendorcode/intel/fsp/fsp2_0/glk/2.2.0.0" if VENDOR_GOOGLE && SOC_INTEL_GEMINILAKE
213 default "src/vendorcode/intel/fsp/fsp2_0/glk/2.2.3.1" if SOC_INTEL_GEMINILAKE
Patrick Georgi6539e102018-09-13 11:48:43 -0400214 default "3rdparty/fsp/ApolloLakeFspBinPkg/Include/"
215
216config FSP_FD_PATH
Patrick Georgi6539e102018-09-13 11:48:43 -0400217 default "3rdparty/fsp/ApolloLakeFspBinPkg/FspBin/Fsp.fd"
218
Andrey Petrov79091db72016-05-17 00:03:27 -0700219config FSP_M_ADDR
220 hex
Andrey Petrov7f72c9b2016-06-24 18:15:09 -0700221 default 0xfef40000
Andrey Petrov79091db72016-05-17 00:03:27 -0700222 help
223 The address FSP-M will be relocated to during build time
224
Aaron Durbin9f444c32016-05-20 10:48:44 -0500225config NEED_LBP2
226 bool "Write contents for logical boot partition 2."
227 default n
228 help
229 Write the contents from a file into the logical boot partition 2
230 region defined by LBP2_FMAP_NAME.
231
232config LBP2_FMAP_NAME
233 string "Name of FMAP region to put logical boot partition 2"
234 depends on NEED_LBP2
235 default "SIGN_CSE"
236 help
237 Name of FMAP region to write logical boot partition 2 data.
238
Jeremy Compostella0f9858f2019-12-12 14:39:11 -0700239config LBP2_FROM_IFWI
240 bool "Extract the LBP2 from the IFWI binary"
241 depends on NEED_LBP2
242 default n
243 help
244 The Logical Boot Partition will be automatically extracted
245 from the supplied IFWI binary
246
Aaron Durbin9f444c32016-05-20 10:48:44 -0500247config LBP2_FILE_NAME
248 string "Path of file to write to logical boot partition 2 region"
Jeremy Compostella0f9858f2019-12-12 14:39:11 -0700249 depends on NEED_LBP2 && !LBP2_FROM_IFWI
Patrick Georgib8fba862020-06-17 21:06:53 +0200250 default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/lbp2.bin"
Aaron Durbin9f444c32016-05-20 10:48:44 -0500251 help
252 Name of file to store in the logical boot partition 2 region.
253
Furquan Shaikh7043bf32016-05-28 12:57:05 -0700254config NEED_IFWI
255 bool "Write content into IFWI region"
256 default n
257 help
258 Write the content from a file into IFWI region defined by
259 IFWI_FMAP_NAME.
260
261config IFWI_FMAP_NAME
262 string "Name of FMAP region to pull IFWI into"
263 depends on NEED_IFWI
264 default "IFWI"
265 help
266 Name of FMAP region to write IFWI.
267
268config IFWI_FILE_NAME
269 string "Path of file to write to IFWI region"
270 depends on NEED_IFWI
Patrick Georgib8fba862020-06-17 21:06:53 +0200271 default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/ifwi.bin"
Furquan Shaikh7043bf32016-05-28 12:57:05 -0700272 help
273 Name of file to store in the IFWI region.
274
Sathyanarayana Nujellac4467042016-10-26 17:38:49 -0700275config HEAP_SIZE
276 hex
277 default 0x8000
278
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700279config NHLT_DMIC_1CH_16B
280 bool
281 depends on ACPI_NHLT
282 default n
283 help
284 Include DSP firmware settings for 1 channel 16B DMIC array.
285
Saurabh Satija734aa872016-06-21 14:22:16 -0700286config NHLT_DMIC_2CH_16B
287 bool
288 depends on ACPI_NHLT
289 default n
290 help
291 Include DSP firmware settings for 2 channel 16B DMIC array.
292
Sathyanarayana Nujella3e0a3fb2016-10-26 17:31:36 -0700293config NHLT_DMIC_4CH_16B
294 bool
295 depends on ACPI_NHLT
296 default n
297 help
298 Include DSP firmware settings for 4 channel 16B DMIC array.
299
Saurabh Satija734aa872016-06-21 14:22:16 -0700300config NHLT_MAX98357
301 bool
302 depends on ACPI_NHLT
303 default n
304 help
305 Include DSP firmware settings for headset codec.
306
307config NHLT_DA7219
308 bool
309 depends on ACPI_NHLT
310 default n
311 help
312 Include DSP firmware settings for headset codec.
Subrata Banikfc4c7d82017-03-03 18:23:59 +0530313
Naveen Manohar532b8d52018-04-27 15:24:45 +0530314config NHLT_RT5682
315 bool
316 depends on ACPI_NHLT
317 default n
318 help
319 Include DSP firmware settings for headset codec.
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530320#
321# Each bit in QOS mask controls this many bytes. This is calculated as:
322# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS
323#
324
325config CACHE_QOS_SIZE_PER_BIT
326 hex
327 default 0x20000 # 128 KB
328
329config L2_CACHE_SIZE
330 hex
Angel Ponsb36100f2020-09-07 13:18:10 +0200331 default 0x400000 if SOC_INTEL_GEMINILAKE
Subrata Banik8e1c12f12017-03-10 13:51:11 +0530332 default 0x100000
333
Brandon Breitenstein135eae92016-09-30 13:57:12 -0700334config SMM_RESERVED_SIZE
335 hex
336 default 0x100000
337
Sean Rhodesdd582b02022-06-27 08:47:10 +0100338config CHIPSET_DEVICETREE
339 string
340 default "soc/intel/apollolake/chipset_glk.cb" if SOC_INTEL_GEMINILAKE
341 default "soc/intel/apollolake/chipset_apl.cb"
342
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800343config IFD_CHIPSET
344 string
Angel Ponsb36100f2020-09-07 13:18:10 +0200345 default "glk" if SOC_INTEL_GEMINILAKE
Andrey Petrov4c5b31e2016-11-06 23:43:57 -0800346 default "aplk"
347
Aamir Bohra22b2c792017-06-02 19:07:56 +0530348config CPU_BCLK_MHZ
349 int
350 default 100
351
Nico Huber99954182019-05-29 23:33:06 +0200352config CONSOLE_UART_BASE_ADDRESS
353 hex
354 default 0xddffc000
355 depends on INTEL_LPSS_UART_FOR_CONSOLE
356
Furquan Shaikh3406dd62017-08-04 15:58:26 -0700357# M and N divisor values for clock frequency configuration.
358# These values get us a 1.836 MHz clock (ideally we want 1.843 MHz)
359config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
360 hex
361 default 0x25a
362
363config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
364 hex
365 default 0x7fff
366
Bora Guvendik94aed8d2017-11-03 12:40:25 -0700367config SOC_ESPI
368 bool
369 default n
370 help
371 Use eSPI bus instead of LPC
372
Ravi Sarawadi3669a062018-02-27 13:23:42 -0800373config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
374 int
375 default 3
376
Subrata Banikc4986eb2018-05-09 14:55:09 +0530377config SOC_INTEL_I2C_DEV_MAX
378 int
379 default 8
380
Aaron Durbin5c9df702018-04-18 01:05:25 -0600381# Don't include the early page tables in RW_A or RW_B cbfs regions
382config RO_REGION_ONLY
383 string
384 default "pdpt pt"
385
Matt DeVillierd7ef4502020-04-21 01:23:10 -0500386config INTEL_GMA_PANEL_2
387 bool
388 default n
389
390config INTEL_GMA_BCLV_OFFSET
391 default 0xc8358 if INTEL_GMA_PANEL_2
392 default 0xc8258
393
394config INTEL_GMA_BCLV_WIDTH
395 default 32
396
397config INTEL_GMA_BCLM_OFFSET
398 default 0xc8354 if INTEL_GMA_PANEL_2
399 default 0xc8254
400
401config INTEL_GMA_BCLM_WIDTH
402 default 32
403
Arthur Heymans7e0af332022-03-30 23:04:35 +0200404config BOOTBLOCK_IN_CBFS
405 bool
406 default n
407
Alexandru Gagniuc7e86cd42015-10-06 10:33:49 -0700408endif