blob: 07c1d4140ecf2bde8bccf9055fa74cedfc62d5ff [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 BACKUP_DEFAULT_SMM_REGION
Lee Leahyb0005132015-05-12 18:19:47 -070015 select CACHE_MRC_SETTINGS
Alexandru Gagniuc27fea062015-08-29 20:00:24 -070016 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
Lee Leahyb0005132015-05-12 18:19:47 -070017 select CACHE_ROM
18 select CAR_MIGRATION
19 select COLLECT_TIMESTAMPS
20 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070021 select CPU_MICROCODE_IN_CBFS
Aaron Durbinffdf9012015-07-24 13:00:36 -050022 select GENERIC_GPIO_LIB
Lee Leahy1d14b3e2015-05-12 18:23:27 -070023 select HAS_PRECBMEM_TIMESTAMP_REGION
24 select HAVE_HARD_RESET
Lee Leahyb0005132015-05-12 18:19:47 -070025 select HAVE_MONOTONIC_TIMER
26 select HAVE_SMI_HANDLER
Lee Leahyb0005132015-05-12 18:19:47 -070027 select IOAPIC
28 select MMCONF_SUPPORT
29 select MMCONF_SUPPORT_DEFAULT
Lee Leahyb0005132015-05-12 18:19:47 -070030 select PARALLEL_MP
31 select PCIEXP_ASPM
32 select PCIEXP_COMMON_CLOCK
33 select PCIEXP_CLK_PM
Aaron Durbin27d153c2015-07-13 13:50:34 -050034 select PCIEXP_L1_SUB_STATE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070035 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 Leahyb0005132015-05-12 18:19:47 -070045 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 Leahy1d14b3e2015-05-12 18:23:27 -070054 select USE_GENERIC_FSP_CAR_INC
Lee Leahyb0005132015-05-12 18:19:47 -070055
56config BOOTBLOCK_CPU_INIT
57 string
58 default "soc/intel/skylake/bootblock/cpu.c"
59
60config BOOTBLOCK_NORTHBRIDGE_INIT
61 string
62 default "soc/intel/skylake/bootblock/systemagent.c"
63
Lee Leahy1d14b3e2015-05-12 18:23:27 -070064config BOOTBLOCK_RESETS
65 string
66 default "soc/intel/common/reset.c"
67
Lee Leahyb0005132015-05-12 18:19:47 -070068config BOOTBLOCK_SOUTHBRIDGE_INIT
69 string
70 default "soc/intel/skylake/bootblock/pch.c"
71
Lee Leahy1d14b3e2015-05-12 18:23:27 -070072config CPU_ADDR_BITS
73 int
74 default 36
75
76config DCACHE_RAM_BASE
77 hex "Base address of cache-as-RAM"
78 default 0xfef00000
79
80config DCACHE_RAM_SIZE
81 hex "Length in bytes of cache-as-RAM"
82 default 0x4000
Lee Leahyb0005132015-05-12 18:19:47 -070083 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -070084 The size of the cache-as-ram region required during bootblock
85 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -070086
Lee Leahyb0005132015-05-12 18:19:47 -070087config HAVE_IFD_BIN
88 bool "Use Intel Firmware Descriptor from existing binary"
89 default n
90
91config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700108config 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
119config HEAP_SIZE
120 hex
121 default 0x80000
122
123config IED_REGION_SIZE
124 hex
125 default 0x400000
126
127config 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 Leahyb0005132015-05-12 18:19:47 -0700132config IFD_BIOS_SECTION
133 depends on BUILD_WITH_FAKE_IFD
134 string
135 default ""
136
137config IFD_ME_SECTION
138 depends on BUILD_WITH_FAKE_IFD
139 string
140 default ""
141
142config IFD_PLATFORM_SECTION
143 depends on BUILD_WITH_FAKE_IFD
144 string
145 default ""
146
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700147config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700152config MMCONF_BASE_ADDRESS
153 hex "MMIO Base Address"
154 default 0xe0000000
155
156config 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
162config 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
171config SERIAL_CPU_INIT
172 bool
173 default n
174
175config 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
182config SMM_RESERVED_SIZE
183 hex
184 default 0x200000
185
186config SMM_TSEG_SIZE
187 hex
188 default 0x800000
189
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700190config VGA_BIOS_ID
191 string
192 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700193
Aaron Durbine33a1722015-07-30 16:52:56 -0500194config UART_DEBUG
195 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500196 default n
Martin Roth1afcb232015-08-15 17:36:15 -0600197 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500198 select DRIVERS_UART
199 select DRIVERS_UART_8250MEM
200 select DRIVERS_UART_8250MEM_32
201
Aaron Durbin3953e392015-09-03 00:41:29 -0500202config CHIPSET_BOOTBLOCK_INCLUDE
203 string
204 default "soc/intel/skylake/bootblock/timestamp.inc"
205
Lee Leahyb0005132015-05-12 18:19:47 -0700206endif