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