blob: 33644e840bcc23b97bf648541232deed30f114dd [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
Stefan Reinauer77b16552015-01-14 19:51:47 +010011 select ARCH_VERSTAGE_X86_32
Duncan Lauriec88c54c2014-04-30 16:36:13 -070012 select ARCH_ROMSTAGE_X86_32
13 select ARCH_RAMSTAGE_X86_32
Duncan Lauriec88c54c2014-04-30 16:36:13 -070014 select BACKUP_DEFAULT_SMM_REGION
Duncan Lauriec88c54c2014-04-30 16:36:13 -070015 select CACHE_MRC_SETTINGS
Duncan Laurief059b242015-01-15 15:42:43 -080016 select MRC_SETTINGS_PROTECT
Alexandru Gagniuc27fea062015-08-29 20:00:24 -070017 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070018 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020019 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070020 select HAVE_MONOTONIC_TIMER
21 select HAVE_SMI_HANDLER
22 select HAVE_HARD_RESET
23 select HAVE_USBDEBUG
24 select IOAPIC
25 select MMCONF_SUPPORT
26 select MMCONF_SUPPORT_DEFAULT
27 select RELOCATABLE_MODULES
Marc Jonesa6354a12014-12-26 22:11:14 -070028 select RELOCATABLE_RAMSTAGE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070029 select REG_SCRIPT
30 select PARALLEL_MP
31 select PCIEXP_ASPM
32 select PCIEXP_COMMON_CLOCK
Kane Chen96044742014-10-01 13:22:52 +080033 select PCIEXP_CLK_PM
Kenji Chenb71d9b82014-10-10 03:08:15 +080034 select PCIEXP_L1_SUB_STATE
Duncan Lauriec88c54c2014-04-30 16:36:13 -070035 select SMM_TSEG
36 select SMP
37 select SPI_FLASH
38 select SSE2
Marc Jonesa6354a12014-12-26 22:11:14 -070039 select SUPPORT_CPU_UCODE_IN_CBFS
Duncan Lauriec88c54c2014-04-30 16:36:13 -070040 select TSC_CONSTANT_RATE
41 select TSC_SYNC_MFENCE
42 select UDELAY_TSC
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070043 select SOC_INTEL_COMMON
Martin Roth3fda3c22015-07-09 21:02:26 -060044 select HAVE_INTEL_FIRMWARE
Duncan Laurie81a4c852015-09-08 16:10:30 -070045 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Martin Roth3a543182015-09-28 15:27:24 -060046 select HAVE_SPI_CONSOLE_SUPPORT
Duncan Lauriec88c54c2014-04-30 16:36:13 -070047
48config BOOTBLOCK_CPU_INIT
49 string
50 default "soc/intel/broadwell/bootblock/cpu.c"
51
52config BOOTBLOCK_NORTHBRIDGE_INIT
53 string
54 default "soc/intel/broadwell/bootblock/systemagent.c"
55
56config BOOTBLOCK_SOUTHBRIDGE_INIT
57 string
58 default "soc/intel/broadwell/bootblock/pch.c"
59
Duncan Lauriec88c54c2014-04-30 16:36:13 -070060
61config MMCONF_BASE_ADDRESS
62 hex
63 default 0xf0000000
64
65config SERIAL_CPU_INIT
66 bool
67 default n
68
69config SMM_TSEG_SIZE
70 hex
71 default 0x800000
72
73config IED_REGION_SIZE
74 hex
75 default 0x400000
76
77config SMM_RESERVED_SIZE
78 hex
79 default 0x100000
80
81config VGA_BIOS_ID
82 string
83 default "8086,0406"
84
85config CACHE_MRC_SIZE_KB
86 int
87 default 512
88
89config DCACHE_RAM_BASE
90 hex
91 default 0xff7c0000
92
93config DCACHE_RAM_SIZE
94 hex
95 default 0x10000
96 help
97 The size of the cache-as-ram region required during bootblock
98 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
99 must add up to a power of 2.
100
101config DCACHE_RAM_MRC_VAR_SIZE
102 hex
103 default 0x30000
104 help
105 The amount of cache-as-ram region required by the reference code.
106
107config DCACHE_RAM_ROMSTAGE_STACK_SIZE
108 hex
109 default 0x2000
110 help
111 The amount of anticipated stack usage from the data cache
112 during pre-ram rom stage execution.
113
114config HAVE_MRC
115 bool "Add a Memory Reference Code binary"
116 help
117 Select this option to add a Memory Reference Code binary to
118 the resulting coreboot image.
119
120 Note: Without this binary coreboot will not work
121
122if HAVE_MRC
123
124config MRC_FILE
125 string "Intel Memory Reference Code path and filename"
126 depends on HAVE_MRC
127 default "mrc.bin"
128 help
129 The filename of the file to use as Memory Reference Code binary.
130
131config MRC_BIN_ADDRESS
132 hex
133 default 0xfffa0000
134
135config CACHE_MRC_SETTINGS
136 bool "Save cached MRC settings"
137 default y
138
139endif # HAVE_MRC
140
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700141config PRE_GRAPHICS_DELAY
142 int "Graphics initialization delay in ms"
143 default 0
144 help
145 On some systems, coreboot boots so fast that connected monitors
146 (mostly TVs) won't be able to wake up fast enough to talk to the
147 VBIOS. On those systems we need to wait for a bit before executing
148 the VBIOS.
149
150config RESET_ON_INVALID_RAMSTAGE_CACHE
151 bool "Reset the system on S3 wake when ramstage cache invalid."
152 default n
153 depends on RELOCATABLE_RAMSTAGE
154 help
155 The romstage code caches the loaded ramstage program in SMM space.
156 On S3 wake the romstage will copy over a fresh ramstage that was
157 cached in the SMM space. This option determines the action to take
158 when the ramstage cache is invalid. If selected the system will
159 reset otherwise the ramstage will be reloaded from cbfs.
160
Duncan Laurie61680272014-05-05 12:42:35 -0500161config INTEL_PCH_UART_CONSOLE
162 bool "Use Serial IO UART for console"
163 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600164 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500165
166config INTEL_PCH_UART_CONSOLE_NUMBER
167 hex "Serial IO UART number to use for console"
168 default "0x0"
169 depends on INTEL_PCH_UART_CONSOLE
170
171config TTYS0_BASE
172 hex
173 default 0xd6000000
174 depends on INTEL_PCH_UART_CONSOLE
175
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700176config EHCI_BAR
177 hex
178 default 0xd8000000
179
180config EHCI_DEBUG_OFFSET
181 hex
182 default 0xa0
183
184config 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