blob: dd645926243f3c0fb580422cbeb1e2964498f71e [file] [log] [blame]
Subrata Banikb3ced6a2020-08-04 13:34:03 +05301config SOC_INTEL_ALDERLAKE
2 bool
3 help
4 Intel Alderlake support
5
Varshit Pandyab5df56f2021-01-18 09:44:35 +05306config SOC_INTEL_ALDERLAKE_PCH_M
7 bool
8 help
9 Choose this option if you have PCH-M chipset.
10
Subrata Banikb3ced6a2020-08-04 13:34:03 +053011if SOC_INTEL_ALDERLAKE
12
13config CPU_SPECIFIC_OPTIONS
14 def_bool y
Angel Ponsa25eaff2020-09-23 15:37:15 +020015 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Subrata Banik2871e0e2020-09-27 11:30:58 +053016 select ARCH_ALL_STAGES_X86_32
Subrata Banikb3ced6a2020-08-04 13:34:03 +053017 select BOOT_DEVICE_SUPPORTS_WRITES
Subrata Banik292afef2020-09-09 13:34:18 +053018 select CACHE_MRC_SETTINGS
19 select CPU_INTEL_COMMON
Subrata Banik2871e0e2020-09-27 11:30:58 +053020 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020021 select CPU_SUPPORTS_PM_TIMER_EMULATION
Eric Lai4ea47c32020-12-21 16:57:49 +080022 select DRIVERS_USB_ACPI
Subrata Banik2871e0e2020-09-27 11:30:58 +053023 select FSP_COMPRESS_FSP_S_LZ4
Subrata Banik683c95e2020-12-19 19:36:45 +053024 select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW
Subrata Banik292afef2020-09-09 13:34:18 +053025 select FSP_M_XIP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053026 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
Subrata Banik2871e0e2020-09-27 11:30:58 +053027 select GENERIC_GPIO_LIB
28 select HAVE_FSP_GOP
Subrata Banikb3ced6a2020-08-04 13:34:03 +053029 select INTEL_DESCRIPTOR_MODE_CAPABLE
Subrata Banik2871e0e2020-09-27 11:30:58 +053030 select HAVE_SMI_HANDLER
Subrata Banikb3ced6a2020-08-04 13:34:03 +053031 select IDT_IN_EVERY_STAGE
32 select INTEL_CAR_NEM #TODO - Enable INTEL_CAR_NEM_ENHANCED
Subrata Banik2871e0e2020-09-27 11:30:58 +053033 select INTEL_GMA_ACPI
34 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
35 select IOAPIC
Subrata Banik0aed4e52020-10-12 17:27:31 +053036 select INTEL_TME
Subrata Banik292afef2020-09-09 13:34:18 +053037 select MRC_SETTINGS_PROTECT
Subrata Banik2871e0e2020-09-27 11:30:58 +053038 select PARALLEL_MP
39 select PARALLEL_MP_AP_WORK
Subrata Banikb3ced6a2020-08-04 13:34:03 +053040 select MICROCODE_BLOB_UNDISCLOSED
Subrata Banikee735942020-09-07 17:52:23 +053041 select PLATFORM_USES_FSP2_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053042 select FSP_PEIM_TO_PEIM_INTERFACE
43 select REG_SCRIPT
44 select PMC_GLOBAL_RESET_ENABLE_LOCK
45 select PMC_LOW_POWER_MODE_PROGRAM
Subrata Banikb3ced6a2020-08-04 13:34:03 +053046 select SOC_INTEL_COMMON
Subrata Banik08089922020-10-03 13:02:06 +053047 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikb3ced6a2020-08-04 13:34:03 +053048 select SOC_INTEL_COMMON_BLOCK
Subrata Banik08089922020-10-03 13:02:06 +053049 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banik21974ab2020-10-31 21:40:43 +053050 select SOC_INTEL_COMMON_BLOCK_CAR
Subrata Banik292afef2020-09-09 13:34:18 +053051 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Subrata Banikb3ced6a2020-08-04 13:34:03 +053052 select SOC_INTEL_COMMON_BLOCK_CPU
Subrata Banik2871e0e2020-09-27 11:30:58 +053053 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
54 select SOC_INTEL_COMMON_BLOCK_DTT
55 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Subrata Banikb3ced6a2020-08-04 13:34:03 +053056 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053057 select SOC_INTEL_COMMON_BLOCK_HDA
Furquan Shaikha1c247b2020-12-31 22:50:14 -080058 select SOC_INTEL_COMMON_BLOCK_MEMINIT
Subrata Banikb3ced6a2020-08-04 13:34:03 +053059 select SOC_INTEL_COMMON_BLOCK_SA
Subrata Banik2871e0e2020-09-27 11:30:58 +053060 select SOC_INTEL_COMMON_BLOCK_SMM
61 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Eric Lai4ea47c32020-12-21 16:57:49 +080062 select SOC_INTEL_COMMON_BLOCK_USB4
63 select SOC_INTEL_COMMON_BLOCK_USB4_PCIE
64 select SOC_INTEL_COMMON_BLOCK_USB4_XHCI
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053065 select SOC_INTEL_COMMON_FSP_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053066 select SOC_INTEL_COMMON_PCH_BASE
67 select SOC_INTEL_COMMON_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053068 select SSE2
69 select SUPPORT_CPU_UCODE_IN_CBFS
70 select TSC_MONOTONIC_TIMER
71 select UDELAY_TSC
Subrata Banikee735942020-09-07 17:52:23 +053072 select UDK_202005_BINDING
Subrata Banik2871e0e2020-09-27 11:30:58 +053073 select DISPLAY_FSP_VERSION_INFO
74 select HECI_DISABLE_USING_SMM
75
76config MAX_CPUS
77 int
78 default 24
Subrata Banikb3ced6a2020-08-04 13:34:03 +053079
80config DCACHE_RAM_BASE
81 default 0xfef00000
82
83config DCACHE_RAM_SIZE
Subrata Banik191bd822020-11-21 19:30:57 +053084 default 0xc0000
Subrata Banikb3ced6a2020-08-04 13:34:03 +053085 help
86 The size of the cache-as-ram region required during bootblock
87 and/or romstage.
88
89config DCACHE_BSP_STACK_SIZE
90 hex
Subrata Banik191bd822020-11-21 19:30:57 +053091 default 0x80400
Subrata Banikb3ced6a2020-08-04 13:34:03 +053092 help
93 The amount of anticipated stack usage in CAR by bootblock and
94 other stages. In the case of FSP_USES_CB_STACK default value will be
Subrata Banik191bd822020-11-21 19:30:57 +053095 sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement
Subrata Banikb3ced6a2020-08-04 13:34:03 +053096 (~1KiB).
97
98config FSP_TEMP_RAM_SIZE
99 hex
100 default 0x20000
101 help
102 The amount of anticipated heap usage in CAR by FSP.
103 Refer to Platform FSP integration guide document to know
104 the exact FSP requirement for Heap setup.
105
Tim Wawrzynczak092813a2020-11-24 13:48:56 -0700106config CHIPSET_DEVICETREE
107 string
108 default "soc/intel/alderlake/chipset.cb"
109
Subrata Banik683c95e2020-12-19 19:36:45 +0530110config EXT_BIOS_WIN_BASE
111 default 0xf8000000
112
113config EXT_BIOS_WIN_SIZE
114 default 0x2000000
115
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530116config IFD_CHIPSET
117 string
118 default "adl"
119
120config IED_REGION_SIZE
121 hex
122 default 0x400000
123
124config HEAP_SIZE
125 hex
126 default 0x10000
127
Subrata Banik85144d92021-01-09 16:17:45 +0530128config MAX_PCH_ROOT_PORTS
Subrata Banik2871e0e2020-09-27 11:30:58 +0530129 int
Varshit Pandyab5df56f2021-01-18 09:44:35 +0530130 default 10 if SOC_INTEL_ALDERLAKE_PCH_M
Subrata Banik2871e0e2020-09-27 11:30:58 +0530131 default 12
132
Subrata Banik85144d92021-01-09 16:17:45 +0530133config MAX_CPU_ROOT_PORTS
134 int
Varshit Pandyab5df56f2021-01-18 09:44:35 +0530135 default 1 if SOC_INTEL_ALDERLAKE_PCH_M
Subrata Banik85144d92021-01-09 16:17:45 +0530136 default 3
137
138config MAX_ROOT_PORTS
139 int
140 default MAX_PCH_ROOT_PORTS
141
Subrata Banik2871e0e2020-09-27 11:30:58 +0530142config MAX_PCIE_CLOCKS
143 int
Varshit Pandyab5df56f2021-01-18 09:44:35 +0530144 default 10 if SOC_INTEL_ALDERLAKE_PCH_M
Subrata Banik2871e0e2020-09-27 11:30:58 +0530145 default 12
146
147config SMM_TSEG_SIZE
148 hex
149 default 0x800000
150
151config SMM_RESERVED_SIZE
152 hex
153 default 0x200000
154
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530155config PCR_BASE_ADDRESS
156 hex
157 default 0xfd000000
158 help
159 This option allows you to select MMIO Base Address of sideband bus.
160
161config MMCONF_BASE_ADDRESS
162 hex
163 default 0xc0000000
164
165config CPU_BCLK_MHZ
166 int
167 default 100
168
169config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
170 int
171 default 120
172
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200173config CPU_XTAL_HZ
174 default 38400000
175
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530176config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
177 int
178 default 133
179
180config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
181 int
182 default 7
183
184config SOC_INTEL_I2C_DEV_MAX
185 int
186 default 6
187
188config SOC_INTEL_UART_DEV_MAX
189 int
190 default 7
191
192config CONSOLE_UART_BASE_ADDRESS
193 hex
Bora Guvendik2a704192020-11-16 11:23:48 -0800194 default 0xfe03e000
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530195 depends on INTEL_LPSS_UART_FOR_CONSOLE
196
197# Clock divider parameters for 115200 baud rate
198# Baudrate = (UART source clcok * M) /(N *16)
199# ADL UART source clock: 120MHz
200config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
201 hex
202 default 0x25a
203
204config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
205 hex
206 default 0x7fff
207
208config CHROMEOS
209 select CHROMEOS_RAMOOPS_DYNAMIC
210
Subrata Banik292afef2020-09-09 13:34:18 +0530211config VBOOT
212 select VBOOT_SEPARATE_VERSTAGE
213 select VBOOT_MUST_REQUEST_DISPLAY
214 select VBOOT_STARTS_IN_BOOTBLOCK
215 select VBOOT_VBNV_CMOS
216 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
217
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530218config C_ENV_BOOTBLOCK_SIZE
219 hex
220 default 0xC000
221
222config CBFS_SIZE
223 hex
224 default 0x200000
225
226config PRERAM_CBMEM_CONSOLE_SIZE
227 hex
228 default 0x1400
Subrata Banik2871e0e2020-09-27 11:30:58 +0530229
Subrata Banikee735942020-09-07 17:52:23 +0530230config FSP_HEADER_PATH
231 string "Location of FSP headers"
232 default "src/vendorcode/intel/fsp/fsp2_0/alderlake/"
233
234config FSP_FD_PATH
235 string
236 depends on FSP_USE_REPO
237 default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd"
Subrata Banik292afef2020-09-09 13:34:18 +0530238
239config SOC_INTEL_ALDERLAKE_DEBUG_CONSENT
240 int "Debug Consent for ADL"
241 # USB DBC is more common for developers so make this default to 3 if
242 # SOC_INTEL_DEBUG_CONSENT=y
243 default 3 if SOC_INTEL_DEBUG_CONSENT
244 default 0
245 help
246 This is to control debug interface on SOC.
247 Setting non-zero value will allow to use DBC or DCI to debug SOC.
248 PlatformDebugConsent in FspmUpd.h has the details.
249
250 Desired platform debug type are
251 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
252 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
253 6:Enable (2-wire DCI OOB), 7:Manual
Furquan Shaikha1c247b2020-12-31 22:50:14 -0800254
255config DATA_BUS_WIDTH
256 int
257 default 128
258
259config DIMMS_PER_CHANNEL
260 int
261 default 2
262
263config MRC_CHANNEL_WIDTH
264 int
265 default 16
266
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530267endif