blob: a77acc3e1fd13d6594f87e9ce5c460079e7a6992 [file] [log] [blame]
Subrata Banikb3ced6a2020-08-04 13:34:03 +05301config SOC_INTEL_ALDERLAKE
2 bool
3 help
4 Intel Alderlake support
5
6if SOC_INTEL_ALDERLAKE
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Angel Ponsa25eaff2020-09-23 15:37:15 +020010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Subrata Banik2871e0e2020-09-27 11:30:58 +053011 select ARCH_ALL_STAGES_X86_32
Subrata Banikb3ced6a2020-08-04 13:34:03 +053012 select BOOT_DEVICE_SUPPORTS_WRITES
Subrata Banik292afef2020-09-09 13:34:18 +053013 select CACHE_MRC_SETTINGS
14 select CPU_INTEL_COMMON
Subrata Banik2871e0e2020-09-27 11:30:58 +053015 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020016 select CPU_SUPPORTS_PM_TIMER_EMULATION
Subrata Banik2871e0e2020-09-27 11:30:58 +053017 select FSP_COMPRESS_FSP_S_LZ4
Subrata Banik683c95e2020-12-19 19:36:45 +053018 select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW
Subrata Banik292afef2020-09-09 13:34:18 +053019 select FSP_M_XIP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053020 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
Subrata Banik2871e0e2020-09-27 11:30:58 +053021 select GENERIC_GPIO_LIB
22 select HAVE_FSP_GOP
Subrata Banikb3ced6a2020-08-04 13:34:03 +053023 select INTEL_DESCRIPTOR_MODE_CAPABLE
Subrata Banik2871e0e2020-09-27 11:30:58 +053024 select HAVE_SMI_HANDLER
Subrata Banikb3ced6a2020-08-04 13:34:03 +053025 select IDT_IN_EVERY_STAGE
26 select INTEL_CAR_NEM #TODO - Enable INTEL_CAR_NEM_ENHANCED
Subrata Banik2871e0e2020-09-27 11:30:58 +053027 select INTEL_GMA_ACPI
28 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
29 select IOAPIC
Subrata Banik0aed4e52020-10-12 17:27:31 +053030 select INTEL_TME
Subrata Banik292afef2020-09-09 13:34:18 +053031 select MRC_SETTINGS_PROTECT
Subrata Banik2871e0e2020-09-27 11:30:58 +053032 select PARALLEL_MP
33 select PARALLEL_MP_AP_WORK
Subrata Banikb3ced6a2020-08-04 13:34:03 +053034 select MICROCODE_BLOB_UNDISCLOSED
Subrata Banikee735942020-09-07 17:52:23 +053035 select PLATFORM_USES_FSP2_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053036 select FSP_PEIM_TO_PEIM_INTERFACE
37 select REG_SCRIPT
38 select PMC_GLOBAL_RESET_ENABLE_LOCK
39 select PMC_LOW_POWER_MODE_PROGRAM
Subrata Banikb3ced6a2020-08-04 13:34:03 +053040 select SOC_INTEL_COMMON
Subrata Banik08089922020-10-03 13:02:06 +053041 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikb3ced6a2020-08-04 13:34:03 +053042 select SOC_INTEL_COMMON_BLOCK
Subrata Banik08089922020-10-03 13:02:06 +053043 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banik21974ab2020-10-31 21:40:43 +053044 select SOC_INTEL_COMMON_BLOCK_CAR
Subrata Banik292afef2020-09-09 13:34:18 +053045 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Subrata Banikb3ced6a2020-08-04 13:34:03 +053046 select SOC_INTEL_COMMON_BLOCK_CPU
Subrata Banik2871e0e2020-09-27 11:30:58 +053047 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
48 select SOC_INTEL_COMMON_BLOCK_DTT
49 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Subrata Banikb3ced6a2020-08-04 13:34:03 +053050 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053051 select SOC_INTEL_COMMON_BLOCK_HDA
Subrata Banikb3ced6a2020-08-04 13:34:03 +053052 select SOC_INTEL_COMMON_BLOCK_SA
Subrata Banik2871e0e2020-09-27 11:30:58 +053053 select SOC_INTEL_COMMON_BLOCK_SMM
54 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053055 select SOC_INTEL_COMMON_FSP_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053056 select SOC_INTEL_COMMON_PCH_BASE
57 select SOC_INTEL_COMMON_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053058 select SSE2
59 select SUPPORT_CPU_UCODE_IN_CBFS
60 select TSC_MONOTONIC_TIMER
61 select UDELAY_TSC
Subrata Banikee735942020-09-07 17:52:23 +053062 select UDK_202005_BINDING
Subrata Banik2871e0e2020-09-27 11:30:58 +053063 select DISPLAY_FSP_VERSION_INFO
64 select HECI_DISABLE_USING_SMM
65
66config MAX_CPUS
67 int
68 default 24
Subrata Banikb3ced6a2020-08-04 13:34:03 +053069
70config DCACHE_RAM_BASE
71 default 0xfef00000
72
73config DCACHE_RAM_SIZE
Subrata Banik191bd822020-11-21 19:30:57 +053074 default 0xc0000
Subrata Banikb3ced6a2020-08-04 13:34:03 +053075 help
76 The size of the cache-as-ram region required during bootblock
77 and/or romstage.
78
79config DCACHE_BSP_STACK_SIZE
80 hex
Subrata Banik191bd822020-11-21 19:30:57 +053081 default 0x80400
Subrata Banikb3ced6a2020-08-04 13:34:03 +053082 help
83 The amount of anticipated stack usage in CAR by bootblock and
84 other stages. In the case of FSP_USES_CB_STACK default value will be
Subrata Banik191bd822020-11-21 19:30:57 +053085 sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement
Subrata Banikb3ced6a2020-08-04 13:34:03 +053086 (~1KiB).
87
88config FSP_TEMP_RAM_SIZE
89 hex
90 default 0x20000
91 help
92 The amount of anticipated heap usage in CAR by FSP.
93 Refer to Platform FSP integration guide document to know
94 the exact FSP requirement for Heap setup.
95
Tim Wawrzynczak092813a2020-11-24 13:48:56 -070096config CHIPSET_DEVICETREE
97 string
98 default "soc/intel/alderlake/chipset.cb"
99
Subrata Banik683c95e2020-12-19 19:36:45 +0530100config EXT_BIOS_WIN_BASE
101 default 0xf8000000
102
103config EXT_BIOS_WIN_SIZE
104 default 0x2000000
105
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530106config IFD_CHIPSET
107 string
108 default "adl"
109
110config IED_REGION_SIZE
111 hex
112 default 0x400000
113
114config HEAP_SIZE
115 hex
116 default 0x10000
117
Subrata Banik2871e0e2020-09-27 11:30:58 +0530118config MAX_ROOT_PORTS
119 int
120 default 12
121
122config MAX_PCIE_CLOCKS
123 int
124 default 12
125
126config SMM_TSEG_SIZE
127 hex
128 default 0x800000
129
130config SMM_RESERVED_SIZE
131 hex
132 default 0x200000
133
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530134config PCR_BASE_ADDRESS
135 hex
136 default 0xfd000000
137 help
138 This option allows you to select MMIO Base Address of sideband bus.
139
140config MMCONF_BASE_ADDRESS
141 hex
142 default 0xc0000000
143
144config CPU_BCLK_MHZ
145 int
146 default 100
147
148config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
149 int
150 default 120
151
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200152config CPU_XTAL_HZ
153 default 38400000
154
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530155config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
156 int
157 default 133
158
159config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
160 int
161 default 7
162
163config SOC_INTEL_I2C_DEV_MAX
164 int
165 default 6
166
167config SOC_INTEL_UART_DEV_MAX
168 int
169 default 7
170
171config CONSOLE_UART_BASE_ADDRESS
172 hex
Bora Guvendik2a704192020-11-16 11:23:48 -0800173 default 0xfe03e000
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530174 depends on INTEL_LPSS_UART_FOR_CONSOLE
175
176# Clock divider parameters for 115200 baud rate
177# Baudrate = (UART source clcok * M) /(N *16)
178# ADL UART source clock: 120MHz
179config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
180 hex
181 default 0x25a
182
183config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
184 hex
185 default 0x7fff
186
187config CHROMEOS
188 select CHROMEOS_RAMOOPS_DYNAMIC
189
Subrata Banik292afef2020-09-09 13:34:18 +0530190config VBOOT
191 select VBOOT_SEPARATE_VERSTAGE
192 select VBOOT_MUST_REQUEST_DISPLAY
193 select VBOOT_STARTS_IN_BOOTBLOCK
194 select VBOOT_VBNV_CMOS
195 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
196
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530197config C_ENV_BOOTBLOCK_SIZE
198 hex
199 default 0xC000
200
201config CBFS_SIZE
202 hex
203 default 0x200000
204
205config PRERAM_CBMEM_CONSOLE_SIZE
206 hex
207 default 0x1400
Subrata Banik2871e0e2020-09-27 11:30:58 +0530208
Subrata Banikee735942020-09-07 17:52:23 +0530209config FSP_HEADER_PATH
210 string "Location of FSP headers"
211 default "src/vendorcode/intel/fsp/fsp2_0/alderlake/"
212
213config FSP_FD_PATH
214 string
215 depends on FSP_USE_REPO
216 default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd"
Subrata Banik292afef2020-09-09 13:34:18 +0530217
218config SOC_INTEL_ALDERLAKE_DEBUG_CONSENT
219 int "Debug Consent for ADL"
220 # USB DBC is more common for developers so make this default to 3 if
221 # SOC_INTEL_DEBUG_CONSENT=y
222 default 3 if SOC_INTEL_DEBUG_CONSENT
223 default 0
224 help
225 This is to control debug interface on SOC.
226 Setting non-zero value will allow to use DBC or DCI to debug SOC.
227 PlatformDebugConsent in FspmUpd.h has the details.
228
229 Desired platform debug type are
230 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
231 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
232 6:Enable (2-wire DCI OOB), 7:Manual
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530233endif