blob: 7f27026d575928ed83bcc8c14ee196a1269817c6 [file] [log] [blame]
Duncan Lauriec88c54c2014-04-30 16:36:13 -07001config SOC_INTEL_BROADWELL
2 bool
3 help
4 Intel Broadwell and Haswell ULT support.
5
6if SOC_INTEL_BROADWELL
7
Angel Pons417a6da2020-10-29 13:19:48 +01008config INTEL_LYNXPOINT_LP
9 bool
10 default y if SOC_INTEL_BROADWELL
11
Angel Ponsa3288b32020-11-23 13:00:51 +010012config SOC_SPECIFIC_OPTIONS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070013 def_bool y
Aaron Durbin9e6d1432016-07-13 23:21:41 -050014 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Angel Ponsa32df262020-09-25 10:20:11 +020015 select ARCH_ALL_STAGES_X86_32
Shelley Chen6c2568f2020-09-25 09:30:44 -070016 select BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
Aaron Durbine8e118d2016-08-12 15:00:10 -050017 select BOOT_DEVICE_SUPPORTS_WRITES
Duncan Lauriec88c54c2014-04-30 16:36:13 -070018 select CACHE_MRC_SETTINGS
Duncan Laurief059b242015-01-15 15:42:43 -080019 select MRC_SETTINGS_PROTECT
Sumeet R Pawnikarfa42d562020-05-08 22:18:09 +053020 select CPU_INTEL_COMMON
Duncan Lauriec88c54c2014-04-30 16:36:13 -070021 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020022 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070023 select HAVE_SMI_HANDLER
Angel Ponsdd558fd2020-10-13 20:49:23 +020024 select SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS
Patrick Rudolph45022ae2018-10-01 19:17:11 +020025 select SOUTHBRIDGE_INTEL_COMMON_RESET
Arthur Heymans2abbe462019-06-04 14:12:01 +020026 select SOUTHBRIDGE_INTEL_COMMON_RTC
Kyösti Mälkkid1c69c62020-01-02 18:03:24 +020027 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans47a66032019-10-25 23:43:14 +020028 select SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9
Duncan Lauriec88c54c2014-04-30 16:36:13 -070029 select HAVE_USBDEBUG
30 select IOAPIC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070031 select REG_SCRIPT
32 select PARALLEL_MP
Aaron Durbin16246ea2016-08-05 21:23:37 -050033 select RTC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070034 select SPI_FLASH
35 select SSE2
Duncan Lauriec88c54c2014-04-30 16:36:13 -070036 select TSC_SYNC_MFENCE
37 select UDELAY_TSC
Kyösti Mälkki5b15e012019-11-01 10:25:50 +020038 select TSC_MONOTONIC_TIMER
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070039 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020040 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020041 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Matt DeVillier773488f2017-10-18 12:27:25 -050042 select INTEL_GMA_ACPI
Nico Huber9faae2b2018-11-14 00:00:35 +010043 select HAVE_POWER_STATE_AFTER_FAILURE
44 select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070045
Felix Singer9990a172021-01-05 19:49:48 +010046config MAX_CPUS
47 int
48 default 8
49
Youness Alaouib191c9f2017-05-08 15:22:03 -040050config PCIEXP_ASPM
51 bool
52 default y
53
Youness Alaoui71616782018-05-04 15:34:06 -040054config PCIEXP_AER
55 bool
56 default y
57
Youness Alaouib191c9f2017-05-08 15:22:03 -040058config PCIEXP_COMMON_CLOCK
59 bool
60 default y
61
62config PCIEXP_CLK_PM
63 bool
64 default y
65
66config PCIEXP_L1_SUB_STATE
67 bool
68 default y
69
Arthur Heymans4d56a062018-12-22 16:11:52 +010070config BROADWELL_VBOOT_IN_BOOTBLOCK
71 depends on VBOOT
72 bool "Start verstage in bootblock"
73 default y
74 select VBOOT_STARTS_IN_BOOTBLOCK
75 select VBOOT_SEPARATE_VERSTAGE
76 help
77 Broadwell can either start verstage in a separate stage
78 right after the bootblock has run or it can start it
79 after romstage for compatibility reasons.
80 Broadwell however uses a mrc.bin to initialse memory which
81 needs to be located at a fixed offset. Therefore even with
82 a separate verstage starting after the bootblock that same
83 binary is used meaning a jump is made from RW to the RO region
84 and back to the RW region after the binary is done.
85
Julius Werner1210b412017-03-27 19:26:32 -070086config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080087 select VBOOT_MUST_REQUEST_DISPLAY
Arthur Heymans4d56a062018-12-22 16:11:52 +010088 select VBOOT_STARTS_IN_ROMSTAGE if !BROADWELL_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070089
Duncan Lauriec88c54c2014-04-30 16:36:13 -070090config MMCONF_BASE_ADDRESS
91 hex
92 default 0xf0000000
93
Duncan Lauriec88c54c2014-04-30 16:36:13 -070094config SMM_TSEG_SIZE
95 hex
96 default 0x800000
97
98config IED_REGION_SIZE
99 hex
100 default 0x400000
101
102config SMM_RESERVED_SIZE
103 hex
104 default 0x100000
105
106config VGA_BIOS_ID
107 string
108 default "8086,0406"
109
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700110config DCACHE_RAM_BASE
111 hex
112 default 0xff7c0000
113
114config DCACHE_RAM_SIZE
115 hex
116 default 0x10000
117 help
118 The size of the cache-as-ram region required during bootblock
119 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
120 must add up to a power of 2.
121
122config DCACHE_RAM_MRC_VAR_SIZE
123 hex
124 default 0x30000
125 help
126 The amount of cache-as-ram region required by the reference code.
127
Arthur Heymans5bb15f12018-12-22 16:02:25 +0100128config DCACHE_BSP_STACK_SIZE
129 hex
130 default 0x2000
131 help
132 The amount of anticipated stack usage in CAR by bootblock and
133 other stages.
134
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700135config HAVE_MRC
136 bool "Add a Memory Reference Code binary"
137 help
138 Select this option to add a Memory Reference Code binary to
139 the resulting coreboot image.
140
141 Note: Without this binary coreboot will not work
142
143if HAVE_MRC
144
145config MRC_FILE
146 string "Intel Memory Reference Code path and filename"
147 depends on HAVE_MRC
148 default "mrc.bin"
149 help
150 The filename of the file to use as Memory Reference Code binary.
151
152config MRC_BIN_ADDRESS
153 hex
154 default 0xfffa0000
155
Arthur Heymans4d56a062018-12-22 16:11:52 +0100156# The UEFI System Agent binary needs to be at a fixed offset in the flash
157# and can therefore only reside in the COREBOOT fmap region
158config RO_REGION_ONLY
159 string
160 depends on VBOOT
161 default "mrc.bin"
162
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700163endif # HAVE_MRC
164
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700165config PRE_GRAPHICS_DELAY
166 int "Graphics initialization delay in ms"
167 default 0
168 help
169 On some systems, coreboot boots so fast that connected monitors
170 (mostly TVs) won't be able to wake up fast enough to talk to the
171 VBIOS. On those systems we need to wait for a bit before executing
172 the VBIOS.
173
Duncan Laurie61680272014-05-05 12:42:35 -0500174config INTEL_PCH_UART_CONSOLE
175 bool "Use Serial IO UART for console"
176 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600177 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500178
179config INTEL_PCH_UART_CONSOLE_NUMBER
180 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600181 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500182 depends on INTEL_PCH_UART_CONSOLE
183
184config TTYS0_BASE
185 hex
186 default 0xd6000000
187 depends on INTEL_PCH_UART_CONSOLE
188
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700189config EHCI_BAR
190 hex
191 default 0xd8000000
192
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700193config SERIRQ_CONTINUOUS_MODE
194 bool
195 default y
196 help
197 If you set this option to y, the serial IRQ machine will be
198 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200199
200config HAVE_REFCODE_BLOB
201 depends on ARCH_X86
202 bool "An external reference code blob should be put into cbfs."
203 default n
204 help
205 The reference code blob will be placed into cbfs.
206
207if HAVE_REFCODE_BLOB
208
209config REFCODE_BLOB_FILE
210 string "Path and filename to reference code blob."
211 default "refcode.elf"
212 help
213 The path and filename to the file to be added to cbfs.
214
215endif # HAVE_REFCODE_BLOB
216
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700217endif