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