blob: 019bed3299727d75cf4fcb0f5e49e9143b24af46 [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
10 select ARCH_BOOTBLOCK_X86_32
11 select ARCH_ROMSTAGE_X86_32
12 select ARCH_RAMSTAGE_X86_32
13 select ALT_CBFS_LOAD_PAYLOAD
Duncan Laurie61680272014-05-05 12:42:35 -050014 select ALWAYS_LOAD_OPROM
Duncan Lauriec88c54c2014-04-30 16:36:13 -070015 select BACKUP_DEFAULT_SMM_REGION
16 select CACHE_MRC_BIN
17 select CACHE_MRC_SETTINGS
18 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
19 select CACHE_ROM
20 select CAR_MIGRATION
21 select COLLECT_TIMESTAMPS
22 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020023 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070024 select DYNAMIC_CBMEM
25 select HAVE_MONOTONIC_TIMER
26 select HAVE_SMI_HANDLER
27 select HAVE_HARD_RESET
28 select HAVE_USBDEBUG
29 select IOAPIC
30 select MMCONF_SUPPORT
31 select MMCONF_SUPPORT_DEFAULT
32 select RELOCATABLE_MODULES
33 select REG_SCRIPT
34 select PARALLEL_MP
35 select PCIEXP_ASPM
36 select PCIEXP_COMMON_CLOCK
37 select SMM_MODULES
38 select SMM_TSEG
39 select SMP
40 select SPI_FLASH
41 select SSE2
42 select TSC_CONSTANT_RATE
43 select TSC_SYNC_MFENCE
44 select UDELAY_TSC
Vladimir Serbinenkob219da82014-11-09 03:29:30 +010045 select PER_DEVICE_ACPI_TABLES
Duncan Lauriec88c54c2014-04-30 16:36:13 -070046
47config BOOTBLOCK_CPU_INIT
48 string
49 default "soc/intel/broadwell/bootblock/cpu.c"
50
51config BOOTBLOCK_NORTHBRIDGE_INIT
52 string
53 default "soc/intel/broadwell/bootblock/systemagent.c"
54
55config BOOTBLOCK_SOUTHBRIDGE_INIT
56 string
57 default "soc/intel/broadwell/bootblock/pch.c"
58
59config MICROCODE_INCLUDE_PATH
60 string
61 default "src/soc/intel/broadwell/microcode"
62
63config MMCONF_BASE_ADDRESS
64 hex
65 default 0xf0000000
66
67config SERIAL_CPU_INIT
68 bool
69 default n
70
71config SMM_TSEG_SIZE
72 hex
73 default 0x800000
74
75config IED_REGION_SIZE
76 hex
77 default 0x400000
78
79config SMM_RESERVED_SIZE
80 hex
81 default 0x100000
82
83config VGA_BIOS_ID
84 string
85 default "8086,0406"
86
87config CACHE_MRC_SIZE_KB
88 int
89 default 512
90
91config DCACHE_RAM_BASE
92 hex
93 default 0xff7c0000
94
95config DCACHE_RAM_SIZE
96 hex
97 default 0x10000
98 help
99 The size of the cache-as-ram region required during bootblock
100 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
101 must add up to a power of 2.
102
103config DCACHE_RAM_MRC_VAR_SIZE
104 hex
105 default 0x30000
106 help
107 The amount of cache-as-ram region required by the reference code.
108
109config DCACHE_RAM_ROMSTAGE_STACK_SIZE
110 hex
111 default 0x2000
112 help
113 The amount of anticipated stack usage from the data cache
114 during pre-ram rom stage execution.
115
116config HAVE_MRC
117 bool "Add a Memory Reference Code binary"
118 help
119 Select this option to add a Memory Reference Code binary to
120 the resulting coreboot image.
121
122 Note: Without this binary coreboot will not work
123
124if HAVE_MRC
125
126config MRC_FILE
127 string "Intel Memory Reference Code path and filename"
128 depends on HAVE_MRC
129 default "mrc.bin"
130 help
131 The filename of the file to use as Memory Reference Code binary.
132
133config MRC_BIN_ADDRESS
134 hex
135 default 0xfffa0000
136
137config CACHE_MRC_SETTINGS
138 bool "Save cached MRC settings"
139 default y
140
141endif # HAVE_MRC
142
143config CBFS_SIZE
144 hex "Size of CBFS filesystem in ROM"
145 default 0x100000
146 help
147 The firmware image has to store more than just coreboot, including:
148 - a firmware descriptor
149 - Intel Management Engine firmware
150 - MRC cache information
151 This option allows to limit the size of the CBFS portion in the
152 firmware image.
153
154config PRE_GRAPHICS_DELAY
155 int "Graphics initialization delay in ms"
156 default 0
157 help
158 On some systems, coreboot boots so fast that connected monitors
159 (mostly TVs) won't be able to wake up fast enough to talk to the
160 VBIOS. On those systems we need to wait for a bit before executing
161 the VBIOS.
162
163config RESET_ON_INVALID_RAMSTAGE_CACHE
164 bool "Reset the system on S3 wake when ramstage cache invalid."
165 default n
166 depends on RELOCATABLE_RAMSTAGE
167 help
168 The romstage code caches the loaded ramstage program in SMM space.
169 On S3 wake the romstage will copy over a fresh ramstage that was
170 cached in the SMM space. This option determines the action to take
171 when the ramstage cache is invalid. If selected the system will
172 reset otherwise the ramstage will be reloaded from cbfs.
173
174config MONOTONIC_TIMER_MSR
175 def_bool y
176 select HAVE_MONOTONIC_TIMER
177 help
178 Provide a monotonic timer using the 24MHz MSR counter.
179
Duncan Laurie61680272014-05-05 12:42:35 -0500180config INTEL_PCH_UART_CONSOLE
181 bool "Use Serial IO UART for console"
182 default n
183 select HAVE_UART_MEMORY_MAPPED
184 select CONSOLE_SERIAL8250MEM
185 depends on !CONFIG_DRIVERS_OXFORD_OXPCIE
186
187config INTEL_PCH_UART_CONSOLE_NUMBER
188 hex "Serial IO UART number to use for console"
189 default "0x0"
190 depends on INTEL_PCH_UART_CONSOLE
191
192config TTYS0_BASE
193 hex
194 default 0xd6000000
195 depends on INTEL_PCH_UART_CONSOLE
196
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700197config EHCI_BAR
198 hex
199 default 0xd8000000
200
201config EHCI_DEBUG_OFFSET
202 hex
203 default 0xa0
204
205config SERIRQ_CONTINUOUS_MODE
206 bool
207 default y
208 help
209 If you set this option to y, the serial IRQ machine will be
210 operated in continuous mode.
211
212config ME_MBP_CLEAR_LATE
213 bool "Defer wait for ME MBP Cleared"
214 default y
215 help
216 If you set this option to y, the Management Engine driver
217 will defer waiting for the MBP Cleared indicator until the
218 finalize step. This can speed up boot time if the ME takes
219 a long time to indicate this status.
220
221config LOCK_MANAGEMENT_ENGINE
222 bool "Lock Management Engine section"
223 default n
224 help
225 The Intel Management Engine supports preventing write accesses
226 from the host to the Management Engine section in the firmware
227 descriptor. If the ME section is locked, it can only be overwritten
228 with an external SPI flash programmer. You will want this if you
229 want to increase security of your ROM image once you are sure
230 that the ME firmware is no longer going to change.
231
232 If unsure, say N.
233
234endif