blob: 5d8d6021210d2dfe7e0707c1c76de94287f37bb5 [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
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Aaron Durbin9e6d1432016-07-13 23:21:41 -050010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Duncan Lauriec88c54c2014-04-30 16:36:13 -070011 select ARCH_BOOTBLOCK_X86_32
Stefan Reinauer77b16552015-01-14 19:51:47 +010012 select ARCH_VERSTAGE_X86_32
Duncan Lauriec88c54c2014-04-30 16:36:13 -070013 select ARCH_ROMSTAGE_X86_32
14 select ARCH_RAMSTAGE_X86_32
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
Duncan Laurief059b242015-01-15 15:42:43 -080017 select MRC_SETTINGS_PROTECT
Alexandru Gagniuc27fea062015-08-29 20:00:24 -070018 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070019 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020020 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070021 select HAVE_MONOTONIC_TIMER
22 select HAVE_SMI_HANDLER
23 select HAVE_HARD_RESET
24 select HAVE_USBDEBUG
25 select IOAPIC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070026 select RELOCATABLE_MODULES
Marc Jonesa6354a12014-12-26 22:11:14 -070027 select RELOCATABLE_RAMSTAGE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070028 select REG_SCRIPT
29 select PARALLEL_MP
Aaron Durbin16246ea2016-08-05 21:23:37 -050030 select RTC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070031 select SMM_TSEG
32 select SMP
33 select SPI_FLASH
34 select SSE2
Marc Jonesa6354a12014-12-26 22:11:14 -070035 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070036 select TSC_CONSTANT_RATE
37 select TSC_SYNC_MFENCE
38 select UDELAY_TSC
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070039 select SOC_INTEL_COMMON
Martin Roth3fda3c22015-07-09 21:02:26 -060040 select HAVE_INTEL_FIRMWARE
Duncan Laurie81a4c852015-09-08 16:10:30 -070041 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Martin Roth3a543182015-09-28 15:27:24 -060042 select HAVE_SPI_CONSOLE_SUPPORT
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060043 select CPU_INTEL_COMMON
Matt DeVillier773488f2017-10-18 12:27:25 -050044 select INTEL_GMA_ACPI
Duncan Lauriec88c54c2014-04-30 16:36:13 -070045
Youness Alaouib191c9f2017-05-08 15:22:03 -040046config PCIEXP_ASPM
47 bool
48 default y
49
Youness Alaoui71616782018-05-04 15:34:06 -040050config PCIEXP_AER
51 bool
52 default y
53
Youness Alaouib191c9f2017-05-08 15:22:03 -040054config PCIEXP_COMMON_CLOCK
55 bool
56 default y
57
58config PCIEXP_CLK_PM
59 bool
60 default y
61
62config PCIEXP_L1_SUB_STATE
63 bool
64 default y
65
Julius Werner1210b412017-03-27 19:26:32 -070066config VBOOT
67 select VBOOT_STARTS_IN_ROMSTAGE
68
Duncan Lauriec88c54c2014-04-30 16:36:13 -070069config BOOTBLOCK_CPU_INIT
70 string
71 default "soc/intel/broadwell/bootblock/cpu.c"
72
73config BOOTBLOCK_NORTHBRIDGE_INIT
74 string
75 default "soc/intel/broadwell/bootblock/systemagent.c"
76
77config BOOTBLOCK_SOUTHBRIDGE_INIT
78 string
79 default "soc/intel/broadwell/bootblock/pch.c"
80
Duncan Lauriec88c54c2014-04-30 16:36:13 -070081config MMCONF_BASE_ADDRESS
82 hex
83 default 0xf0000000
84
85config SERIAL_CPU_INIT
86 bool
87 default n
88
89config SMM_TSEG_SIZE
90 hex
91 default 0x800000
92
93config IED_REGION_SIZE
94 hex
95 default 0x400000
96
97config SMM_RESERVED_SIZE
98 hex
99 default 0x100000
100
101config VGA_BIOS_ID
102 string
103 default "8086,0406"
104
105config CACHE_MRC_SIZE_KB
106 int
107 default 512
108
109config DCACHE_RAM_BASE
110 hex
111 default 0xff7c0000
112
113config DCACHE_RAM_SIZE
114 hex
115 default 0x10000
116 help
117 The size of the cache-as-ram region required during bootblock
118 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
119 must add up to a power of 2.
120
121config DCACHE_RAM_MRC_VAR_SIZE
122 hex
123 default 0x30000
124 help
125 The amount of cache-as-ram region required by the reference code.
126
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700127config HAVE_MRC
128 bool "Add a Memory Reference Code binary"
129 help
130 Select this option to add a Memory Reference Code binary to
131 the resulting coreboot image.
132
133 Note: Without this binary coreboot will not work
134
135if HAVE_MRC
136
137config MRC_FILE
138 string "Intel Memory Reference Code path and filename"
139 depends on HAVE_MRC
140 default "mrc.bin"
141 help
142 The filename of the file to use as Memory Reference Code binary.
143
144config MRC_BIN_ADDRESS
145 hex
146 default 0xfffa0000
147
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700148endif # HAVE_MRC
149
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700150config PRE_GRAPHICS_DELAY
151 int "Graphics initialization delay in ms"
152 default 0
153 help
154 On some systems, coreboot boots so fast that connected monitors
155 (mostly TVs) won't be able to wake up fast enough to talk to the
156 VBIOS. On those systems we need to wait for a bit before executing
157 the VBIOS.
158
159config RESET_ON_INVALID_RAMSTAGE_CACHE
160 bool "Reset the system on S3 wake when ramstage cache invalid."
161 default n
162 depends on RELOCATABLE_RAMSTAGE
163 help
164 The romstage code caches the loaded ramstage program in SMM space.
165 On S3 wake the romstage will copy over a fresh ramstage that was
166 cached in the SMM space. This option determines the action to take
167 when the ramstage cache is invalid. If selected the system will
168 reset otherwise the ramstage will be reloaded from cbfs.
169
Duncan Laurie61680272014-05-05 12:42:35 -0500170config INTEL_PCH_UART_CONSOLE
171 bool "Use Serial IO UART for console"
172 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600173 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500174
175config INTEL_PCH_UART_CONSOLE_NUMBER
176 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600177 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500178 depends on INTEL_PCH_UART_CONSOLE
179
180config TTYS0_BASE
181 hex
182 default 0xd6000000
183 depends on INTEL_PCH_UART_CONSOLE
184
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700185config EHCI_BAR
186 hex
187 default 0xd8000000
188
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700189config SERIRQ_CONTINUOUS_MODE
190 bool
191 default y
192 help
193 If you set this option to y, the serial IRQ machine will be
194 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200195
196config HAVE_REFCODE_BLOB
197 depends on ARCH_X86
198 bool "An external reference code blob should be put into cbfs."
199 default n
200 help
201 The reference code blob will be placed into cbfs.
202
203if HAVE_REFCODE_BLOB
204
205config REFCODE_BLOB_FILE
206 string "Path and filename to reference code blob."
207 default "refcode.elf"
208 help
209 The path and filename to the file to be added to cbfs.
210
211endif # HAVE_REFCODE_BLOB
212
Marc Jonesa6354a12014-12-26 22:11:14 -0700213config HAVE_ME_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -0600214 def_bool y
Marc Jonesa6354a12014-12-26 22:11:14 -0700215
216config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -0600217 def_bool !HAVE_IFD_BIN
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700218
Aaron Durbin3953e392015-09-03 00:41:29 -0500219config CHIPSET_BOOTBLOCK_INCLUDE
220 string
221 default "soc/intel/broadwell/bootblock/timestamp.inc"
222
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700223endif