blob: 0db8e1ceb28afb07ed063dfd71011f016501f2ed [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 Banik292afef2020-09-09 13:34:18 +053018 select FSP_M_XIP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053019 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
Subrata Banik2871e0e2020-09-27 11:30:58 +053020 select GENERIC_GPIO_LIB
21 select HAVE_FSP_GOP
Subrata Banikb3ced6a2020-08-04 13:34:03 +053022 select INTEL_DESCRIPTOR_MODE_CAPABLE
Subrata Banik2871e0e2020-09-27 11:30:58 +053023 select HAVE_SMI_HANDLER
Subrata Banikb3ced6a2020-08-04 13:34:03 +053024 select IDT_IN_EVERY_STAGE
25 select INTEL_CAR_NEM #TODO - Enable INTEL_CAR_NEM_ENHANCED
Subrata Banik2871e0e2020-09-27 11:30:58 +053026 select INTEL_GMA_ACPI
27 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
28 select IOAPIC
Subrata Banik0aed4e52020-10-12 17:27:31 +053029 select INTEL_TME
Subrata Banik292afef2020-09-09 13:34:18 +053030 select MRC_SETTINGS_PROTECT
Subrata Banik2871e0e2020-09-27 11:30:58 +053031 select PARALLEL_MP
32 select PARALLEL_MP_AP_WORK
Subrata Banikb3ced6a2020-08-04 13:34:03 +053033 select MICROCODE_BLOB_UNDISCLOSED
Subrata Banikee735942020-09-07 17:52:23 +053034 select PLATFORM_USES_FSP2_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053035 select FSP_PEIM_TO_PEIM_INTERFACE
36 select REG_SCRIPT
37 select PMC_GLOBAL_RESET_ENABLE_LOCK
38 select PMC_LOW_POWER_MODE_PROGRAM
Subrata Banikb3ced6a2020-08-04 13:34:03 +053039 select SOC_INTEL_COMMON
Subrata Banik08089922020-10-03 13:02:06 +053040 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Subrata Banikb3ced6a2020-08-04 13:34:03 +053041 select SOC_INTEL_COMMON_BLOCK
Subrata Banik08089922020-10-03 13:02:06 +053042 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banik21974ab2020-10-31 21:40:43 +053043 select SOC_INTEL_COMMON_BLOCK_CAR
Subrata Banik292afef2020-09-09 13:34:18 +053044 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Subrata Banikb3ced6a2020-08-04 13:34:03 +053045 select SOC_INTEL_COMMON_BLOCK_CPU
Subrata Banik2871e0e2020-09-27 11:30:58 +053046 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
47 select SOC_INTEL_COMMON_BLOCK_DTT
48 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
Subrata Banikb3ced6a2020-08-04 13:34:03 +053049 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
Subrata Banik2871e0e2020-09-27 11:30:58 +053050 select SOC_INTEL_COMMON_BLOCK_HDA
Subrata Banikb3ced6a2020-08-04 13:34:03 +053051 select SOC_INTEL_COMMON_BLOCK_SA
Subrata Banik2871e0e2020-09-27 11:30:58 +053052 select SOC_INTEL_COMMON_BLOCK_SMM
53 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053054 select SOC_INTEL_COMMON_FSP_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053055 select SOC_INTEL_COMMON_PCH_BASE
56 select SOC_INTEL_COMMON_RESET
Subrata Banikb3ced6a2020-08-04 13:34:03 +053057 select SSE2
58 select SUPPORT_CPU_UCODE_IN_CBFS
59 select TSC_MONOTONIC_TIMER
60 select UDELAY_TSC
Subrata Banikee735942020-09-07 17:52:23 +053061 select UDK_202005_BINDING
Subrata Banik2871e0e2020-09-27 11:30:58 +053062 select DISPLAY_FSP_VERSION_INFO
63 select HECI_DISABLE_USING_SMM
64
65config MAX_CPUS
66 int
67 default 24
Subrata Banikb3ced6a2020-08-04 13:34:03 +053068
69config DCACHE_RAM_BASE
70 default 0xfef00000
71
72config DCACHE_RAM_SIZE
73 default 0x80000
74 help
75 The size of the cache-as-ram region required during bootblock
76 and/or romstage.
77
78config DCACHE_BSP_STACK_SIZE
79 hex
80 default 0x40400
81 help
82 The amount of anticipated stack usage in CAR by bootblock and
83 other stages. In the case of FSP_USES_CB_STACK default value will be
84 sum of FSP-M stack requirement(256KiB) and CB romstage stack requirement
85 (~1KiB).
86
87config FSP_TEMP_RAM_SIZE
88 hex
89 default 0x20000
90 help
91 The amount of anticipated heap usage in CAR by FSP.
92 Refer to Platform FSP integration guide document to know
93 the exact FSP requirement for Heap setup.
94
95config IFD_CHIPSET
96 string
97 default "adl"
98
99config IED_REGION_SIZE
100 hex
101 default 0x400000
102
103config HEAP_SIZE
104 hex
105 default 0x10000
106
Subrata Banik2871e0e2020-09-27 11:30:58 +0530107config MAX_ROOT_PORTS
108 int
109 default 12
110
111config MAX_PCIE_CLOCKS
112 int
113 default 12
114
115config SMM_TSEG_SIZE
116 hex
117 default 0x800000
118
119config SMM_RESERVED_SIZE
120 hex
121 default 0x200000
122
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530123config PCR_BASE_ADDRESS
124 hex
125 default 0xfd000000
126 help
127 This option allows you to select MMIO Base Address of sideband bus.
128
129config MMCONF_BASE_ADDRESS
130 hex
131 default 0xc0000000
132
133config CPU_BCLK_MHZ
134 int
135 default 100
136
137config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
138 int
139 default 120
140
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200141config CPU_XTAL_HZ
142 default 38400000
143
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530144config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
145 int
146 default 133
147
148config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
149 int
150 default 7
151
152config SOC_INTEL_I2C_DEV_MAX
153 int
154 default 6
155
156config SOC_INTEL_UART_DEV_MAX
157 int
158 default 7
159
160config CONSOLE_UART_BASE_ADDRESS
161 hex
Bora Guvendik2a704192020-11-16 11:23:48 -0800162 default 0xfe03e000
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530163 depends on INTEL_LPSS_UART_FOR_CONSOLE
164
165# Clock divider parameters for 115200 baud rate
166# Baudrate = (UART source clcok * M) /(N *16)
167# ADL UART source clock: 120MHz
168config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
169 hex
170 default 0x25a
171
172config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
173 hex
174 default 0x7fff
175
176config CHROMEOS
177 select CHROMEOS_RAMOOPS_DYNAMIC
178
Subrata Banik292afef2020-09-09 13:34:18 +0530179config VBOOT
180 select VBOOT_SEPARATE_VERSTAGE
181 select VBOOT_MUST_REQUEST_DISPLAY
182 select VBOOT_STARTS_IN_BOOTBLOCK
183 select VBOOT_VBNV_CMOS
184 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
185
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530186config C_ENV_BOOTBLOCK_SIZE
187 hex
188 default 0xC000
189
190config CBFS_SIZE
191 hex
192 default 0x200000
193
194config PRERAM_CBMEM_CONSOLE_SIZE
195 hex
196 default 0x1400
Subrata Banik2871e0e2020-09-27 11:30:58 +0530197
Subrata Banikee735942020-09-07 17:52:23 +0530198config FSP_HEADER_PATH
199 string "Location of FSP headers"
200 default "src/vendorcode/intel/fsp/fsp2_0/alderlake/"
201
202config FSP_FD_PATH
203 string
204 depends on FSP_USE_REPO
205 default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd"
Subrata Banik292afef2020-09-09 13:34:18 +0530206
207config SOC_INTEL_ALDERLAKE_DEBUG_CONSENT
208 int "Debug Consent for ADL"
209 # USB DBC is more common for developers so make this default to 3 if
210 # SOC_INTEL_DEBUG_CONSENT=y
211 default 3 if SOC_INTEL_DEBUG_CONSENT
212 default 0
213 help
214 This is to control debug interface on SOC.
215 Setting non-zero value will allow to use DBC or DCI to debug SOC.
216 PlatformDebugConsent in FspmUpd.h has the details.
217
218 Desired platform debug type are
219 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
220 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
221 6:Enable (2-wire DCI OOB), 7:Manual
Subrata Banikb3ced6a2020-08-04 13:34:03 +0530222endif