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