Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 1 | config SOC_INTEL_BROADWELL |
| 2 | bool |
| 3 | help |
| 4 | Intel Broadwell and Haswell ULT support. |
| 5 | |
| 6 | if SOC_INTEL_BROADWELL |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Aaron Durbin | 9e6d143 | 2016-07-13 23:21:41 -0500 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 11 | select ARCH_BOOTBLOCK_X86_32 |
Stefan Reinauer | 77b1655 | 2015-01-14 19:51:47 +0100 | [diff] [blame] | 12 | select ARCH_VERSTAGE_X86_32 |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 13 | select ARCH_ROMSTAGE_X86_32 |
| 14 | select ARCH_RAMSTAGE_X86_32 |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 15 | select BOOT_DEVICE_SUPPORTS_WRITES |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 16 | select CACHE_MRC_SETTINGS |
Duncan Laurie | f059b24 | 2015-01-15 15:42:43 -0800 | [diff] [blame] | 17 | select MRC_SETTINGS_PROTECT |
Alexandru Gagniuc | 27fea06 | 2015-08-29 20:00:24 -0700 | [diff] [blame] | 18 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 19 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Kyösti Mälkki | 4851bf2 | 2014-12-27 12:57:06 +0200 | [diff] [blame] | 20 | select SUPPORT_CPU_UCODE_IN_CBFS |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 21 | select HAVE_MONOTONIC_TIMER |
| 22 | select HAVE_SMI_HANDLER |
| 23 | select HAVE_HARD_RESET |
| 24 | select HAVE_USBDEBUG |
| 25 | select IOAPIC |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 26 | select RELOCATABLE_MODULES |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 27 | select RELOCATABLE_RAMSTAGE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 28 | select REG_SCRIPT |
| 29 | select PARALLEL_MP |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 30 | select RTC |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 31 | select SMM_TSEG |
| 32 | select SMP |
| 33 | select SPI_FLASH |
| 34 | select SSE2 |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 35 | select SUPPORT_CPU_UCODE_IN_CBFS |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 36 | select TSC_CONSTANT_RATE |
| 37 | select TSC_SYNC_MFENCE |
| 38 | select UDELAY_TSC |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 39 | select SOC_INTEL_COMMON |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 40 | select HAVE_INTEL_FIRMWARE |
Duncan Laurie | 81a4c85 | 2015-09-08 16:10:30 -0700 | [diff] [blame] | 41 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame] | 42 | select HAVE_SPI_CONSOLE_SUPPORT |
Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 43 | select CPU_INTEL_COMMON |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 44 | |
Youness Alaoui | b191c9f | 2017-05-08 15:22:03 -0400 | [diff] [blame^] | 45 | config PCIEXP_ASPM |
| 46 | bool |
| 47 | default y |
| 48 | |
| 49 | config PCIEXP_COMMON_CLOCK |
| 50 | bool |
| 51 | default y |
| 52 | |
| 53 | config PCIEXP_CLK_PM |
| 54 | bool |
| 55 | default y |
| 56 | |
| 57 | config PCIEXP_L1_SUB_STATE |
| 58 | bool |
| 59 | default y |
| 60 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 61 | config VBOOT |
| 62 | select VBOOT_STARTS_IN_ROMSTAGE |
| 63 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 64 | config BOOTBLOCK_CPU_INIT |
| 65 | string |
| 66 | default "soc/intel/broadwell/bootblock/cpu.c" |
| 67 | |
| 68 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 69 | string |
| 70 | default "soc/intel/broadwell/bootblock/systemagent.c" |
| 71 | |
| 72 | config BOOTBLOCK_SOUTHBRIDGE_INIT |
| 73 | string |
| 74 | default "soc/intel/broadwell/bootblock/pch.c" |
| 75 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 76 | config MMCONF_BASE_ADDRESS |
| 77 | hex |
| 78 | default 0xf0000000 |
| 79 | |
| 80 | config SERIAL_CPU_INIT |
| 81 | bool |
| 82 | default n |
| 83 | |
| 84 | config SMM_TSEG_SIZE |
| 85 | hex |
| 86 | default 0x800000 |
| 87 | |
| 88 | config IED_REGION_SIZE |
| 89 | hex |
| 90 | default 0x400000 |
| 91 | |
| 92 | config SMM_RESERVED_SIZE |
| 93 | hex |
| 94 | default 0x100000 |
| 95 | |
| 96 | config VGA_BIOS_ID |
| 97 | string |
| 98 | default "8086,0406" |
| 99 | |
| 100 | config CACHE_MRC_SIZE_KB |
| 101 | int |
| 102 | default 512 |
| 103 | |
| 104 | config DCACHE_RAM_BASE |
| 105 | hex |
| 106 | default 0xff7c0000 |
| 107 | |
| 108 | config DCACHE_RAM_SIZE |
| 109 | hex |
| 110 | default 0x10000 |
| 111 | help |
| 112 | The size of the cache-as-ram region required during bootblock |
| 113 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 114 | must add up to a power of 2. |
| 115 | |
| 116 | config DCACHE_RAM_MRC_VAR_SIZE |
| 117 | hex |
| 118 | default 0x30000 |
| 119 | help |
| 120 | The amount of cache-as-ram region required by the reference code. |
| 121 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 122 | config HAVE_MRC |
| 123 | bool "Add a Memory Reference Code binary" |
| 124 | help |
| 125 | Select this option to add a Memory Reference Code binary to |
| 126 | the resulting coreboot image. |
| 127 | |
| 128 | Note: Without this binary coreboot will not work |
| 129 | |
| 130 | if HAVE_MRC |
| 131 | |
| 132 | config MRC_FILE |
| 133 | string "Intel Memory Reference Code path and filename" |
| 134 | depends on HAVE_MRC |
| 135 | default "mrc.bin" |
| 136 | help |
| 137 | The filename of the file to use as Memory Reference Code binary. |
| 138 | |
| 139 | config MRC_BIN_ADDRESS |
| 140 | hex |
| 141 | default 0xfffa0000 |
| 142 | |
| 143 | config CACHE_MRC_SETTINGS |
| 144 | bool "Save cached MRC settings" |
| 145 | default y |
| 146 | |
| 147 | endif # HAVE_MRC |
| 148 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 149 | config PRE_GRAPHICS_DELAY |
| 150 | int "Graphics initialization delay in ms" |
| 151 | default 0 |
| 152 | help |
| 153 | On some systems, coreboot boots so fast that connected monitors |
| 154 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 155 | VBIOS. On those systems we need to wait for a bit before executing |
| 156 | the VBIOS. |
| 157 | |
| 158 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 159 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 160 | default n |
| 161 | depends on RELOCATABLE_RAMSTAGE |
| 162 | help |
| 163 | The romstage code caches the loaded ramstage program in SMM space. |
| 164 | On S3 wake the romstage will copy over a fresh ramstage that was |
| 165 | cached in the SMM space. This option determines the action to take |
| 166 | when the ramstage cache is invalid. If selected the system will |
| 167 | reset otherwise the ramstage will be reloaded from cbfs. |
| 168 | |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 169 | config INTEL_PCH_UART_CONSOLE |
| 170 | bool "Use Serial IO UART for console" |
| 171 | default n |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 172 | select DRIVERS_UART_8250MEM |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 173 | |
| 174 | config INTEL_PCH_UART_CONSOLE_NUMBER |
| 175 | hex "Serial IO UART number to use for console" |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 176 | default 0x0 |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 177 | depends on INTEL_PCH_UART_CONSOLE |
| 178 | |
| 179 | config TTYS0_BASE |
| 180 | hex |
| 181 | default 0xd6000000 |
| 182 | depends on INTEL_PCH_UART_CONSOLE |
| 183 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 184 | config EHCI_BAR |
| 185 | hex |
| 186 | default 0xd8000000 |
| 187 | |
| 188 | config EHCI_DEBUG_OFFSET |
| 189 | hex |
| 190 | default 0xa0 |
| 191 | |
| 192 | config SERIRQ_CONTINUOUS_MODE |
| 193 | bool |
| 194 | default y |
| 195 | help |
| 196 | If you set this option to y, the serial IRQ machine will be |
| 197 | operated in continuous mode. |
Patrick Georgi | e6e9493 | 2015-06-22 22:26:45 +0200 | [diff] [blame] | 198 | |
| 199 | config HAVE_REFCODE_BLOB |
| 200 | depends on ARCH_X86 |
| 201 | bool "An external reference code blob should be put into cbfs." |
| 202 | default n |
| 203 | help |
| 204 | The reference code blob will be placed into cbfs. |
| 205 | |
| 206 | if HAVE_REFCODE_BLOB |
| 207 | |
| 208 | config REFCODE_BLOB_FILE |
| 209 | string "Path and filename to reference code blob." |
| 210 | default "refcode.elf" |
| 211 | help |
| 212 | The path and filename to the file to be added to cbfs. |
| 213 | |
| 214 | endif # HAVE_REFCODE_BLOB |
| 215 | |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 216 | config HAVE_ME_BIN |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 217 | def_bool y |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 218 | |
| 219 | config BUILD_WITH_FAKE_IFD |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 220 | def_bool !HAVE_IFD_BIN |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 221 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 222 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 223 | string |
| 224 | default "soc/intel/broadwell/bootblock/timestamp.inc" |
| 225 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 226 | endif |