blob: 14bbb813ba204859342c1eed49c27135c3bace2c [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
Aaron Durbine8e118d2016-08-12 15:00:10 -050015 select BOOT_DEVICE_SUPPORTS_WRITES
Duncan Lauriec88c54c2014-04-30 16:36:13 -070016 select CACHE_MRC_SETTINGS
Angel Pons3f0a95a2020-11-23 13:34:56 +010017 select CPU_INTEL_HASWELL
Duncan Laurief059b242015-01-15 15:42:43 -080018 select MRC_SETTINGS_PROTECT
Duncan Lauriec88c54c2014-04-30 16:36:13 -070019 select HAVE_SMI_HANDLER
Angel Ponsdd558fd2020-10-13 20:49:23 +020020 select SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS
Patrick Rudolph45022ae2018-10-01 19:17:11 +020021 select SOUTHBRIDGE_INTEL_COMMON_RESET
Arthur Heymans2abbe462019-06-04 14:12:01 +020022 select SOUTHBRIDGE_INTEL_COMMON_RTC
Kyösti Mälkkid1c69c62020-01-02 18:03:24 +020023 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans47a66032019-10-25 23:43:14 +020024 select SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9
Duncan Lauriec88c54c2014-04-30 16:36:13 -070025 select HAVE_USBDEBUG
26 select IOAPIC
Angel Pons3f0a95a2020-11-23 13:34:56 +010027 select INTEL_LYNXPOINT_LP
Duncan Lauriec88c54c2014-04-30 16:36:13 -070028 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050029 select RTC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070030 select SPI_FLASH
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070031 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020032 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020033 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Matt DeVillier773488f2017-10-18 12:27:25 -050034 select INTEL_GMA_ACPI
Nico Huber9faae2b2018-11-14 00:00:35 +010035 select HAVE_POWER_STATE_AFTER_FAILURE
36 select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070037
Youness Alaouib191c9f2017-05-08 15:22:03 -040038config PCIEXP_ASPM
39 bool
40 default y
41
Youness Alaoui71616782018-05-04 15:34:06 -040042config PCIEXP_AER
43 bool
44 default y
45
Youness Alaouib191c9f2017-05-08 15:22:03 -040046config PCIEXP_COMMON_CLOCK
47 bool
48 default y
49
50config PCIEXP_CLK_PM
51 bool
52 default y
53
54config PCIEXP_L1_SUB_STATE
55 bool
56 default y
57
Arthur Heymans4d56a062018-12-22 16:11:52 +010058config BROADWELL_VBOOT_IN_BOOTBLOCK
59 depends on VBOOT
60 bool "Start verstage in bootblock"
61 default y
62 select VBOOT_STARTS_IN_BOOTBLOCK
63 select VBOOT_SEPARATE_VERSTAGE
64 help
65 Broadwell can either start verstage in a separate stage
66 right after the bootblock has run or it can start it
67 after romstage for compatibility reasons.
68 Broadwell however uses a mrc.bin to initialse memory which
69 needs to be located at a fixed offset. Therefore even with
70 a separate verstage starting after the bootblock that same
71 binary is used meaning a jump is made from RW to the RO region
72 and back to the RW region after the binary is done.
73
Julius Werner1210b412017-03-27 19:26:32 -070074config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080075 select VBOOT_MUST_REQUEST_DISPLAY
Arthur Heymans4d56a062018-12-22 16:11:52 +010076 select VBOOT_STARTS_IN_ROMSTAGE if !BROADWELL_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070077
Duncan Lauriec88c54c2014-04-30 16:36:13 -070078config MMCONF_BASE_ADDRESS
79 hex
80 default 0xf0000000
81
Duncan Lauriec88c54c2014-04-30 16:36:13 -070082config VGA_BIOS_ID
83 string
84 default "8086,0406"
85
Duncan Lauriec88c54c2014-04-30 16:36:13 -070086config DCACHE_RAM_BASE
87 hex
88 default 0xff7c0000
89
90config DCACHE_RAM_SIZE
91 hex
92 default 0x10000
93 help
94 The size of the cache-as-ram region required during bootblock
95 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
96 must add up to a power of 2.
97
98config DCACHE_RAM_MRC_VAR_SIZE
99 hex
100 default 0x30000
101 help
102 The amount of cache-as-ram region required by the reference code.
103
Arthur Heymans5bb15f12018-12-22 16:02:25 +0100104config DCACHE_BSP_STACK_SIZE
105 hex
106 default 0x2000
107 help
108 The amount of anticipated stack usage in CAR by bootblock and
109 other stages.
110
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700111config HAVE_MRC
112 bool "Add a Memory Reference Code binary"
113 help
114 Select this option to add a Memory Reference Code binary to
115 the resulting coreboot image.
116
117 Note: Without this binary coreboot will not work
118
119if HAVE_MRC
120
121config MRC_FILE
122 string "Intel Memory Reference Code path and filename"
123 depends on HAVE_MRC
124 default "mrc.bin"
125 help
126 The filename of the file to use as Memory Reference Code binary.
127
128config MRC_BIN_ADDRESS
129 hex
130 default 0xfffa0000
131
Arthur Heymans4d56a062018-12-22 16:11:52 +0100132# The UEFI System Agent binary needs to be at a fixed offset in the flash
133# and can therefore only reside in the COREBOOT fmap region
134config RO_REGION_ONLY
135 string
136 depends on VBOOT
137 default "mrc.bin"
138
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700139endif # HAVE_MRC
140
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700141config PRE_GRAPHICS_DELAY
142 int "Graphics initialization delay in ms"
143 default 0
144 help
145 On some systems, coreboot boots so fast that connected monitors
146 (mostly TVs) won't be able to wake up fast enough to talk to the
147 VBIOS. On those systems we need to wait for a bit before executing
148 the VBIOS.
149
Duncan Laurie61680272014-05-05 12:42:35 -0500150config INTEL_PCH_UART_CONSOLE
151 bool "Use Serial IO UART for console"
152 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600153 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500154
155config INTEL_PCH_UART_CONSOLE_NUMBER
156 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600157 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500158 depends on INTEL_PCH_UART_CONSOLE
159
160config TTYS0_BASE
161 hex
162 default 0xd6000000
163 depends on INTEL_PCH_UART_CONSOLE
164
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700165config EHCI_BAR
166 hex
167 default 0xd8000000
168
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700169config SERIRQ_CONTINUOUS_MODE
170 bool
171 default y
172 help
173 If you set this option to y, the serial IRQ machine will be
174 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200175
176config HAVE_REFCODE_BLOB
177 depends on ARCH_X86
178 bool "An external reference code blob should be put into cbfs."
179 default n
180 help
181 The reference code blob will be placed into cbfs.
182
183if HAVE_REFCODE_BLOB
184
185config REFCODE_BLOB_FILE
186 string "Path and filename to reference code blob."
187 default "refcode.elf"
188 help
189 The path and filename to the file to be added to cbfs.
190
191endif # HAVE_REFCODE_BLOB
192
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700193endif