blob: 35cf12983f9e63502f9807abf605de307d0b27e1 [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
Duncan Lauriec88c54c2014-04-30 16:36:13 -070044
Youness Alaouib191c9f2017-05-08 15:22:03 -040045config PCIEXP_ASPM
46 bool
47 default y
48
49config PCIEXP_COMMON_CLOCK
50 bool
51 default y
52
53config PCIEXP_CLK_PM
54 bool
55 default y
56
57config PCIEXP_L1_SUB_STATE
58 bool
59 default y
60
Julius Werner1210b412017-03-27 19:26:32 -070061config VBOOT
62 select VBOOT_STARTS_IN_ROMSTAGE
63
Duncan Lauriec88c54c2014-04-30 16:36:13 -070064config BOOTBLOCK_CPU_INIT
65 string
66 default "soc/intel/broadwell/bootblock/cpu.c"
67
68config BOOTBLOCK_NORTHBRIDGE_INIT
69 string
70 default "soc/intel/broadwell/bootblock/systemagent.c"
71
72config BOOTBLOCK_SOUTHBRIDGE_INIT
73 string
74 default "soc/intel/broadwell/bootblock/pch.c"
75
Duncan Lauriec88c54c2014-04-30 16:36:13 -070076config MMCONF_BASE_ADDRESS
77 hex
78 default 0xf0000000
79
80config SERIAL_CPU_INIT
81 bool
82 default n
83
84config SMM_TSEG_SIZE
85 hex
86 default 0x800000
87
88config IED_REGION_SIZE
89 hex
90 default 0x400000
91
92config SMM_RESERVED_SIZE
93 hex
94 default 0x100000
95
96config VGA_BIOS_ID
97 string
98 default "8086,0406"
99
100config CACHE_MRC_SIZE_KB
101 int
102 default 512
103
104config DCACHE_RAM_BASE
105 hex
106 default 0xff7c0000
107
108config DCACHE_RAM_SIZE
109 hex
110 default 0x10000
111 help
112 The size of the cache-as-ram region required during bootblock
113 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
114 must add up to a power of 2.
115
116config DCACHE_RAM_MRC_VAR_SIZE
117 hex
118 default 0x30000
119 help
120 The amount of cache-as-ram region required by the reference code.
121
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700122config HAVE_MRC
123 bool "Add a Memory Reference Code binary"
124 help
125 Select this option to add a Memory Reference Code binary to
126 the resulting coreboot image.
127
128 Note: Without this binary coreboot will not work
129
130if HAVE_MRC
131
132config MRC_FILE
133 string "Intel Memory Reference Code path and filename"
134 depends on HAVE_MRC
135 default "mrc.bin"
136 help
137 The filename of the file to use as Memory Reference Code binary.
138
139config MRC_BIN_ADDRESS
140 hex
141 default 0xfffa0000
142
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700143endif # HAVE_MRC
144
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700145config PRE_GRAPHICS_DELAY
146 int "Graphics initialization delay in ms"
147 default 0
148 help
149 On some systems, coreboot boots so fast that connected monitors
150 (mostly TVs) won't be able to wake up fast enough to talk to the
151 VBIOS. On those systems we need to wait for a bit before executing
152 the VBIOS.
153
154config RESET_ON_INVALID_RAMSTAGE_CACHE
155 bool "Reset the system on S3 wake when ramstage cache invalid."
156 default n
157 depends on RELOCATABLE_RAMSTAGE
158 help
159 The romstage code caches the loaded ramstage program in SMM space.
160 On S3 wake the romstage will copy over a fresh ramstage that was
161 cached in the SMM space. This option determines the action to take
162 when the ramstage cache is invalid. If selected the system will
163 reset otherwise the ramstage will be reloaded from cbfs.
164
Duncan Laurie61680272014-05-05 12:42:35 -0500165config INTEL_PCH_UART_CONSOLE
166 bool "Use Serial IO UART for console"
167 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600168 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500169
170config INTEL_PCH_UART_CONSOLE_NUMBER
171 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600172 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500173 depends on INTEL_PCH_UART_CONSOLE
174
175config TTYS0_BASE
176 hex
177 default 0xd6000000
178 depends on INTEL_PCH_UART_CONSOLE
179
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700180config EHCI_BAR
181 hex
182 default 0xd8000000
183
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700184config SERIRQ_CONTINUOUS_MODE
185 bool
186 default y
187 help
188 If you set this option to y, the serial IRQ machine will be
189 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200190
191config HAVE_REFCODE_BLOB
192 depends on ARCH_X86
193 bool "An external reference code blob should be put into cbfs."
194 default n
195 help
196 The reference code blob will be placed into cbfs.
197
198if HAVE_REFCODE_BLOB
199
200config REFCODE_BLOB_FILE
201 string "Path and filename to reference code blob."
202 default "refcode.elf"
203 help
204 The path and filename to the file to be added to cbfs.
205
206endif # HAVE_REFCODE_BLOB
207
Marc Jonesa6354a12014-12-26 22:11:14 -0700208config HAVE_ME_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -0600209 def_bool y
Marc Jonesa6354a12014-12-26 22:11:14 -0700210
211config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -0600212 def_bool !HAVE_IFD_BIN
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700213
Aaron Durbin3953e392015-09-03 00:41:29 -0500214config CHIPSET_BOOTBLOCK_INCLUDE
215 string
216 default "soc/intel/broadwell/bootblock/timestamp.inc"
217
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700218endif