blob: 06621f159f95d24bef198eae17729598e9473c04 [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
Kyösti Mälkki4abc7312021-01-12 17:46:30 +020014 select ACPI_HAS_DEVICE_NVS
Aaron Durbin9e6d1432016-07-13 23:21:41 -050015 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Aaron Durbine8e118d2016-08-12 15:00:10 -050016 select BOOT_DEVICE_SUPPORTS_WRITES
Duncan Lauriec88c54c2014-04-30 16:36:13 -070017 select CACHE_MRC_SETTINGS
Angel Pons3f0a95a2020-11-23 13:34:56 +010018 select CPU_INTEL_HASWELL
Duncan Laurief059b242015-01-15 15:42:43 -080019 select MRC_SETTINGS_PROTECT
Duncan Lauriec88c54c2014-04-30 16:36:13 -070020 select HAVE_SMI_HANDLER
Angel Ponsdd558fd2020-10-13 20:49:23 +020021 select SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS
Patrick Rudolph45022ae2018-10-01 19:17:11 +020022 select SOUTHBRIDGE_INTEL_COMMON_RESET
Arthur Heymans2abbe462019-06-04 14:12:01 +020023 select SOUTHBRIDGE_INTEL_COMMON_RTC
Kyösti Mälkkid1c69c62020-01-02 18:03:24 +020024 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans47a66032019-10-25 23:43:14 +020025 select SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9
Duncan Lauriec88c54c2014-04-30 16:36:13 -070026 select HAVE_USBDEBUG
27 select IOAPIC
Angel Pons3f0a95a2020-11-23 13:34:56 +010028 select INTEL_LYNXPOINT_LP
Duncan Lauriec88c54c2014-04-30 16:36:13 -070029 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050030 select RTC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070031 select SPI_FLASH
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070032 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020033 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020034 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Matt DeVillier773488f2017-10-18 12:27:25 -050035 select INTEL_GMA_ACPI
Nico Huber9faae2b2018-11-14 00:00:35 +010036 select HAVE_POWER_STATE_AFTER_FAILURE
37 select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070038
Youness Alaouib191c9f2017-05-08 15:22:03 -040039config PCIEXP_ASPM
40 bool
41 default y
42
Youness Alaoui71616782018-05-04 15:34:06 -040043config PCIEXP_AER
44 bool
45 default y
46
Youness Alaouib191c9f2017-05-08 15:22:03 -040047config PCIEXP_COMMON_CLOCK
48 bool
49 default y
50
51config PCIEXP_CLK_PM
52 bool
53 default y
54
55config PCIEXP_L1_SUB_STATE
56 bool
57 default y
58
Arthur Heymans4d56a062018-12-22 16:11:52 +010059config BROADWELL_VBOOT_IN_BOOTBLOCK
60 depends on VBOOT
61 bool "Start verstage in bootblock"
62 default y
63 select VBOOT_STARTS_IN_BOOTBLOCK
64 select VBOOT_SEPARATE_VERSTAGE
65 help
66 Broadwell can either start verstage in a separate stage
67 right after the bootblock has run or it can start it
68 after romstage for compatibility reasons.
69 Broadwell however uses a mrc.bin to initialse memory which
70 needs to be located at a fixed offset. Therefore even with
71 a separate verstage starting after the bootblock that same
72 binary is used meaning a jump is made from RW to the RO region
73 and back to the RW region after the binary is done.
74
Julius Werner1210b412017-03-27 19:26:32 -070075config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080076 select VBOOT_MUST_REQUEST_DISPLAY
Arthur Heymans4d56a062018-12-22 16:11:52 +010077 select VBOOT_STARTS_IN_ROMSTAGE if !BROADWELL_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070078
Duncan Lauriec88c54c2014-04-30 16:36:13 -070079config MMCONF_BASE_ADDRESS
80 hex
81 default 0xf0000000
82
Duncan Lauriec88c54c2014-04-30 16:36:13 -070083config VGA_BIOS_ID
84 string
85 default "8086,0406"
86
Duncan Lauriec88c54c2014-04-30 16:36:13 -070087config DCACHE_RAM_BASE
88 hex
89 default 0xff7c0000
90
91config DCACHE_RAM_SIZE
92 hex
93 default 0x10000
94 help
95 The size of the cache-as-ram region required during bootblock
96 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
97 must add up to a power of 2.
98
99config DCACHE_RAM_MRC_VAR_SIZE
100 hex
101 default 0x30000
102 help
103 The amount of cache-as-ram region required by the reference code.
104
Arthur Heymans5bb15f12018-12-22 16:02:25 +0100105config DCACHE_BSP_STACK_SIZE
106 hex
107 default 0x2000
108 help
109 The amount of anticipated stack usage in CAR by bootblock and
110 other stages.
111
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700112config HAVE_MRC
113 bool "Add a Memory Reference Code binary"
114 help
115 Select this option to add a Memory Reference Code binary to
116 the resulting coreboot image.
117
118 Note: Without this binary coreboot will not work
119
120if HAVE_MRC
121
122config MRC_FILE
123 string "Intel Memory Reference Code path and filename"
124 depends on HAVE_MRC
125 default "mrc.bin"
126 help
127 The filename of the file to use as Memory Reference Code binary.
128
129config MRC_BIN_ADDRESS
130 hex
131 default 0xfffa0000
132
Arthur Heymans4d56a062018-12-22 16:11:52 +0100133# The UEFI System Agent binary needs to be at a fixed offset in the flash
134# and can therefore only reside in the COREBOOT fmap region
135config RO_REGION_ONLY
136 string
137 depends on VBOOT
138 default "mrc.bin"
139
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700140endif # HAVE_MRC
141
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700142config PRE_GRAPHICS_DELAY
143 int "Graphics initialization delay in ms"
144 default 0
145 help
146 On some systems, coreboot boots so fast that connected monitors
147 (mostly TVs) won't be able to wake up fast enough to talk to the
148 VBIOS. On those systems we need to wait for a bit before executing
149 the VBIOS.
150
Duncan Laurie61680272014-05-05 12:42:35 -0500151config INTEL_PCH_UART_CONSOLE
152 bool "Use Serial IO UART for console"
153 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600154 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500155
156config INTEL_PCH_UART_CONSOLE_NUMBER
157 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600158 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500159 depends on INTEL_PCH_UART_CONSOLE
160
161config TTYS0_BASE
162 hex
163 default 0xd6000000
164 depends on INTEL_PCH_UART_CONSOLE
165
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700166config EHCI_BAR
167 hex
168 default 0xd8000000
169
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700170config SERIRQ_CONTINUOUS_MODE
171 bool
172 default y
173 help
174 If you set this option to y, the serial IRQ machine will be
175 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200176
177config HAVE_REFCODE_BLOB
178 depends on ARCH_X86
179 bool "An external reference code blob should be put into cbfs."
180 default n
181 help
182 The reference code blob will be placed into cbfs.
183
184if HAVE_REFCODE_BLOB
185
186config REFCODE_BLOB_FILE
187 string "Path and filename to reference code blob."
188 default "refcode.elf"
189 help
190 The path and filename to the file to be added to cbfs.
191
192endif # HAVE_REFCODE_BLOB
193
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700194endif