blob: 0343263256d8aa0a63d9811ee147c14c76f8f04e [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
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053014 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Subrata Banikffb83be2019-04-29 13:58:43 +053015 select FSP_M_XIP
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053016 select GENERIC_GPIO_LIB
17 select HAVE_FSP_GOP
Johanna Schander8a6e0362019-12-08 15:54:09 +010018 select HAVE_INTEL_FSP_REPO
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053019 select INTEL_DESCRIPTOR_MODE_CAPABLE
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053020 select HAVE_SMI_HANDLER
21 select IDT_IN_EVERY_STAGE
22 select INTEL_GMA_ACPI
23 select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
24 select IOAPIC
25 select MRC_SETTINGS_PROTECT
26 select PARALLEL_MP
27 select PARALLEL_MP_AP_WORK
Nico Huberf5ca9222018-11-29 17:05:32 +010028 select MICROCODE_BLOB_UNDISCLOSED
Subrata Banik55fb6b42018-12-19 16:50:57 +053029 select PLATFORM_USES_FSP2_1
Jonathan Zhang01e38552020-06-17 16:03:18 -070030 select FSP_PEIM_TO_PEIM_INTERFACE
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053031 select REG_SCRIPT
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053032 select PMC_GLOBAL_RESET_ENABLE_LOCK
Subrata Banik0359d9d2020-09-28 18:43:47 +053033 select PMC_LOW_POWER_MODE_PROGRAM
Kyösti Mälkkif5c0d612019-08-14 13:02:41 +030034 select CPU_INTEL_COMMON_SMM
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053035 select SOC_INTEL_COMMON
36 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
37 select SOC_INTEL_COMMON_BLOCK
38 select SOC_INTEL_COMMON_BLOCK_ACPI
39 select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
40 select SOC_INTEL_COMMON_BLOCK_CPU
41 select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
42 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
43 select SOC_INTEL_COMMON_BLOCK_HDA
44 select SOC_INTEL_COMMON_BLOCK_SA
Duncan Laurie1e066112020-04-08 11:35:52 -070045 select SOC_INTEL_COMMON_BLOCK_SCS
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053046 select SOC_INTEL_COMMON_BLOCK_SMM
47 select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
Subrata Banik2fff3912020-01-16 10:13:28 +053048 select SOC_INTEL_COMMON_BLOCK_THERMAL
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053049 select SOC_INTEL_COMMON_PCH_BASE
50 select SOC_INTEL_COMMON_RESET
Arthur Heymansb6768372019-11-11 12:23:19 +010051 select SOC_INTEL_COMMON_BLOCK_CAR
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053052 select SSE2
53 select SUPPORT_CPU_UCODE_IN_CBFS
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053054 select TSC_MONOTONIC_TIMER
55 select UDELAY_TSC
56 select UDK_2017_BINDING
57 select DISPLAY_FSP_VERSION_INFO
Subrata Banika0368a02019-06-04 14:16:02 +053058 select HECI_DISABLE_USING_SMM
Subrata Banik94146002019-11-14 11:30:43 +053059 select USE_INTEL_FSP_TO_CALL_COREBOOT_PUBLISH_MP_PPI
Aamir Bohrac1d227d2020-07-16 09:03:06 +053060 select USE_CAR_NEM_ENHANCED_V1
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053061
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053062config DCACHE_RAM_BASE
63 default 0xfef00000
64
65config DCACHE_RAM_SIZE
66 default 0x40000
67 help
68 The size of the cache-as-ram region required during bootblock
69 and/or romstage.
70
71config DCACHE_BSP_STACK_SIZE
72 hex
Subrata Banik645f2442019-11-01 15:21:00 +053073 default 0x20400
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053074 help
75 The amount of anticipated stack usage in CAR by bootblock and
V Sowmya1dcc1702019-10-14 14:42:34 +053076 other stages. In the case of FSP_USES_CB_STACK default value will be
77 sum of FSP-M stack requirement (128KiB) and CB romstage stack requirement (~1KiB).
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053078
Subrata Banik1d260e62019-09-09 13:55:42 +053079config FSP_TEMP_RAM_SIZE
80 hex
Subrata Banik1d260e62019-09-09 13:55:42 +053081 default 0x10000
82 help
83 The amount of anticipated heap usage in CAR by FSP.
84 Refer to Platform FSP integration guide document to know
85 the exact FSP requirement for Heap setup.
86
Aamir Bohra3ee54bb2018-10-17 11:55:01 +053087config IFD_CHIPSET
88 string
89 default "icl"
90
91config IED_REGION_SIZE
92 hex
93 default 0x400000
94
95config HEAP_SIZE
96 hex
97 default 0x8000
98
99config MAX_ROOT_PORTS
100 int
101 default 16
102
103config SMM_TSEG_SIZE
104 hex
105 default 0x800000
106
107config SMM_RESERVED_SIZE
108 hex
109 default 0x200000
110
111config PCR_BASE_ADDRESS
112 hex
113 default 0xfd000000
114 help
115 This option allows you to select MMIO Base Address of sideband bus.
116
Subrata Banik26d706b2018-11-20 13:20:31 +0530117config MMCONF_BASE_ADDRESS
118 hex
119 default 0xc0000000
120
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530121config CPU_BCLK_MHZ
122 int
123 default 100
124
125config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
126 int
127 default 120
128
129config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
130 int
131 default 133
132
133config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
134 int
135 default 3
136
137config SOC_INTEL_I2C_DEV_MAX
138 int
139 default 6
140
Subrata Banik26d706b2018-11-20 13:20:31 +0530141config SOC_INTEL_UART_DEV_MAX
142 int
143 default 3
144
Nico Huber99954182019-05-29 23:33:06 +0200145config CONSOLE_UART_BASE_ADDRESS
146 hex
147 default 0xfe032000
148 depends on INTEL_LPSS_UART_FOR_CONSOLE
149
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530150# Clock divider parameters for 115200 baud rate
151config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
152 hex
153 default 0x30
154
155config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
156 hex
157 default 0xc35
158
159config CHROMEOS
160 select CHROMEOS_RAMOOPS_DYNAMIC
161
162config VBOOT
163 select VBOOT_SEPARATE_VERSTAGE
Joel Kitching6672bd82019-04-10 16:06:21 +0800164 select VBOOT_MUST_REQUEST_DISPLAY
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530165 select VBOOT_STARTS_IN_BOOTBLOCK
166 select VBOOT_VBNV_CMOS
167 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
168
169config C_ENV_BOOTBLOCK_SIZE
170 hex
Subrata Banik458297c2019-01-07 14:24:27 +0530171 default 0xC000
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530172
173config CBFS_SIZE
174 hex
175 default 0x200000
176
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530177config FSP_HEADER_PATH
Johanna Schanderf538d742019-12-08 11:04:09 +0100178 default "3rdparty/fsp/IceLakeFspBinPkg/Include"
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530179
180config FSP_FD_PATH
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530181 default "3rdparty/fsp/IceLakeFspBinPkg/Fsp.fd"
182
Subrata Banik56626cf2020-02-27 19:39:22 +0530183config SOC_INTEL_ICELAKE_DEBUG_CONSENT
184 int "Debug Consent for ICL"
185 # USB DBC is more common for developers so make this default to 3 if
186 # SOC_INTEL_DEBUG_CONSENT=y
187 default 3 if SOC_INTEL_DEBUG_CONSENT
188 default 0
189 help
190 This is to control debug interface on SOC.
191 Setting non-zero value will allow to use DBC or DCI to debug SOC.
192 PlatformDebugConsent in FspmUpd.h has the details.
193
194 Desired platform debug types are
195 0:Disabled, 1:Enabled (DCI OOB+[DbC]), 2:Enabled (DCI OOB),
196 3:Enabled (USB3 DbC), 4:Enabled (XDP/MIPI60), 5:Enabled (USB2 DbC),
197 6:Enable (2-wire DCI OOB), 7:Manual
198
Subrata Banikb14b55d2019-07-12 18:28:56 +0530199config ENABLE_DISPLAY_OVER_EXT_PCIE_GFX
200 bool "Enable display over external PCIE GFX card"
201 select ALWAYS_LOAD_OPROM
202 help
203 It's possible to bring display through external graphics card over PCIE
204 in coreboot. This option enables graphics initialization with external
205 graphics card.
206
207 Selected by mainboard that runs OpRom to perform display
208 initialization over attached PCIe GFX card.
209
Aamir Bohra3ee54bb2018-10-17 11:55:01 +0530210endif