blob: fee52e63a804f0bd1bd1bf30c87b17ad311f7c30 [file] [log] [blame]
Aamir Bohra3ee54bb2018-10-17 11:55:01 +05301config SOC_INTEL_ICELAKE
2 bool
3 help
4 Intel Icelake support
5
6if SOC_INTEL_ICELAKE
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
10 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Angel Ponsa32df262020-09-25 10:20:11 +020011 select ARCH_ALL_STAGES_X86_32
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053012 select BOOT_DEVICE_SUPPORTS_WRITES
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053013 select CACHE_MRC_SETTINGS
Michael Niewöhner6f1754d2020-09-29 17:26:58 +020014 select CPU_INTEL_COMMON
15 select SET_IA32_FC_LOCK_BIT
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053016 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Michael Niewöhnerfe6070f2020-10-04 15:16:04 +020017 select CPU_SUPPORTS_PM_TIMER_EMULATION
Subrata Banikffb83be2019-04-29 13:58:43 +053018 select FSP_M_XIP
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053019 select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053020 select GENERIC_GPIO_LIB
21 select HAVE_FSP_GOP
Johanna Schander8a6e0362019-12-08 15:54:09 +010022 select HAVE_INTEL_FSP_REPO
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053023 select INTEL_DESCRIPTOR_MODE_CAPABLE
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053024 select HAVE_SMI_HANDLER
25 select IDT_IN_EVERY_STAGE
Shreesh Chhabbi87c7ec72020-12-03 14:07:15 -080026 select INTEL_CAR_NEM_ENHANCED
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053027 select INTEL_GMA_ACPI
28 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
29 select IOAPIC
30 select MRC_SETTINGS_PROTECT
31 select PARALLEL_MP
32 select PARALLEL_MP_AP_WORK
Nico Huberf5ca9222018-11-29 17:05:32 +010033 select MICROCODE_BLOB_UNDISCLOSED
Subrata Banik55fb6b42018-12-19 16:50:57 +053034 select PLATFORM_USES_FSP2_1
Jonathan Zhang01e38552020-06-17 16:03:18 -070035 select FSP_PEIM_TO_PEIM_INTERFACE
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053036 select REG_SCRIPT
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053037 select PMC_GLOBAL_RESET_ENABLE_LOCK
Subrata Banik0359d9d2020-09-28 18:43:47 +053038 select PMC_LOW_POWER_MODE_PROGRAM
Michael Niewöhner10ae1cf2020-10-11 14:05:32 +020039 select CPU_INTEL_COMMON
Kyösti Mälkkif5c0d612019-08-14 13:02:41 +030040 select CPU_INTEL_COMMON_SMM
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053041 select SOC_INTEL_COMMON
42 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
43 select SOC_INTEL_COMMON_BLOCK
44 select SOC_INTEL_COMMON_BLOCK_ACPI
Subrata Banik21974ab2020-10-31 21:40:43 +053045 select SOC_INTEL_COMMON_BLOCK_CAR
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053046 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
Furquan Shaikh23e88132020-10-08 23:44:20 -070047 select SOC_INTEL_COMMON_BLOCK_CNVI
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053048 select SOC_INTEL_COMMON_BLOCK_CPU
49 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
50 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
51 select SOC_INTEL_COMMON_BLOCK_HDA
52 select SOC_INTEL_COMMON_BLOCK_SA
Duncan Laurie1e066112020-04-08 11:35:52 -070053 select SOC_INTEL_COMMON_BLOCK_SCS
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053054 select SOC_INTEL_COMMON_BLOCK_SMM
55 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Subrata Banik2fff3912020-01-16 10:13:28 +053056 select SOC_INTEL_COMMON_BLOCK_THERMAL
Subrata Banik4ed9f9a2020-10-31 22:01:55 +053057 select SOC_INTEL_COMMON_FSP_RESET
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053058 select SOC_INTEL_COMMON_PCH_BASE
59 select SOC_INTEL_COMMON_RESET
60 select SSE2
61 select SUPPORT_CPU_UCODE_IN_CBFS
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053062 select TSC_MONOTONIC_TIMER
63 select UDELAY_TSC
64 select UDK_2017_BINDING
65 select DISPLAY_FSP_VERSION_INFO
Subrata Banika0368a02019-06-04 14:16:02 +053066 select HECI_DISABLE_USING_SMM
Subrata Banik94146002019-11-14 11:30:43 +053067 select USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053068
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053069config DCACHE_RAM_BASE
70 default 0xfef00000
71
72config DCACHE_RAM_SIZE
73 default 0x40000
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
Subrata Banik645f2442019-11-01 15:21:00 +053080 default 0x20400
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053081 help
82 The amount of anticipated stack usage in CAR by bootblock and
V Sowmya1dcc1702019-10-14 14:42:34 +053083 other stages. In the case of FSP_USES_CB_STACK default value will be
84 sum of FSP-M stack requirement (128KiB) and CB romstage stack requirement (~1KiB).
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053085
Subrata Banik1d260e62019-09-09 13:55:42 +053086config FSP_TEMP_RAM_SIZE
87 hex
Subrata Banik1d260e62019-09-09 13:55:42 +053088 default 0x10000
89 help
90 The amount of anticipated heap usage in CAR by FSP.
91 Refer to Platform FSP integration guide document to know
92 the exact FSP requirement for Heap setup.
93
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053094config IFD_CHIPSET
95 string
96 default "icl"
97
98config IED_REGION_SIZE
99 hex
100 default 0x400000
101
102config HEAP_SIZE
103 hex
104 default 0x8000
105
106config MAX_ROOT_PORTS
107 int
108 default 16
109
110config SMM_TSEG_SIZE
111 hex
112 default 0x800000
113
114config SMM_RESERVED_SIZE
115 hex
116 default 0x200000
117
118config PCR_BASE_ADDRESS
119 hex
120 default 0xfd000000
121 help
122 This option allows you to select MMIO Base Address of sideband bus.
123
Subrata Banik26d706b2018-11-20 13:20:31 +0530124config MMCONF_BASE_ADDRESS
125 hex
126 default 0xc0000000
127
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530128config CPU_BCLK_MHZ
129 int
130 default 100
131
132config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
133 int
134 default 120
135
Michael Niewöhnerdadcbfb2020-10-04 14:48:05 +0200136config CPU_XTAL_HZ
137 default 38400000
138
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530139config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
140 int
141 default 133
142
143config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
144 int
145 default 3
146
147config SOC_INTEL_I2C_DEV_MAX
148 int
149 default 6
150
Subrata Banik26d706b2018-11-20 13:20:31 +0530151config SOC_INTEL_UART_DEV_MAX
152 int
153 default 3
154
Nico Huber99954182019-05-29 23:33:06 +0200155config CONSOLE_UART_BASE_ADDRESS
156 hex
157 default 0xfe032000
158 depends on INTEL_LPSS_UART_FOR_CONSOLE
159
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530160# Clock divider parameters for 115200 baud rate
161config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
162 hex
163 default 0x30
164
165config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
166 hex
167 default 0xc35
168
169config CHROMEOS
170 select CHROMEOS_RAMOOPS_DYNAMIC
171
172config VBOOT
173 select VBOOT_SEPARATE_VERSTAGE
Joel Kitching6672bd82019-04-10 16:06:21 +0800174 select VBOOT_MUST_REQUEST_DISPLAY
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530175 select VBOOT_STARTS_IN_BOOTBLOCK
176 select VBOOT_VBNV_CMOS
177 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
178
179config C_ENV_BOOTBLOCK_SIZE
180 hex
Subrata Banik458297c2019-01-07 14:24:27 +0530181 default 0xC000
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530182
183config CBFS_SIZE
184 hex
185 default 0x200000
186
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530187config FSP_HEADER_PATH
Johanna Schanderf538d742019-12-08 11:04:09 +0100188 default "3rdparty/fsp/IceLakeFspBinPkg/Include"
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530189
190config FSP_FD_PATH
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530191 default "3rdparty/fsp/IceLakeFspBinPkg/Fsp.fd"
192
Subrata Banik56626cf2020-02-27 19:39:22 +0530193config SOC_INTEL_ICELAKE_DEBUG_CONSENT
194 int "Debug Consent for ICL"
195 # USB DBC is more common for developers so make this default to 3 if
196 # SOC_INTEL_DEBUG_CONSENT=y
197 default 3 if SOC_INTEL_DEBUG_CONSENT
198 default 0
199 help
200 This is to control debug interface on SOC.
201 Setting non-zero value will allow to use DBC or DCI to debug SOC.
202 PlatformDebugConsent in FspmUpd.h has the details.
203
204 Desired platform debug types are
205 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
206 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
207 6:Enable (2-wire DCI OOB), 7:Manual
208
Subrata Banikb14b55d2019-07-12 18:28:56 +0530209config ENABLE_DISPLAY_OVER_EXT_PCIE_GFX
210 bool "Enable display over external PCIE GFX card"
211 select ALWAYS_LOAD_OPROM
212 help
213 It's possible to bring display through external graphics card over PCIE
214 in coreboot. This option enables graphics initialization with external
215 graphics card.
216
217 Selected by mainboard that runs OpRom to perform display
218 initialization over attached PCIe GFX card.
219
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530220endif