blob: 9d920d837dad039f86688becb599d0ba6d02438d [file] [log] [blame]
Lee Leahyb0005132015-05-12 18:19:47 -07001config SOC_INTEL_SKYLAKE
2 bool
3 help
4 Intel Skylake support
5
6if SOC_INTEL_SKYLAKE
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
10 select ARCH_BOOTBLOCK_X86_32
Lee Leahyb0005132015-05-12 18:19:47 -070011 select ARCH_RAMSTAGE_X86_32
Lee Leahy1d14b3e2015-05-12 18:23:27 -070012 select ARCH_ROMSTAGE_X86_32
13 select ARCH_VERSTAGE_X86_32
Lee Leahyb0005132015-05-12 18:19:47 -070014 select ALWAYS_LOAD_OPROM
15 select BACKUP_DEFAULT_SMM_REGION
Lee Leahyb0005132015-05-12 18:19:47 -070016 select CACHE_MRC_SETTINGS
Lee Leahyb0005132015-05-12 18:19:47 -070017 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 Leahy1d14b3e2015-05-12 18:23:27 -070022 select CPU_MICROCODE_IN_CBFS
Aaron Durbinffdf9012015-07-24 13:00:36 -050023 select GENERIC_GPIO_LIB
Lee Leahy1d14b3e2015-05-12 18:23:27 -070024 select HAS_PRECBMEM_TIMESTAMP_REGION
25 select HAVE_HARD_RESET
Lee Leahyb0005132015-05-12 18:19:47 -070026 select HAVE_MONOTONIC_TIMER
27 select HAVE_SMI_HANDLER
Naveen Krishna Chatradhi5c56ce12015-07-15 16:02:25 +053028 select HAVE_UART_MEMORY_MAPPED
Lee Leahyb0005132015-05-12 18:19:47 -070029 select IOAPIC
30 select MMCONF_SUPPORT
31 select MMCONF_SUPPORT_DEFAULT
Lee Leahyb0005132015-05-12 18:19:47 -070032 select PARALLEL_MP
33 select PCIEXP_ASPM
34 select PCIEXP_COMMON_CLOCK
35 select PCIEXP_CLK_PM
Aaron Durbin27d153c2015-07-13 13:50:34 -050036 select PCIEXP_L1_SUB_STATE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070037 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 Leahyb0005132015-05-12 18:19:47 -070047 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 Leahy1d14b3e2015-05-12 18:23:27 -070056 select USE_GENERIC_FSP_CAR_INC
Lee Leahyb0005132015-05-12 18:19:47 -070057
58config BOOTBLOCK_CPU_INIT
59 string
60 default "soc/intel/skylake/bootblock/cpu.c"
61
62config BOOTBLOCK_NORTHBRIDGE_INIT
63 string
64 default "soc/intel/skylake/bootblock/systemagent.c"
65
Lee Leahy1d14b3e2015-05-12 18:23:27 -070066config BOOTBLOCK_RESETS
67 string
68 default "soc/intel/common/reset.c"
69
Lee Leahyb0005132015-05-12 18:19:47 -070070config BOOTBLOCK_SOUTHBRIDGE_INIT
71 string
72 default "soc/intel/skylake/bootblock/pch.c"
73
Lee Leahy1d14b3e2015-05-12 18:23:27 -070074config CPU_ADDR_BITS
75 int
76 default 36
77
78config DCACHE_RAM_BASE
79 hex "Base address of cache-as-RAM"
80 default 0xfef00000
81
82config DCACHE_RAM_SIZE
83 hex "Length in bytes of cache-as-RAM"
84 default 0x4000
Lee Leahyb0005132015-05-12 18:19:47 -070085 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -070086 The size of the cache-as-ram region required during bootblock
87 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -070088
Lee Leahyb0005132015-05-12 18:19:47 -070089config HAVE_IFD_BIN
90 bool "Use Intel Firmware Descriptor from existing binary"
91 default n
92
93config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700110config 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
121config HEAP_SIZE
122 hex
123 default 0x80000
124
125config IED_REGION_SIZE
126 hex
127 default 0x400000
128
129config 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 Leahyb0005132015-05-12 18:19:47 -0700134config IFD_BIOS_SECTION
135 depends on BUILD_WITH_FAKE_IFD
136 string
137 default ""
138
139config IFD_ME_SECTION
140 depends on BUILD_WITH_FAKE_IFD
141 string
142 default ""
143
144config IFD_PLATFORM_SECTION
145 depends on BUILD_WITH_FAKE_IFD
146 string
147 default ""
148
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700149config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700154config MMCONF_BASE_ADDRESS
155 hex "MMIO Base Address"
156 default 0xe0000000
157
158config 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
164config 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
173config SERIAL_CPU_INIT
174 bool
175 default n
176
177config 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
184config SMM_RESERVED_SIZE
185 hex
186 default 0x200000
187
188config SMM_TSEG_SIZE
189 hex
190 default 0x800000
191
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700192config VGA_BIOS_ID
193 string
194 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700195
Aaron Durbine33a1722015-07-30 16:52:56 -0500196config UART_DEBUG
197 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500198 default n
Martin Roth1afcb232015-08-15 17:36:15 -0600199 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500200 select DRIVERS_UART
201 select DRIVERS_UART_8250MEM
202 select DRIVERS_UART_8250MEM_32
203
Lee Leahyb0005132015-05-12 18:19:47 -0700204endif