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 | |
Angel Pons | 417a6da | 2020-10-29 13:19:48 +0100 | [diff] [blame] | 8 | config INTEL_LYNXPOINT_LP |
| 9 | bool |
| 10 | default y if SOC_INTEL_BROADWELL |
| 11 | |
Angel Pons | a3288b3 | 2020-11-23 13:00:51 +0100 | [diff] [blame] | 12 | config SOC_SPECIFIC_OPTIONS |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 13 | def_bool y |
Aaron Durbin | 9e6d143 | 2016-07-13 23:21:41 -0500 | [diff] [blame] | 14 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
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 |
Angel Pons | 3f0a95a | 2020-11-23 13:34:56 +0100 | [diff] [blame^] | 17 | select CPU_INTEL_HASWELL |
Duncan Laurie | f059b24 | 2015-01-15 15:42:43 -0800 | [diff] [blame] | 18 | select MRC_SETTINGS_PROTECT |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 19 | select HAVE_SMI_HANDLER |
Angel Pons | dd558fd | 2020-10-13 20:49:23 +0200 | [diff] [blame] | 20 | select SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 21 | select SOUTHBRIDGE_INTEL_COMMON_RESET |
Arthur Heymans | 2abbe46 | 2019-06-04 14:12:01 +0200 | [diff] [blame] | 22 | select SOUTHBRIDGE_INTEL_COMMON_RTC |
Kyösti Mälkki | d1c69c6 | 2020-01-02 18:03:24 +0200 | [diff] [blame] | 23 | select SOUTHBRIDGE_INTEL_COMMON_SMBUS |
Arthur Heymans | 47a6603 | 2019-10-25 23:43:14 +0200 | [diff] [blame] | 24 | select SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 25 | select HAVE_USBDEBUG |
| 26 | select IOAPIC |
Angel Pons | 3f0a95a | 2020-11-23 13:34:56 +0100 | [diff] [blame^] | 27 | select INTEL_LYNXPOINT_LP |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 28 | select REG_SCRIPT |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 29 | select RTC |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 30 | select SPI_FLASH |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 31 | select SOC_INTEL_COMMON |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 32 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Angel Pons | 12d48cd | 2020-10-03 12:22:04 +0200 | [diff] [blame] | 33 | select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT |
Matt DeVillier | 773488f | 2017-10-18 12:27:25 -0500 | [diff] [blame] | 34 | select INTEL_GMA_ACPI |
Nico Huber | 9faae2b | 2018-11-14 00:00:35 +0100 | [diff] [blame] | 35 | select HAVE_POWER_STATE_AFTER_FAILURE |
| 36 | select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 37 | |
Youness Alaoui | b191c9f | 2017-05-08 15:22:03 -0400 | [diff] [blame] | 38 | config PCIEXP_ASPM |
| 39 | bool |
| 40 | default y |
| 41 | |
Youness Alaoui | 7161678 | 2018-05-04 15:34:06 -0400 | [diff] [blame] | 42 | config PCIEXP_AER |
| 43 | bool |
| 44 | default y |
| 45 | |
Youness Alaoui | b191c9f | 2017-05-08 15:22:03 -0400 | [diff] [blame] | 46 | config PCIEXP_COMMON_CLOCK |
| 47 | bool |
| 48 | default y |
| 49 | |
| 50 | config PCIEXP_CLK_PM |
| 51 | bool |
| 52 | default y |
| 53 | |
| 54 | config PCIEXP_L1_SUB_STATE |
| 55 | bool |
| 56 | default y |
| 57 | |
Arthur Heymans | 4d56a06 | 2018-12-22 16:11:52 +0100 | [diff] [blame] | 58 | config BROADWELL_VBOOT_IN_BOOTBLOCK |
| 59 | depends on VBOOT |
| 60 | bool "Start verstage in bootblock" |
| 61 | default y |
| 62 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 63 | select VBOOT_SEPARATE_VERSTAGE |
| 64 | help |
| 65 | Broadwell can either start verstage in a separate stage |
| 66 | right after the bootblock has run or it can start it |
| 67 | after romstage for compatibility reasons. |
| 68 | Broadwell however uses a mrc.bin to initialse memory which |
| 69 | needs to be located at a fixed offset. Therefore even with |
| 70 | a separate verstage starting after the bootblock that same |
| 71 | binary is used meaning a jump is made from RW to the RO region |
| 72 | and back to the RW region after the binary is done. |
| 73 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 74 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 75 | select VBOOT_MUST_REQUEST_DISPLAY |
Arthur Heymans | 4d56a06 | 2018-12-22 16:11:52 +0100 | [diff] [blame] | 76 | select VBOOT_STARTS_IN_ROMSTAGE if !BROADWELL_VBOOT_IN_BOOTBLOCK |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 77 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 78 | config MMCONF_BASE_ADDRESS |
| 79 | hex |
| 80 | default 0xf0000000 |
| 81 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 82 | config VGA_BIOS_ID |
| 83 | string |
| 84 | default "8086,0406" |
| 85 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 86 | config DCACHE_RAM_BASE |
| 87 | hex |
| 88 | default 0xff7c0000 |
| 89 | |
| 90 | config DCACHE_RAM_SIZE |
| 91 | hex |
| 92 | default 0x10000 |
| 93 | help |
| 94 | The size of the cache-as-ram region required during bootblock |
| 95 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 96 | must add up to a power of 2. |
| 97 | |
| 98 | config DCACHE_RAM_MRC_VAR_SIZE |
| 99 | hex |
| 100 | default 0x30000 |
| 101 | help |
| 102 | The amount of cache-as-ram region required by the reference code. |
| 103 | |
Arthur Heymans | 5bb15f1 | 2018-12-22 16:02:25 +0100 | [diff] [blame] | 104 | config DCACHE_BSP_STACK_SIZE |
| 105 | hex |
| 106 | default 0x2000 |
| 107 | help |
| 108 | The amount of anticipated stack usage in CAR by bootblock and |
| 109 | other stages. |
| 110 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 111 | config HAVE_MRC |
| 112 | bool "Add a Memory Reference Code binary" |
| 113 | help |
| 114 | Select this option to add a Memory Reference Code binary to |
| 115 | the resulting coreboot image. |
| 116 | |
| 117 | Note: Without this binary coreboot will not work |
| 118 | |
| 119 | if HAVE_MRC |
| 120 | |
| 121 | config MRC_FILE |
| 122 | string "Intel Memory Reference Code path and filename" |
| 123 | depends on HAVE_MRC |
| 124 | default "mrc.bin" |
| 125 | help |
| 126 | The filename of the file to use as Memory Reference Code binary. |
| 127 | |
| 128 | config MRC_BIN_ADDRESS |
| 129 | hex |
| 130 | default 0xfffa0000 |
| 131 | |
Arthur Heymans | 4d56a06 | 2018-12-22 16:11:52 +0100 | [diff] [blame] | 132 | # The UEFI System Agent binary needs to be at a fixed offset in the flash |
| 133 | # and can therefore only reside in the COREBOOT fmap region |
| 134 | config RO_REGION_ONLY |
| 135 | string |
| 136 | depends on VBOOT |
| 137 | default "mrc.bin" |
| 138 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 139 | endif # HAVE_MRC |
| 140 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 141 | config PRE_GRAPHICS_DELAY |
| 142 | int "Graphics initialization delay in ms" |
| 143 | default 0 |
| 144 | help |
| 145 | On some systems, coreboot boots so fast that connected monitors |
| 146 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 147 | VBIOS. On those systems we need to wait for a bit before executing |
| 148 | the VBIOS. |
| 149 | |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 150 | config INTEL_PCH_UART_CONSOLE |
| 151 | bool "Use Serial IO UART for console" |
| 152 | default n |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 153 | select DRIVERS_UART_8250MEM |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 154 | |
| 155 | config INTEL_PCH_UART_CONSOLE_NUMBER |
| 156 | hex "Serial IO UART number to use for console" |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 157 | default 0x0 |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 158 | depends on INTEL_PCH_UART_CONSOLE |
| 159 | |
| 160 | config TTYS0_BASE |
| 161 | hex |
| 162 | default 0xd6000000 |
| 163 | depends on INTEL_PCH_UART_CONSOLE |
| 164 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 165 | config EHCI_BAR |
| 166 | hex |
| 167 | default 0xd8000000 |
| 168 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 169 | config SERIRQ_CONTINUOUS_MODE |
| 170 | bool |
| 171 | default y |
| 172 | help |
| 173 | If you set this option to y, the serial IRQ machine will be |
| 174 | operated in continuous mode. |
Patrick Georgi | e6e9493 | 2015-06-22 22:26:45 +0200 | [diff] [blame] | 175 | |
| 176 | config HAVE_REFCODE_BLOB |
| 177 | depends on ARCH_X86 |
| 178 | bool "An external reference code blob should be put into cbfs." |
| 179 | default n |
| 180 | help |
| 181 | The reference code blob will be placed into cbfs. |
| 182 | |
| 183 | if HAVE_REFCODE_BLOB |
| 184 | |
| 185 | config REFCODE_BLOB_FILE |
| 186 | string "Path and filename to reference code blob." |
| 187 | default "refcode.elf" |
| 188 | help |
| 189 | The path and filename to the file to be added to cbfs. |
| 190 | |
| 191 | endif # HAVE_REFCODE_BLOB |
| 192 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 193 | endif |