blob: 1a8349d08f586c520f437d25cb6400a95857b974 [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
Kyösti Mälkki730df3c2016-06-18 07:39:31 +030018 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
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
Patrick Rudolph45022ae2018-10-01 19:17:11 +020023 select SOUTHBRIDGE_INTEL_COMMON_RESET
Duncan Lauriec88c54c2014-04-30 16:36:13 -070024 select HAVE_USBDEBUG
25 select IOAPIC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070026 select REG_SCRIPT
27 select PARALLEL_MP
Aaron Durbin16246ea2016-08-05 21:23:37 -050028 select RTC
Duncan Lauriec88c54c2014-04-30 16:36:13 -070029 select SMM_TSEG
30 select SMP
31 select SPI_FLASH
32 select SSE2
33 select TSC_CONSTANT_RATE
34 select TSC_SYNC_MFENCE
35 select UDELAY_TSC
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070036 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020037 select INTEL_DESCRIPTOR_MODE_CAPABLE
Duncan Laurie81a4c852015-09-08 16:10:30 -070038 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Martin Roth3a543182015-09-28 15:27:24 -060039 select HAVE_SPI_CONSOLE_SUPPORT
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060040 select CPU_INTEL_COMMON
Matt DeVillier773488f2017-10-18 12:27:25 -050041 select INTEL_GMA_ACPI
Arthur Heymans90cca542018-11-29 13:36:54 +010042 select POSTCAR_STAGE
43 select POSTCAR_CONSOLE
Nico Huber9faae2b2018-11-14 00:00:35 +010044 select HAVE_POWER_STATE_AFTER_FAILURE
45 select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070046
Youness Alaouib191c9f2017-05-08 15:22:03 -040047config PCIEXP_ASPM
48 bool
49 default y
50
Youness Alaoui71616782018-05-04 15:34:06 -040051config PCIEXP_AER
52 bool
53 default y
54
Youness Alaouib191c9f2017-05-08 15:22:03 -040055config PCIEXP_COMMON_CLOCK
56 bool
57 default y
58
59config PCIEXP_CLK_PM
60 bool
61 default y
62
63config PCIEXP_L1_SUB_STATE
64 bool
65 default y
66
Julius Werner1210b412017-03-27 19:26:32 -070067config VBOOT
68 select VBOOT_STARTS_IN_ROMSTAGE
69
Duncan Lauriec88c54c2014-04-30 16:36:13 -070070config BOOTBLOCK_CPU_INIT
71 string
72 default "soc/intel/broadwell/bootblock/cpu.c"
73
74config BOOTBLOCK_NORTHBRIDGE_INIT
75 string
76 default "soc/intel/broadwell/bootblock/systemagent.c"
77
78config BOOTBLOCK_SOUTHBRIDGE_INIT
79 string
80 default "soc/intel/broadwell/bootblock/pch.c"
81
Duncan Lauriec88c54c2014-04-30 16:36:13 -070082config MMCONF_BASE_ADDRESS
83 hex
84 default 0xf0000000
85
Duncan Lauriec88c54c2014-04-30 16:36:13 -070086config SMM_TSEG_SIZE
87 hex
88 default 0x800000
89
90config IED_REGION_SIZE
91 hex
92 default 0x400000
93
94config SMM_RESERVED_SIZE
95 hex
96 default 0x100000
97
98config VGA_BIOS_ID
99 string
100 default "8086,0406"
101
102config CACHE_MRC_SIZE_KB
103 int
104 default 512
105
106config DCACHE_RAM_BASE
107 hex
108 default 0xff7c0000
109
110config DCACHE_RAM_SIZE
111 hex
112 default 0x10000
113 help
114 The size of the cache-as-ram region required during bootblock
115 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
116 must add up to a power of 2.
117
118config DCACHE_RAM_MRC_VAR_SIZE
119 hex
120 default 0x30000
121 help
122 The amount of cache-as-ram region required by the reference code.
123
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700124config HAVE_MRC
125 bool "Add a Memory Reference Code binary"
126 help
127 Select this option to add a Memory Reference Code binary to
128 the resulting coreboot image.
129
130 Note: Without this binary coreboot will not work
131
132if HAVE_MRC
133
134config MRC_FILE
135 string "Intel Memory Reference Code path and filename"
136 depends on HAVE_MRC
137 default "mrc.bin"
138 help
139 The filename of the file to use as Memory Reference Code binary.
140
141config MRC_BIN_ADDRESS
142 hex
143 default 0xfffa0000
144
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700145endif # HAVE_MRC
146
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700147config PRE_GRAPHICS_DELAY
148 int "Graphics initialization delay in ms"
149 default 0
150 help
151 On some systems, coreboot boots so fast that connected monitors
152 (mostly TVs) won't be able to wake up fast enough to talk to the
153 VBIOS. On those systems we need to wait for a bit before executing
154 the VBIOS.
155
156config RESET_ON_INVALID_RAMSTAGE_CACHE
157 bool "Reset the system on S3 wake when ramstage cache invalid."
158 default n
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700159 help
160 The romstage code caches the loaded ramstage program in SMM space.
161 On S3 wake the romstage will copy over a fresh ramstage that was
162 cached in the SMM space. This option determines the action to take
163 when the ramstage cache is invalid. If selected the system will
164 reset otherwise the ramstage will be reloaded from cbfs.
165
Duncan Laurie61680272014-05-05 12:42:35 -0500166config INTEL_PCH_UART_CONSOLE
167 bool "Use Serial IO UART for console"
168 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600169 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500170
171config INTEL_PCH_UART_CONSOLE_NUMBER
172 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600173 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500174 depends on INTEL_PCH_UART_CONSOLE
175
176config TTYS0_BASE
177 hex
178 default 0xd6000000
179 depends on INTEL_PCH_UART_CONSOLE
180
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700181config EHCI_BAR
182 hex
183 default 0xd8000000
184
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700185config SERIRQ_CONTINUOUS_MODE
186 bool
187 default y
188 help
189 If you set this option to y, the serial IRQ machine will be
190 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200191
192config HAVE_REFCODE_BLOB
193 depends on ARCH_X86
194 bool "An external reference code blob should be put into cbfs."
195 default n
196 help
197 The reference code blob will be placed into cbfs.
198
199if HAVE_REFCODE_BLOB
200
201config REFCODE_BLOB_FILE
202 string "Path and filename to reference code blob."
203 default "refcode.elf"
204 help
205 The path and filename to the file to be added to cbfs.
206
207endif # HAVE_REFCODE_BLOB
208
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700209endif