blob: 0cbd9e47844e29a6d0556539b3a2521b18ad4f44 [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
30 select PCIEXP_ASPM
31 select PCIEXP_COMMON_CLOCK
Kane Chen96044742014-10-01 13:22:52 +080032 select PCIEXP_CLK_PM
Kenji Chenb71d9b82014-10-10 03:08:15 +080033 select PCIEXP_L1_SUB_STATE
Aaron Durbin16246ea2016-08-05 21:23:37 -050034 select RTC
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
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060047 select CPU_INTEL_COMMON
Duncan Lauriec88c54c2014-04-30 16:36:13 -070048
49config BOOTBLOCK_CPU_INIT
50 string
51 default "soc/intel/broadwell/bootblock/cpu.c"
52
53config BOOTBLOCK_NORTHBRIDGE_INIT
54 string
55 default "soc/intel/broadwell/bootblock/systemagent.c"
56
57config BOOTBLOCK_SOUTHBRIDGE_INIT
58 string
59 default "soc/intel/broadwell/bootblock/pch.c"
60
Duncan Lauriec88c54c2014-04-30 16:36:13 -070061config 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
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700107config HAVE_MRC
108 bool "Add a Memory Reference Code binary"
109 help
110 Select this option to add a Memory Reference Code binary to
111 the resulting coreboot image.
112
113 Note: Without this binary coreboot will not work
114
115if HAVE_MRC
116
117config MRC_FILE
118 string "Intel Memory Reference Code path and filename"
119 depends on HAVE_MRC
120 default "mrc.bin"
121 help
122 The filename of the file to use as Memory Reference Code binary.
123
124config MRC_BIN_ADDRESS
125 hex
126 default 0xfffa0000
127
128config CACHE_MRC_SETTINGS
129 bool "Save cached MRC settings"
130 default y
131
132endif # HAVE_MRC
133
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700134config PRE_GRAPHICS_DELAY
135 int "Graphics initialization delay in ms"
136 default 0
137 help
138 On some systems, coreboot boots so fast that connected monitors
139 (mostly TVs) won't be able to wake up fast enough to talk to the
140 VBIOS. On those systems we need to wait for a bit before executing
141 the VBIOS.
142
143config RESET_ON_INVALID_RAMSTAGE_CACHE
144 bool "Reset the system on S3 wake when ramstage cache invalid."
145 default n
146 depends on RELOCATABLE_RAMSTAGE
147 help
148 The romstage code caches the loaded ramstage program in SMM space.
149 On S3 wake the romstage will copy over a fresh ramstage that was
150 cached in the SMM space. This option determines the action to take
151 when the ramstage cache is invalid. If selected the system will
152 reset otherwise the ramstage will be reloaded from cbfs.
153
Duncan Laurie61680272014-05-05 12:42:35 -0500154config INTEL_PCH_UART_CONSOLE
155 bool "Use Serial IO UART for console"
156 default n
Martin Rothdf02c332015-07-01 23:09:42 -0600157 select DRIVERS_UART_8250MEM
Duncan Laurie61680272014-05-05 12:42:35 -0500158
159config INTEL_PCH_UART_CONSOLE_NUMBER
160 hex "Serial IO UART number to use for console"
Martin Roth3b878122016-09-30 14:43:01 -0600161 default 0x0
Duncan Laurie61680272014-05-05 12:42:35 -0500162 depends on INTEL_PCH_UART_CONSOLE
163
164config TTYS0_BASE
165 hex
166 default 0xd6000000
167 depends on INTEL_PCH_UART_CONSOLE
168
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700169config EHCI_BAR
170 hex
171 default 0xd8000000
172
173config EHCI_DEBUG_OFFSET
174 hex
175 default 0xa0
176
177config SERIRQ_CONTINUOUS_MODE
178 bool
179 default y
180 help
181 If you set this option to y, the serial IRQ machine will be
182 operated in continuous mode.
Patrick Georgie6e94932015-06-22 22:26:45 +0200183
184config HAVE_REFCODE_BLOB
185 depends on ARCH_X86
186 bool "An external reference code blob should be put into cbfs."
187 default n
188 help
189 The reference code blob will be placed into cbfs.
190
191if HAVE_REFCODE_BLOB
192
193config REFCODE_BLOB_FILE
194 string "Path and filename to reference code blob."
195 default "refcode.elf"
196 help
197 The path and filename to the file to be added to cbfs.
198
199endif # HAVE_REFCODE_BLOB
200
Marc Jonesa6354a12014-12-26 22:11:14 -0700201config HAVE_ME_BIN
Martin Roth3fda3c22015-07-09 21:02:26 -0600202 def_bool y
Marc Jonesa6354a12014-12-26 22:11:14 -0700203
204config BUILD_WITH_FAKE_IFD
Martin Roth3fda3c22015-07-09 21:02:26 -0600205 def_bool !HAVE_IFD_BIN
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700206
Aaron Durbin3953e392015-09-03 00:41:29 -0500207config CHIPSET_BOOTBLOCK_INCLUDE
208 string
209 default "soc/intel/broadwell/bootblock/timestamp.inc"
210
Duncan Lauriec88c54c2014-04-30 16:36:13 -0700211endif