blob: 0357ba9e2df303bf3977b77ef6dacfc7b4bed661 [file] [log] [blame]
Subrata Banikb3ced6a2020-08-04 13:34:03 +05301config SOC_INTEL_ALDERLAKE
2 bool
3 help
Angel Ponsdb925aa2021-12-01 11:44:09 +01004 Intel Alderlake support. Mainboards should specify the PCH
5 type using the `SOC_INTEL_ALDERLAKE_PCH_*` options instead
6 of selecting this option directly.
Subrata Banikb3ced6a2020-08-04 13:34:03 +05307
Bora Guvendik2c805b92022-06-08 15:55:52 -07008config SOC_INTEL_RAPTORLAKE
9 bool
10 help
11 Intel Raptorlake support. Mainboards using RPL should select
12 SOC_INTEL_RAPTORLAKE and SOC_INTEL_ALDERLAKE_PCH_* together.
13
Varshit Pandyab5df56f2021-01-18 09:44:35 +053014config SOC_INTEL_ALDERLAKE_PCH_M
15 bool
Angel Ponsdb925aa2021-12-01 11:44:09 +010016 select SOC_INTEL_ALDERLAKE
Varshit Pandyab5df56f2021-01-18 09:44:35 +053017 help
Angel Ponsdb925aa2021-12-01 11:44:09 +010018 Choose this option if your mainboard has a PCH-M chipset.
19
Usha P78c9b672021-11-30 11:27:38 +053020config SOC_INTEL_ALDERLAKE_PCH_N
21 bool
22 select SOC_INTEL_ALDERLAKE
23 help
24 Choose this option if your mainboard has a PCH-N chipset.
25
Angel Ponsdb925aa2021-12-01 11:44:09 +010026config SOC_INTEL_ALDERLAKE_PCH_P
27 bool
28 select SOC_INTEL_ALDERLAKE
29 help
30 Choose this option if your mainboard has a PCH-P chipset.
Varshit Pandyab5df56f2021-01-18 09:44:35 +053031
Michał Żygowskia1636d72022-04-07 14:56:10 +020032config SOC_INTEL_ALDERLAKE_PCH_S
33 bool
34 select SOC_INTEL_ALDERLAKE
35 help
36 Choose this option if your mainboard has a PCH-S chipset.
37
Subrata Banikb3ced6a2020-08-04 13:34:03 +053038if SOC_INTEL_ALDERLAKE
39
40config CPU_SPECIFIC_OPTIONS
41 def_bool y
Angel Ponsa25eaff2020-09-23 15:37:15 +020042 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Sugnan Prabhu Sdcf04592021-12-03 19:07:04 +053043 select ACPI_ADL_IPU_ES_SUPPORT
Angel Pons8e035e32021-06-22 12:58:20 +020044 select ARCH_X86
Subrata Banikb3ced6a2020-08-04 13:34:03 +053045 select BOOT_DEVICE_SUPPORTS_WRITES
Subrata Banik292afef2020-09-09 13:34:18 +053046 select CACHE_MRC_SETTINGS
47 select CPU_INTEL_COMMON
Subrata Banik2871e0e2020-09-27 11:30:58 +053048 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Michael Niewöhner5307f122021-09-19 00:32:37 +020049 select CPU_SUPPORTS_INTEL_TME
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020050 select CPU_SUPPORTS_PM_TIMER_EMULATION
Subrata Banik34f26b22022-02-10 12:38:02 +053051 select DISPLAY_FSP_VERSION_INFO
Eric Lai4ea47c32020-12-21 16:57:49 +080052 select DRIVERS_USB_ACPI
Subrata Banik2871e0e2020-09-27 11:30:58 +053053 select FSP_COMPRESS_FSP_S_LZ4
Subrata Banik683c95e2020-12-19 19:36:45 +053054 select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW
Subrata Banik292afef2020-09-09 13:34:18 +053055 select FSP_M_XIP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053056 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
Subrata Banike4cf3fa2022-03-23 01:41:36 +053057 select FSP_USES_CB_DEBUG_EVENT_HANDLER
Subrata Banik298b3592021-09-14 12:38:08 +053058 select FSPS_HAS_ARCH_UPD
Subrata Banik2871e0e2020-09-27 11:30:58 +053059 select GENERIC_GPIO_LIB
Subrata Banikb4a169a2021-12-29 18:36:23 +000060 select HAVE_DEBUG_RAM_SETUP
Subrata Banik2871e0e2020-09-27 11:30:58 +053061 select HAVE_FSP_GOP
Felix Singera182fae2021-12-31 00:30:55 +010062 select HAVE_HYPERTHREADING
Subrata Banikb3ced6a2020-08-04 13:34:03 +053063 select INTEL_DESCRIPTOR_MODE_CAPABLE
Subrata Banik2871e0e2020-09-27 11:30:58 +053064 select HAVE_SMI_HANDLER
Subrata Banikb3ced6a2020-08-04 13:34:03 +053065 select IDT_IN_EVERY_STAGE
Subrata Banik2871e0e2020-09-27 11:30:58 +053066 select INTEL_GMA_ACPI
67 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
Meera Ravindranath81d367f2021-07-08 09:39:11 +053068 select INTEL_GMA_OPREGION_2_1
Subrata Banik0aed4e52020-10-12 17:27:31 +053069 select INTEL_TME
Aamir Bohra30cca6c2021-02-04 20:57:51 +053070 select MP_SERVICES_PPI_V2
Subrata Banik292afef2020-09-09 13:34:18 +053071 select MRC_SETTINGS_PROTECT
Subrata Banik2871e0e2020-09-27 11:30:58 +053072 select PARALLEL_MP_AP_WORK
Subrata Banikb3ced6a2020-08-04 13:34:03 +053073 select MICROCODE_BLOB_UNDISCLOSED
Michał Żygowski02315f92022-04-07 14:58:11 +020074 select PLATFORM_USES_FSP2_2 if !SOC_INTEL_ALDERLAKE_PCH_S
75 select PLATFORM_USES_FSP2_3 if SOC_INTEL_ALDERLAKE_PCH_S
Subrata Banik2871e0e2020-09-27 11:30:58 +053076 select PMC_GLOBAL_RESET_ENABLE_LOCK
Subrata Banikb3ced6a2020-08-04 13:34:03 +053077 select SOC_INTEL_COMMON
Subrata Banik08089922020-10-03 13:02:06 +053078 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikb3ced6a2020-08-04 13:34:03 +053079 select SOC_INTEL_COMMON_BLOCK
Subrata Banik08089922020-10-03 13:02:06 +053080 select SOC_INTEL_COMMON_BLOCK_ACPI
ravindr174596572021-03-29 19:41:25 +053081 select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC
Sridahr Siricilla73b90c62021-11-11 01:10:16 +053082 select SOC_INTEL_COMMON_BLOCK_ACPI_CPU_HYBRID
Angel Pons98f672a2021-02-19 19:42:10 +010083 select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO
Tim Wawrzynczak5faee2e2021-07-01 08:24:18 -060084 select SOC_INTEL_COMMON_BLOCK_ACPI_PEP
85 select SOC_INTEL_COMMON_BLOCK_ACPI_PEP_LPM_REQ
Subrata Banik21974ab2020-10-31 21:40:43 +053086 select SOC_INTEL_COMMON_BLOCK_CAR
Subrata Banik292afef2020-09-09 13:34:18 +053087 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Varshit B Pandya2938c462022-02-16 20:38:10 +053088 select SOC_INTEL_COMMON_BLOCK_CNVI
Subrata Banikb3ced6a2020-08-04 13:34:03 +053089 select SOC_INTEL_COMMON_BLOCK_CPU
Subrata Banik2871e0e2020-09-27 11:30:58 +053090 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
Angel Ponsa4cd9112021-02-19 19:23:38 +010091 select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE
Subrata Banik2871e0e2020-09-27 11:30:58 +053092 select SOC_INTEL_COMMON_BLOCK_DTT
93 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Subrata Banikaf2f8b92022-01-10 10:26:52 +000094 select SOC_INTEL_COMMON_BLOCK_GPIO_LOCK_USING_SBI
Subrata Banikb3ced6a2020-08-04 13:34:03 +053095 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Krishna Prasad Bhat01e426d2022-01-16 22:37:21 +053096 select SOC_INTEL_COMMON_BLOCK_SCS if SOC_INTEL_ALDERLAKE_PCH_N
Subrata Banik2871e0e2020-09-27 11:30:58 +053097 select SOC_INTEL_COMMON_BLOCK_HDA
Subrata Banikc176fc22022-04-25 16:59:35 +053098 select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC
Michał Żygowski3d1e5622022-04-08 17:09:49 +020099 select SOC_INTEL_COMMON_BLOCK_IPU if !SOC_INTEL_ALDERLAKE_PCH_S
Tim Wawrzynczak43607e42021-05-18 09:04:42 -0600100 select SOC_INTEL_COMMON_BLOCK_IRQ
Furquan Shaikha1c247b2020-12-31 22:50:14 -0800101 select SOC_INTEL_COMMON_BLOCK_MEMINIT
Rizwan Qureshi307be992021-04-08 20:35:29 +0530102 select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3
Lean Sheng Tan75020002021-06-30 01:47:48 -0700103 select SOC_INTEL_COMMON_BLOCK_PMC_EPOC
Sumeet R Pawnikar77298c62021-03-10 21:09:37 +0530104 select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530105 select SOC_INTEL_COMMON_BLOCK_SA
Subrata Banik2871e0e2020-09-27 11:30:58 +0530106 select SOC_INTEL_COMMON_BLOCK_SMM
107 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Subrata Banik8407c342021-09-08 20:15:36 +0530108 select SOC_INTEL_COMMON_BLOCK_TCSS
Subrata Banikb2e8bd82021-11-17 15:35:05 +0530109 select SOC_INTEL_COMMON_BLOCK_THERMAL_BEHIND_PMC
Eric Lai4ea47c32020-12-21 16:57:49 +0800110 select SOC_INTEL_COMMON_BLOCK_USB4
111 select SOC_INTEL_COMMON_BLOCK_USB4_PCIE
112 select SOC_INTEL_COMMON_BLOCK_USB4_XHCI
Tim Wawrzynczak242da792020-11-10 10:13:54 -0700113 select SOC_INTEL_COMMON_BLOCK_XHCI
114 select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
Sridhar Siricillaf5e94b62022-03-08 23:39:20 +0530115 select SOC_INTEL_COMMON_BASECODE
Subrata Banik4ed9f9a2020-10-31 22:01:55 +0530116 select SOC_INTEL_COMMON_FSP_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530117 select SOC_INTEL_COMMON_PCH_BASE
118 select SOC_INTEL_COMMON_RESET
MAULIK V VAGHELAed6f7e42022-02-22 19:59:42 +0530119 select SOC_INTEL_CSE_SEND_EOP_EARLY
Tim Wawrzynczakc0e82e72021-06-17 12:42:35 -0600120 select SOC_INTEL_CSE_SET_EOP
Bora Guvendik40e461a2022-04-13 16:26:56 -0700121 select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY if SOC_INTEL_CSE_LITE_SKU
Subrata Banikaf27ac22022-02-18 00:44:15 +0530122 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530123 select SSE2
124 select SUPPORT_CPU_UCODE_IN_CBFS
125 select TSC_MONOTONIC_TIMER
126 select UDELAY_TSC
Subrata Banikee735942020-09-07 17:52:23 +0530127 select UDK_202005_BINDING
Subrata Banik2871e0e2020-09-27 11:30:58 +0530128
Reka Normane790f922022-04-06 20:33:54 +1000129config ALDERLAKE_CONFIGURE_DESCRIPTOR
130 bool
131 help
132 Select this if the descriptor needs to be updated at runtime. This
133 can only be done if the descriptor region is writable, and should only
134 be used as a temporary workaround.
135
Subrata Banik095e2a72021-07-05 20:56:15 +0530136config ALDERLAKE_CAR_ENHANCED_NEM
137 bool
138 default y if !INTEL_CAR_NEM
139 select INTEL_CAR_NEM_ENHANCED
140 select CAR_HAS_SF_MASKS
141 select COS_MAPPED_TO_MSB
142 select CAR_HAS_L3_PROTECTED_WAYS
143
Subrata Banik2871e0e2020-09-27 11:30:58 +0530144config MAX_CPUS
145 int
146 default 24
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530147
148config DCACHE_RAM_BASE
149 default 0xfef00000
150
151config DCACHE_RAM_SIZE
Subrata Banik191bd822020-11-21 19:30:57 +0530152 default 0xc0000
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530153 help
154 The size of the cache-as-ram region required during bootblock
155 and/or romstage.
156
157config DCACHE_BSP_STACK_SIZE
158 hex
Subrata Banik191bd822020-11-21 19:30:57 +0530159 default 0x80400
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530160 help
161 The amount of anticipated stack usage in CAR by bootblock and
162 other stages. In the case of FSP_USES_CB_STACK default value will be
Subrata Banik191bd822020-11-21 19:30:57 +0530163 sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530164 (~1KiB).
165
166config FSP_TEMP_RAM_SIZE
167 hex
168 default 0x20000
169 help
170 The amount of anticipated heap usage in CAR by FSP.
171 Refer to Platform FSP integration guide document to know
172 the exact FSP requirement for Heap setup.
173
Tim Wawrzynczak092813a2020-11-24 13:48:56 -0700174config CHIPSET_DEVICETREE
175 string
176 default "soc/intel/alderlake/chipset.cb"
177
Subrata Banik683c95e2020-12-19 19:36:45 +0530178config EXT_BIOS_WIN_BASE
179 default 0xf8000000
180
181config EXT_BIOS_WIN_SIZE
182 default 0x2000000
183
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530184config IFD_CHIPSET
185 string
186 default "adl"
187
188config IED_REGION_SIZE
189 hex
190 default 0x400000
191
192config HEAP_SIZE
193 hex
194 default 0x10000
195
Tim Wawrzynczak8d11cdc2021-03-12 12:46:02 -0700196# Intel recommends reserving the following resources per PCIe TBT root port,
197# from ADL BIOS Spec (doc #627270) Revision 0.6.0 Section 7.2.5.1.5
198# - 42 buses
199# - 194 MiB Non-prefetchable memory
200# - 448 MiB Prefetchable memory
Furquan Shaikhd9f5d902021-08-24 13:53:43 -0700201if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
Tim Wawrzynczak8d11cdc2021-03-12 12:46:02 -0700202
203config PCIEXP_HOTPLUG_BUSES
204 int
205 default 42
206
207config PCIEXP_HOTPLUG_MEM
208 hex
209 default 0xc200000
210
211config PCIEXP_HOTPLUG_PREFETCH_MEM
212 hex
213 default 0x1c000000
214
Furquan Shaikhd9f5d902021-08-24 13:53:43 -0700215endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
Tim Wawrzynczak8d11cdc2021-03-12 12:46:02 -0700216
Subrata Banik85144d92021-01-09 16:17:45 +0530217config MAX_PCH_ROOT_PORTS
Subrata Banik2871e0e2020-09-27 11:30:58 +0530218 int
Varshit Pandyab5df56f2021-01-18 09:44:35 +0530219 default 10 if SOC_INTEL_ALDERLAKE_PCH_M
Usha P78c9b672021-11-30 11:27:38 +0530220 default 12 if SOC_INTEL_ALDERLAKE_PCH_N
Angel Ponsdb925aa2021-12-01 11:44:09 +0100221 default 12 if SOC_INTEL_ALDERLAKE_PCH_P
Michał Żygowski27fdfc62022-04-07 15:03:09 +0200222 default 28 if SOC_INTEL_ALDERLAKE_PCH_S
Subrata Banik2871e0e2020-09-27 11:30:58 +0530223
Subrata Banik85144d92021-01-09 16:17:45 +0530224config MAX_CPU_ROOT_PORTS
225 int
Varshit Pandyab5df56f2021-01-18 09:44:35 +0530226 default 1 if SOC_INTEL_ALDERLAKE_PCH_M
Usha P78c9b672021-11-30 11:27:38 +0530227 default 0 if SOC_INTEL_ALDERLAKE_PCH_N
Michał Żygowski27fdfc62022-04-07 15:03:09 +0200228 default 3 if SOC_INTEL_ALDERLAKE_PCH_P || SOC_INTEL_ALDERLAKE_PCH_S
Subrata Banik85144d92021-01-09 16:17:45 +0530229
MAULIK V VAGHELA3e4f28f2022-01-21 14:17:53 +0530230config MAX_TBT_ROOT_PORTS
231 int
Michał Żygowski27fdfc62022-04-07 15:03:09 +0200232 default 0 if SOC_INTEL_ALDERLAKE_PCH_N || SOC_INTEL_ALDERLAKE_PCH_S
MAULIK V VAGHELA3e4f28f2022-01-21 14:17:53 +0530233 default 2 if SOC_INTEL_ALDERLAKE_PCH_M
234 default 4 if SOC_INTEL_ALDERLAKE_PCH_P
235
Subrata Banik85144d92021-01-09 16:17:45 +0530236config MAX_ROOT_PORTS
237 int
238 default MAX_PCH_ROOT_PORTS
239
Subrata Banikcffc9382021-01-29 18:41:35 +0530240config MAX_PCIE_CLOCK_SRC
Cliff Huang0d590b72022-04-28 18:20:27 -0700241 prompt "Number of Source Clock supported from SOC"
Subrata Banik2871e0e2020-09-27 11:30:58 +0530242 int
Subrata Banikcffc9382021-01-29 18:41:35 +0530243 default 6 if SOC_INTEL_ALDERLAKE_PCH_M
Usha P78c9b672021-11-30 11:27:38 +0530244 default 5 if SOC_INTEL_ALDERLAKE_PCH_N
Michał Żygowski27fdfc62022-04-07 15:03:09 +0200245 default 18 if SOC_INTEL_ALDERLAKE_PCH_S
Cliff Huang0d590b72022-04-28 18:20:27 -0700246 default 10 if SOC_INTEL_ALDERLAKE_PCH_P
247 help
248 With external clock buffer, Alderlake-P can support up to three additional source clocks.
249 This is done by setting the corresponding GPIO pin(s) to native function to use as
250 SRCCLK_OE[6..9]. In addition, SRCCLK6 does not need to be set to free running clock.
251 If any of SRCCLKReq 6..9 is asserted, SRCCLK6 will be turned on.
Subrata Banikcffc9382021-01-29 18:41:35 +0530252
253config MAX_PCIE_CLOCK_REQ
254 int
Angel Ponsdb925aa2021-12-01 11:44:09 +0100255 default 6 if SOC_INTEL_ALDERLAKE_PCH_M
Usha P78c9b672021-11-30 11:27:38 +0530256 default 5 if SOC_INTEL_ALDERLAKE_PCH_N
Angel Ponsdb925aa2021-12-01 11:44:09 +0100257 default 10 if SOC_INTEL_ALDERLAKE_PCH_P
Michał Żygowski27fdfc62022-04-07 15:03:09 +0200258 default 18 if SOC_INTEL_ALDERLAKE_PCH_S
Subrata Banik2871e0e2020-09-27 11:30:58 +0530259
260config SMM_TSEG_SIZE
261 hex
262 default 0x800000
263
264config SMM_RESERVED_SIZE
265 hex
266 default 0x200000
267
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530268config PCR_BASE_ADDRESS
269 hex
Michał Żygowskidccfb8a2022-04-07 15:09:19 +0200270 default 0xe0000000 if SOC_INTEL_ALDERLAKE_PCH_S
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530271 default 0xfd000000
272 help
273 This option allows you to select MMIO Base Address of sideband bus.
274
Shelley Chen4e9bb332021-10-20 15:43:45 -0700275config ECAM_MMCONF_BASE_ADDRESS
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530276 default 0xc0000000
277
278config CPU_BCLK_MHZ
279 int
280 default 100
281
282config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
283 int
284 default 120
285
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200286config CPU_XTAL_HZ
287 default 38400000
288
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530289config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
290 int
291 default 133
292
293config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
294 int
295 default 7
296
297config SOC_INTEL_I2C_DEV_MAX
298 int
Varshit B Pandya339f0e72021-07-14 11:08:23 +0530299 default 8
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530300
Sean Rhodes0a162912022-05-21 10:38:09 +0100301config SOC_INTEL_ALDERLAKE_S3
302 bool
303 default n
304 help
305 Select if using S3 instead of S0ix to disable D3Cold.
306
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530307config SOC_INTEL_UART_DEV_MAX
308 int
309 default 7
310
311config CONSOLE_UART_BASE_ADDRESS
312 hex
Bora Guvendik2a704192020-11-16 11:23:48 -0800313 default 0xfe03e000
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530314 depends on INTEL_LPSS_UART_FOR_CONSOLE
315
Maulik V Vaghela996bab42021-02-05 12:03:19 +0530316config VBT_DATA_SIZE_KB
317 int
318 default 9
319
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530320# Clock divider parameters for 115200 baud rate
321# Baudrate = (UART source clcok * M) /(N *16)
322# ADL UART source clock: 120MHz
323config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
324 hex
325 default 0x25a
326
327config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
328 hex
329 default 0x7fff
330
Subrata Banik292afef2020-09-09 13:34:18 +0530331config VBOOT
Subrata Banik292afef2020-09-09 13:34:18 +0530332 select VBOOT_MUST_REQUEST_DISPLAY
333 select VBOOT_STARTS_IN_BOOTBLOCK
334 select VBOOT_VBNV_CMOS
335 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
Subrata Banik34237862021-06-17 23:36:02 +0530336 select VBOOT_X86_SHA256_ACCELERATION
Subrata Banik292afef2020-09-09 13:34:18 +0530337
MAULIK V VAGHELA84532da2021-08-25 16:41:23 +0530338# Default hash block size is 1KiB. Increasing it to 4KiB to improve
339# hashing time as well as read time. This helps in improving
340# boot time for Alder Lake.
341config VBOOT_HASH_BLOCK_SIZE
342 hex
343 default 0x1000
344
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530345config CBFS_SIZE
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530346 default 0x200000
347
348config PRERAM_CBMEM_CONSOLE_SIZE
349 hex
Subrata Banikbf750552021-07-10 20:30:57 +0530350 default 0x2000
Subrata Banik2871e0e2020-09-27 11:30:58 +0530351
Subrata Banikee735942020-09-07 17:52:23 +0530352config FSP_HEADER_PATH
353 string "Location of FSP headers"
Ronak Kanabarecdc7142022-02-02 16:12:00 +0530354 default "src/vendorcode/intel/fsp/fsp2_0/alderlake_n/" if SOC_INTEL_ALDERLAKE_PCH_N
Bora Guvendik2c805b92022-06-08 15:55:52 -0700355 default "src/vendorcode/intel/fsp/fsp2_0/raptorlake/" if SOC_INTEL_RAPTORLAKE
Subrata Banikee735942020-09-07 17:52:23 +0530356 default "src/vendorcode/intel/fsp/fsp2_0/alderlake/"
357
358config FSP_FD_PATH
359 string
360 depends on FSP_USE_REPO
361 default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd"
Subrata Banik292afef2020-09-09 13:34:18 +0530362
363config SOC_INTEL_ALDERLAKE_DEBUG_CONSENT
364 int "Debug Consent for ADL"
Subrata Banik0cd553b2021-12-29 08:09:37 +0000365 # USB DBC is more common for developers so make this default to 2 if
Subrata Banik292afef2020-09-09 13:34:18 +0530366 # SOC_INTEL_DEBUG_CONSENT=y
Kane Chen0e9a6162021-11-23 14:42:48 +0800367 default 2 if SOC_INTEL_DEBUG_CONSENT
Subrata Banik292afef2020-09-09 13:34:18 +0530368 default 0
369 help
370 This is to control debug interface on SOC.
371 Setting non-zero value will allow to use DBC or DCI to debug SOC.
372 PlatformDebugConsent in FspmUpd.h has the details.
373
374 Desired platform debug type are
Kane Chen0e9a6162021-11-23 14:42:48 +0800375 0:Disabled, 2:Enabled (All Probes+TraceHub), 6:Enable (Low Power),
376 7:Manual
Furquan Shaikha1c247b2020-12-31 22:50:14 -0800377
378config DATA_BUS_WIDTH
379 int
380 default 128
381
382config DIMMS_PER_CHANNEL
383 int
384 default 2
385
386config MRC_CHANNEL_WIDTH
387 int
388 default 16
389
Sugnan Prabhu Sdcf04592021-12-03 19:07:04 +0530390config ACPI_ADL_IPU_ES_SUPPORT
391 def_bool n
392 help
393 Enables ACPI entry to provide silicon type information to IPU kernel driver.
394
Furquan Shaikhf888c682021-10-05 21:37:33 -0700395if STITCH_ME_BIN
396
397config CSE_BPDT_VERSION
398 default "1.7"
399
400endif
401
Sridhar Siricillab24c5282022-02-23 12:19:04 +0530402config SI_DESC_REGION
403 string "Descriptor Region name"
404 default "SI_DESC"
405 help
406 Name of Descriptor Region in the FMAP
407
408config SI_DESC_REGION_SZ
409 int
410 default 4096
411 help
412 Size of Descriptor Region in the FMAP
413
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530414endif