Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 1 | config SOC_INTEL_SKYLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Skylake support |
| 5 | |
| 6 | if SOC_INTEL_SKYLAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
| 10 | select ARCH_BOOTBLOCK_X86_32 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 11 | select ARCH_RAMSTAGE_X86_32 |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 12 | select ARCH_ROMSTAGE_X86_32 |
| 13 | select ARCH_VERSTAGE_X86_32 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 14 | select BACKUP_DEFAULT_SMM_REGION |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 15 | select CACHE_MRC_SETTINGS |
Alexandru Gagniuc | 27fea06 | 2015-08-29 20:00:24 -0700 | [diff] [blame] | 16 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 17 | select CACHE_ROM |
| 18 | select CAR_MIGRATION |
| 19 | select COLLECT_TIMESTAMPS |
| 20 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 21 | select CPU_MICROCODE_IN_CBFS |
Aaron Durbin | ffdf901 | 2015-07-24 13:00:36 -0500 | [diff] [blame] | 22 | select GENERIC_GPIO_LIB |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 23 | select HAS_PRECBMEM_TIMESTAMP_REGION |
| 24 | select HAVE_HARD_RESET |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 25 | select HAVE_MONOTONIC_TIMER |
| 26 | select HAVE_SMI_HANDLER |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 27 | select IOAPIC |
| 28 | select MMCONF_SUPPORT |
| 29 | select MMCONF_SUPPORT_DEFAULT |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 30 | select PARALLEL_MP |
| 31 | select PCIEXP_ASPM |
| 32 | select PCIEXP_COMMON_CLOCK |
| 33 | select PCIEXP_CLK_PM |
Aaron Durbin | 27d153c | 2015-07-13 13:50:34 -0500 | [diff] [blame] | 34 | select PCIEXP_L1_SUB_STATE |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 35 | select PLATFORM_USES_FSP1_1 |
| 36 | select REG_SCRIPT |
| 37 | select RELOCATABLE_MODULES |
| 38 | select RELOCATABLE_RAMSTAGE |
| 39 | select SOC_INTEL_COMMON |
| 40 | select SOC_INTEL_COMMON_FSP_RAM_INIT |
| 41 | select SOC_INTEL_COMMON_FSP_ROMSTAGE |
| 42 | select SOC_INTEL_COMMON_RESET |
| 43 | select SOC_INTEL_COMMON_STACK |
| 44 | select SOC_INTEL_COMMON_STAGE_CACHE |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 45 | select SMM_MODULES |
| 46 | select SMM_TSEG |
| 47 | select SMP |
| 48 | select SPI_FLASH |
| 49 | select SSE2 |
| 50 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 51 | select TSC_CONSTANT_RATE |
| 52 | select TSC_SYNC_MFENCE |
| 53 | select UDELAY_TSC |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 54 | select USE_GENERIC_FSP_CAR_INC |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 55 | |
| 56 | config BOOTBLOCK_CPU_INIT |
| 57 | string |
| 58 | default "soc/intel/skylake/bootblock/cpu.c" |
| 59 | |
| 60 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 61 | string |
| 62 | default "soc/intel/skylake/bootblock/systemagent.c" |
| 63 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 64 | config BOOTBLOCK_RESETS |
| 65 | string |
| 66 | default "soc/intel/common/reset.c" |
| 67 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 68 | config BOOTBLOCK_SOUTHBRIDGE_INIT |
| 69 | string |
| 70 | default "soc/intel/skylake/bootblock/pch.c" |
| 71 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 72 | config CPU_ADDR_BITS |
| 73 | int |
| 74 | default 36 |
| 75 | |
| 76 | config DCACHE_RAM_BASE |
| 77 | hex "Base address of cache-as-RAM" |
| 78 | default 0xfef00000 |
| 79 | |
| 80 | config DCACHE_RAM_SIZE |
| 81 | hex "Length in bytes of cache-as-RAM" |
| 82 | default 0x4000 |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 83 | help |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 84 | The size of the cache-as-ram region required during bootblock |
| 85 | and/or romstage. |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 86 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 87 | config HAVE_IFD_BIN |
| 88 | bool "Use Intel Firmware Descriptor from existing binary" |
| 89 | default n |
| 90 | |
| 91 | config BUILD_WITH_FAKE_IFD |
| 92 | bool "Build with a fake IFD" |
| 93 | default y if !HAVE_IFD_BIN |
| 94 | help |
| 95 | If you don't have an Intel Firmware Descriptor (ifd.bin) for your |
| 96 | board, you can select this option and coreboot will build without it. |
| 97 | Though, the resulting coreboot.rom will not contain all parts required |
| 98 | to get coreboot running on your board. You can however write only the |
| 99 | BIOS section to your board's flash ROM and keep the other sections |
| 100 | untouched. Unfortunately the current version of flashrom doesn't |
| 101 | support this yet. But there is a patch pending [1]. |
| 102 | |
| 103 | WARNING: Never write a complete coreboot.rom to your flash ROM if it |
| 104 | was built with a fake IFD. It just won't work. |
| 105 | |
| 106 | [1] http://www.flashrom.org/pipermail/flashrom/2013-June/011083.html |
| 107 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 108 | config HAVE_ME_BIN |
| 109 | bool "Add Intel Management Engine firmware" |
| 110 | default y |
| 111 | help |
| 112 | The Intel processor in the selected system requires a special firmware |
| 113 | for an integrated controller called Management Engine (ME). The ME |
| 114 | firmware might be provided in coreboot's 3rdparty/blobs repository. If |
| 115 | not and if you don't have the firmware elsewhere, you can still |
| 116 | build coreboot without it. In this case however, you'll have to make |
| 117 | sure that you don't overwrite your ME firmware on your flash ROM. |
| 118 | |
| 119 | config HEAP_SIZE |
| 120 | hex |
| 121 | default 0x80000 |
| 122 | |
| 123 | config IED_REGION_SIZE |
| 124 | hex |
| 125 | default 0x400000 |
| 126 | |
| 127 | config IFD_BIN_PATH |
| 128 | string "Path to intel firmware descriptor" |
| 129 | depends on !BUILD_WITH_FAKE_IFD |
| 130 | default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/descriptor.bin" |
| 131 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 132 | config IFD_BIOS_SECTION |
| 133 | depends on BUILD_WITH_FAKE_IFD |
| 134 | string |
| 135 | default "" |
| 136 | |
| 137 | config IFD_ME_SECTION |
| 138 | depends on BUILD_WITH_FAKE_IFD |
| 139 | string |
| 140 | default "" |
| 141 | |
| 142 | config IFD_PLATFORM_SECTION |
| 143 | depends on BUILD_WITH_FAKE_IFD |
| 144 | string |
| 145 | default "" |
| 146 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 147 | config ME_BIN_PATH |
| 148 | string "Path to management engine firmware" |
| 149 | depends on HAVE_ME_BIN |
| 150 | default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/me.bin" |
| 151 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 152 | config MMCONF_BASE_ADDRESS |
| 153 | hex "MMIO Base Address" |
| 154 | default 0xe0000000 |
| 155 | |
| 156 | config MONOTONIC_TIMER_MSR |
| 157 | def_bool y |
| 158 | select HAVE_MONOTONIC_TIMER |
| 159 | help |
| 160 | Provide a monotonic timer using the 24MHz MSR counter. |
| 161 | |
| 162 | config PRE_GRAPHICS_DELAY |
| 163 | int "Graphics initialization delay in ms" |
| 164 | default 0 |
| 165 | help |
| 166 | On some systems, coreboot boots so fast that connected monitors |
| 167 | (mostly TVs) won't be able to wake up fast enough to talk to the |
| 168 | VBIOS. On those systems we need to wait for a bit before executing |
| 169 | the VBIOS. |
| 170 | |
| 171 | config SERIAL_CPU_INIT |
| 172 | bool |
| 173 | default n |
| 174 | |
| 175 | config SERIRQ_CONTINUOUS_MODE |
| 176 | bool |
| 177 | default y |
| 178 | help |
| 179 | If you set this option to y, the serial IRQ machine will be |
| 180 | operated in continuous mode. |
| 181 | |
| 182 | config SMM_RESERVED_SIZE |
| 183 | hex |
| 184 | default 0x200000 |
| 185 | |
| 186 | config SMM_TSEG_SIZE |
| 187 | hex |
| 188 | default 0x800000 |
| 189 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 190 | config VGA_BIOS_ID |
| 191 | string |
| 192 | default "8086,0406" |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 193 | |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 194 | config UART_DEBUG |
| 195 | bool "Enable UART debug port." |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 196 | default n |
Martin Roth | 1afcb23 | 2015-08-15 17:36:15 -0600 | [diff] [blame] | 197 | select CONSOLE_SERIAL |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 198 | select DRIVERS_UART |
| 199 | select DRIVERS_UART_8250MEM |
| 200 | select DRIVERS_UART_8250MEM_32 |
| 201 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 202 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 203 | string |
| 204 | default "soc/intel/skylake/bootblock/timestamp.inc" |
| 205 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 206 | endif |