blob: e01d5598ecb64e3a3c816749ff4a6917b0c24f45 [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 Lauriec88c54c2014-04-30 16:36:13 -070045
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
Duncan Lauriec88c54c2014-04-30 16:36:13 -070058
59config MMCONF_BASE_ADDRESS
60 hex
61 default 0xf0000000
62
63config SERIAL_CPU_INIT
64 bool
65 default n
66
67config SMM_TSEG_SIZE
68 hex
69 default 0x800000
70
71config IED_REGION_SIZE
72 hex
73 default 0x400000
74
75config SMM_RESERVED_SIZE
76 hex
77 default 0x100000
78
79config VGA_BIOS_ID
80 string
81 default "8086,0406"
82
83config CACHE_MRC_SIZE_KB
84 int
85 default 512
86
87config DCACHE_RAM_BASE
88 hex
89 default 0xff7c0000
90
91config DCACHE_RAM_SIZE
92 hex
93 default 0x10000
94 help
95 The size of the cache-as-ram region required during bootblock
96 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
97 must add up to a power of 2.
98
99config DCACHE_RAM_MRC_VAR_SIZE
100 hex
101 default 0x30000
102 help
103 The amount of cache-as-ram region required by the reference code.
104
105config DCACHE_RAM_ROMSTAGE_STACK_SIZE
106 hex
107 default 0x2000
108 help
109 The amount of anticipated stack usage from the data cache
110 during pre-ram rom stage execution.
111
112config HAVE_MRC
113 bool "Add a Memory Reference Code binary"
114 help
115 Select this option to add a Memory Reference Code binary to
116 the resulting coreboot image.
117
118 Note: Without this binary coreboot will not work
119
120if HAVE_MRC
121
122config MRC_FILE
123 string "Intel Memory Reference Code path and filename"
124 depends on HAVE_MRC
125 default "mrc.bin"
126 help
127 The filename of the file to use as Memory Reference Code binary.
128
129config MRC_BIN_ADDRESS
130 hex
131 default 0xfffa0000
132
133config CACHE_MRC_SETTINGS
134 bool "Save cached MRC settings"
135 default y
136
137endif # HAVE_MRC
138
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700139config PRE_GRAPHICS_DELAY
140 int "Graphics initialization delay in ms"
141 default 0
142 help
143 On some systems, coreboot boots so fast that connected monitors
144 (mostly TVs) won't be able to wake up fast enough to talk to the
145 VBIOS. On those systems we need to wait for a bit before executing
146 the VBIOS.
147
148config RESET_ON_INVALID_RAMSTAGE_CACHE
149 bool "Reset the system on S3 wake when ramstage cache invalid."
150 default n
151 depends on RELOCATABLE_RAMSTAGE
152 help
153 The romstage code caches the loaded ramstage program in SMM space.
154 On S3 wake the romstage will copy over a fresh ramstage that was
155 cached in the SMM space. This option determines the action to take
156 when the ramstage cache is invalid. If selected the system will
157 reset otherwise the ramstage will be reloaded from cbfs.
158
Duncan Laurie61680272014-05-05 12:42:35 -0500159config INTEL_PCH_UART_CONSOLE
160 bool "Use Serial IO UART for console"
161 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600162 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500163
164config INTEL_PCH_UART_CONSOLE_NUMBER
165 hex "Serial IO UART number to use for console"
166 default "0x0"
167 depends on INTEL_PCH_UART_CONSOLE
168
169config TTYS0_BASE
170 hex
171 default 0xd6000000
172 depends on INTEL_PCH_UART_CONSOLE
173
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700174config EHCI_BAR
175 hex
176 default 0xd8000000
177
178config EHCI_DEBUG_OFFSET
179 hex
180 default 0xa0
181
182config SERIRQ_CONTINUOUS_MODE
183 bool
184 default y
185 help
186 If you set this option to y, the serial IRQ machine will be
187 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200188
189config HAVE_REFCODE_BLOB
190 depends on ARCH_X86
191 bool "An external reference code blob should be put into cbfs."
192 default n
193 help
194 The reference code blob will be placed into cbfs.
195
196if HAVE_REFCODE_BLOB
197
198config REFCODE_BLOB_FILE
199 string "Path and filename to reference code blob."
200 default "refcode.elf"
201 help
202 The path and filename to the file to be added to cbfs.
203
204endif # HAVE_REFCODE_BLOB
205
Marc Jonesa6354a12014-12-26 22:11:14 -0700206config HAVE_ME_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -0600207 def_bool y
Marc Jonesa6354a12014-12-26 22:11:14 -0700208
209config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -0600210 def_bool !HAVE_IFD_BIN
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700211
Aaron Durbin3953e392015-09-03 00:41:29 -0500212config CHIPSET_BOOTBLOCK_INCLUDE
213 string
214 default "soc/intel/broadwell/bootblock/timestamp.inc"
215
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700216endif