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 |
| 10 | select ARCH_BOOTBLOCK_X86_32 |
Stefan Reinauer | 77b1655 | 2015-01-14 19:51:47 +0100 | [diff] [blame] | 11 | select ARCH_VERSTAGE_X86_32 |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 12 | select ARCH_ROMSTAGE_X86_32 |
| 13 | select ARCH_RAMSTAGE_X86_32 |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 14 | select BACKUP_DEFAULT_SMM_REGION |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 15 | select CACHE_MRC_SETTINGS |
Duncan Laurie | f059b24 | 2015-01-15 15:42:43 -0800 | [diff] [blame] | 16 | select MRC_SETTINGS_PROTECT |
Alexandru Gagniuc | 27fea06 | 2015-08-29 20:00:24 -0700 | [diff] [blame] | 17 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 18 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Kyösti Mälkki | 4851bf2 | 2014-12-27 12:57:06 +0200 | [diff] [blame] | 19 | select SUPPORT_CPU_UCODE_IN_CBFS |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 20 | select HAVE_MONOTONIC_TIMER |
| 21 | select HAVE_SMI_HANDLER |
| 22 | select HAVE_HARD_RESET |
| 23 | select HAVE_USBDEBUG |
| 24 | select IOAPIC |
| 25 | select MMCONF_SUPPORT |
| 26 | select MMCONF_SUPPORT_DEFAULT |
| 27 | select RELOCATABLE_MODULES |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 28 | select RELOCATABLE_RAMSTAGE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 29 | select REG_SCRIPT |
| 30 | select PARALLEL_MP |
| 31 | select PCIEXP_ASPM |
| 32 | select PCIEXP_COMMON_CLOCK |
Kane Chen | 9604474 | 2014-10-01 13:22:52 +0800 | [diff] [blame] | 33 | select PCIEXP_CLK_PM |
Kenji Chen | b71d9b8 | 2014-10-10 03:08:15 +0800 | [diff] [blame] | 34 | select PCIEXP_L1_SUB_STATE |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 35 | select SMM_TSEG |
| 36 | select SMP |
| 37 | select SPI_FLASH |
| 38 | select SSE2 |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 39 | select SUPPORT_CPU_UCODE_IN_CBFS |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 40 | select TSC_CONSTANT_RATE |
| 41 | select TSC_SYNC_MFENCE |
| 42 | select UDELAY_TSC |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 43 | select SOC_INTEL_COMMON |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 44 | select HAVE_INTEL_FIRMWARE |
Duncan Laurie | 81a4c85 | 2015-09-08 16:10:30 -0700 | [diff] [blame] | 45 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame^] | 46 | select HAVE_SPI_CONSOLE_SUPPORT |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 47 | |
| 48 | config BOOTBLOCK_CPU_INIT |
| 49 | string |
| 50 | default "soc/intel/broadwell/bootblock/cpu.c" |
| 51 | |
| 52 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 53 | string |
| 54 | default "soc/intel/broadwell/bootblock/systemagent.c" |
| 55 | |
| 56 | config BOOTBLOCK_SOUTHBRIDGE_INIT |
| 57 | string |
| 58 | default "soc/intel/broadwell/bootblock/pch.c" |
| 59 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 60 | |
| 61 | config MMCONF_BASE_ADDRESS |
| 62 | hex |
| 63 | default 0xf0000000 |
| 64 | |
| 65 | config SERIAL_CPU_INIT |
| 66 | bool |
| 67 | default n |
| 68 | |
| 69 | config SMM_TSEG_SIZE |
| 70 | hex |
| 71 | default 0x800000 |
| 72 | |
| 73 | config IED_REGION_SIZE |
| 74 | hex |
| 75 | default 0x400000 |
| 76 | |
| 77 | config SMM_RESERVED_SIZE |
| 78 | hex |
| 79 | default 0x100000 |
| 80 | |
| 81 | config VGA_BIOS_ID |
| 82 | string |
| 83 | default "8086,0406" |
| 84 | |
| 85 | config CACHE_MRC_SIZE_KB |
| 86 | int |
| 87 | default 512 |
| 88 | |
| 89 | config DCACHE_RAM_BASE |
| 90 | hex |
| 91 | default 0xff7c0000 |
| 92 | |
| 93 | config 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 | |
| 101 | config 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 | |
| 107 | config DCACHE_RAM_ROMSTAGE_STACK_SIZE |
| 108 | hex |
| 109 | default 0x2000 |
| 110 | help |
| 111 | The amount of anticipated stack usage from the data cache |
| 112 | during pre-ram rom stage execution. |
| 113 | |
| 114 | config HAVE_MRC |
| 115 | bool "Add a Memory Reference Code binary" |
| 116 | help |
| 117 | Select this option to add a Memory Reference Code binary to |
| 118 | the resulting coreboot image. |
| 119 | |
| 120 | Note: Without this binary coreboot will not work |
| 121 | |
| 122 | if HAVE_MRC |
| 123 | |
| 124 | config MRC_FILE |
| 125 | string "Intel Memory Reference Code path and filename" |
| 126 | depends on HAVE_MRC |
| 127 | default "mrc.bin" |
| 128 | help |
| 129 | The filename of the file to use as Memory Reference Code binary. |
| 130 | |
| 131 | config MRC_BIN_ADDRESS |
| 132 | hex |
| 133 | default 0xfffa0000 |
| 134 | |
| 135 | config CACHE_MRC_SETTINGS |
| 136 | bool "Save cached MRC settings" |
| 137 | default y |
| 138 | |
| 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 | |
| 150 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 151 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 152 | default n |
| 153 | depends on RELOCATABLE_RAMSTAGE |
| 154 | help |
| 155 | The romstage code caches the loaded ramstage program in SMM space. |
| 156 | On S3 wake the romstage will copy over a fresh ramstage that was |
| 157 | cached in the SMM space. This option determines the action to take |
| 158 | when the ramstage cache is invalid. If selected the system will |
| 159 | reset otherwise the ramstage will be reloaded from cbfs. |
| 160 | |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 161 | config INTEL_PCH_UART_CONSOLE |
| 162 | bool "Use Serial IO UART for console" |
| 163 | default n |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 164 | select DRIVERS_UART_8250MEM |
Duncan Laurie | 6168027 | 2014-05-05 12:42:35 -0500 | [diff] [blame] | 165 | |
| 166 | config INTEL_PCH_UART_CONSOLE_NUMBER |
| 167 | hex "Serial IO UART number to use for console" |
| 168 | default "0x0" |
| 169 | depends on INTEL_PCH_UART_CONSOLE |
| 170 | |
| 171 | config TTYS0_BASE |
| 172 | hex |
| 173 | default 0xd6000000 |
| 174 | depends on INTEL_PCH_UART_CONSOLE |
| 175 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 176 | config EHCI_BAR |
| 177 | hex |
| 178 | default 0xd8000000 |
| 179 | |
| 180 | config EHCI_DEBUG_OFFSET |
| 181 | hex |
| 182 | default 0xa0 |
| 183 | |
| 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 | |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 208 | config HAVE_ME_BIN |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 209 | def_bool y |
Marc Jones | a6354a1 | 2014-12-26 22:11:14 -0700 | [diff] [blame] | 210 | |
| 211 | config BUILD_WITH_FAKE_IFD |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 212 | def_bool !HAVE_IFD_BIN |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 213 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 214 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 215 | string |
| 216 | default "soc/intel/broadwell/bootblock/timestamp.inc" |
| 217 | |
Duncan Laurie | c88c54c | 2014-04-30 16:36:13 -0700 | [diff] [blame] | 218 | endif |