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