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