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