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 |
| 33 | select TSC_CONSTANT_RATE |
| 34 | select TSC_SYNC_MFENCE |
| 35 | select UDELAY_TSC |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 36 | select SOC_INTEL_COMMON |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 37 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Duncan Laurie | 81a4c85 | 2015-09-08 16:10:30 -0700 | [diff] [blame] | 38 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame] | 39 | select HAVE_SPI_CONSOLE_SUPPORT |
Matt DeVillier | ed6fe2f | 2016-12-14 16:12:43 -0600 | [diff] [blame] | 40 | select CPU_INTEL_COMMON |
Matt DeVillier | 773488f | 2017-10-18 12:27:25 -0500 | [diff] [blame] | 41 | select INTEL_GMA_ACPI |
Arthur Heymans | 90cca54 | 2018-11-29 13:36:54 +0100 | [diff] [blame] | 42 | select POSTCAR_STAGE |
| 43 | select POSTCAR_CONSOLE |
Nico Huber | 9faae2b | 2018-11-14 00:00:35 +0100 | [diff] [blame] | 44 | select HAVE_POWER_STATE_AFTER_FAILURE |
| 45 | select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE |
Arthur Heymans | 74f9fe6 | 2019-04-24 12:29:44 +0200 | [diff] [blame] | 46 | select NO_FIXED_XIP_ROM_SIZE |
Arthur Heymans | 5bb15f1 | 2018-12-22 16:02:25 +0100 | [diff] [blame^] | 47 | select C_ENVIRONMENT_BOOTBLOCK |
| 48 | select NO_BOOTBLOCK_CONSOLE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 49 | |
Youness Alaoui | b191c9f | 2017-05-08 15:22:03 -0400 | [diff] [blame] | 50 | config PCIEXP_ASPM |
| 51 | bool |
| 52 | default y |
| 53 | |
Youness Alaoui | 7161678 | 2018-05-04 15:34:06 -0400 | [diff] [blame] | 54 | config PCIEXP_AER |
| 55 | bool |
| 56 | default y |
| 57 | |
Youness Alaoui | b191c9f | 2017-05-08 15:22:03 -0400 | [diff] [blame] | 58 | config PCIEXP_COMMON_CLOCK |
| 59 | bool |
| 60 | default y |
| 61 | |
| 62 | config PCIEXP_CLK_PM |
| 63 | bool |
| 64 | default y |
| 65 | |
| 66 | config PCIEXP_L1_SUB_STATE |
| 67 | bool |
| 68 | default y |
| 69 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 70 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 71 | select VBOOT_MUST_REQUEST_DISPLAY |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 72 | select VBOOT_STARTS_IN_ROMSTAGE |
| 73 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 74 | config MMCONF_BASE_ADDRESS |
| 75 | hex |
| 76 | default 0xf0000000 |
| 77 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 78 | config SMM_TSEG_SIZE |
| 79 | hex |
| 80 | default 0x800000 |
| 81 | |
| 82 | config IED_REGION_SIZE |
| 83 | hex |
| 84 | default 0x400000 |
| 85 | |
| 86 | config SMM_RESERVED_SIZE |
| 87 | hex |
| 88 | default 0x100000 |
| 89 | |
| 90 | config VGA_BIOS_ID |
| 91 | string |
| 92 | default "8086,0406" |
| 93 | |
| 94 | config CACHE_MRC_SIZE_KB |
| 95 | int |
| 96 | default 512 |
| 97 | |
| 98 | config DCACHE_RAM_BASE |
| 99 | hex |
| 100 | default 0xff7c0000 |
| 101 | |
| 102 | config DCACHE_RAM_SIZE |
| 103 | hex |
| 104 | default 0x10000 |
| 105 | help |
| 106 | The size of the cache-as-ram region required during bootblock |
| 107 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 108 | must add up to a power of 2. |
| 109 | |
| 110 | config DCACHE_RAM_MRC_VAR_SIZE |
| 111 | hex |
| 112 | default 0x30000 |
| 113 | help |
| 114 | The amount of cache-as-ram region required by the reference code. |
| 115 | |
Arthur Heymans | 5bb15f1 | 2018-12-22 16:02:25 +0100 | [diff] [blame^] | 116 | config DCACHE_BSP_STACK_SIZE |
| 117 | hex |
| 118 | default 0x2000 |
| 119 | help |
| 120 | The amount of anticipated stack usage in CAR by bootblock and |
| 121 | other stages. |
| 122 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 123 | config HAVE_MRC |
| 124 | bool "Add a Memory Reference Code binary" |
| 125 | help |
| 126 | Select this option to add a Memory Reference Code binary to |
| 127 | the resulting coreboot image. |
| 128 | |
| 129 | Note: Without this binary coreboot will not work |
| 130 | |
| 131 | if HAVE_MRC |
| 132 | |
| 133 | config MRC_FILE |
| 134 | string "Intel Memory Reference Code path and filename" |
| 135 | depends on HAVE_MRC |
| 136 | default "mrc.bin" |
| 137 | help |
| 138 | The filename of the file to use as Memory Reference Code binary. |
| 139 | |
| 140 | config MRC_BIN_ADDRESS |
| 141 | hex |
| 142 | default 0xfffa0000 |
| 143 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 144 | endif # HAVE_MRC |
| 145 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 146 | config PRE_GRAPHICS_DELAY |
| 147 | int "Graphics initialization delay in ms" |
| 148 | default 0 |
| 149 | help |
| 150 | On some systems, coreboot boots so fast that connected monitors |
| 151 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 152 | VBIOS. On those systems we need to wait for a bit before executing |
| 153 | the VBIOS. |
| 154 | |
| 155 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 156 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 157 | default n |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 158 | help |
| 159 | The romstage code caches the loaded ramstage program in SMM space. |
| 160 | On S3 wake the romstage will copy over a fresh ramstage that was |
| 161 | cached in the SMM space. This option determines the action to take |
| 162 | when the ramstage cache is invalid. If selected the system will |
| 163 | reset otherwise the ramstage will be reloaded from cbfs. |
| 164 | |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 165 | config INTEL_PCH_UART_CONSOLE |
| 166 | bool "Use Serial IO UART for console" |
| 167 | default n |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 168 | select DRIVERS_UART_8250MEM |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 169 | |
| 170 | config INTEL_PCH_UART_CONSOLE_NUMBER |
| 171 | hex "Serial IO UART number to use for console" |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 172 | default 0x0 |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 173 | depends on INTEL_PCH_UART_CONSOLE |
| 174 | |
| 175 | config TTYS0_BASE |
| 176 | hex |
| 177 | default 0xd6000000 |
| 178 | depends on INTEL_PCH_UART_CONSOLE |
| 179 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 180 | config EHCI_BAR |
| 181 | hex |
| 182 | default 0xd8000000 |
| 183 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 184 | config 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 Georgi | e6e9493 | 2015-06-22 22:26:45 +0200 | [diff] [blame] | 190 | |
| 191 | config 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 | |
| 198 | if HAVE_REFCODE_BLOB |
| 199 | |
| 200 | config 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 | |
| 206 | endif # HAVE_REFCODE_BLOB |
| 207 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 208 | endif |