blob: 1ccde4ab028face049fccbe000f9e88edef0976b [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
Duncan Lauriea1c8b34d2015-09-08 16:12:44 -070040 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070041 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 Leahyb0005132015-05-12 18:19:47 -070046 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 Leahy1d14b3e2015-05-12 18:23:27 -070055 select USE_GENERIC_FSP_CAR_INC
Lee Leahyb0005132015-05-12 18:19:47 -070056
57config BOOTBLOCK_CPU_INIT
58 string
59 default "soc/intel/skylake/bootblock/cpu.c"
60
61config BOOTBLOCK_NORTHBRIDGE_INIT
62 string
63 default "soc/intel/skylake/bootblock/systemagent.c"
64
Lee Leahy1d14b3e2015-05-12 18:23:27 -070065config BOOTBLOCK_RESETS
66 string
67 default "soc/intel/common/reset.c"
68
Lee Leahyb0005132015-05-12 18:19:47 -070069config BOOTBLOCK_SOUTHBRIDGE_INIT
70 string
71 default "soc/intel/skylake/bootblock/pch.c"
72
Lee Leahy1d14b3e2015-05-12 18:23:27 -070073config CPU_ADDR_BITS
74 int
75 default 36
76
77config DCACHE_RAM_BASE
78 hex "Base address of cache-as-RAM"
79 default 0xfef00000
80
81config DCACHE_RAM_SIZE
82 hex "Length in bytes of cache-as-RAM"
83 default 0x4000
Lee Leahyb0005132015-05-12 18:19:47 -070084 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -070085 The size of the cache-as-ram region required during bootblock
86 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -070087
Lee Leahyb0005132015-05-12 18:19:47 -070088config HAVE_IFD_BIN
89 bool "Use Intel Firmware Descriptor from existing binary"
90 default n
91
92config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700109config 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
120config HEAP_SIZE
121 hex
122 default 0x80000
123
124config IED_REGION_SIZE
125 hex
126 default 0x400000
127
128config 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 Leahyb0005132015-05-12 18:19:47 -0700133config IFD_BIOS_SECTION
134 depends on BUILD_WITH_FAKE_IFD
135 string
136 default ""
137
138config IFD_ME_SECTION
139 depends on BUILD_WITH_FAKE_IFD
140 string
141 default ""
142
143config IFD_PLATFORM_SECTION
144 depends on BUILD_WITH_FAKE_IFD
145 string
146 default ""
147
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700148config 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 Leahy1d14b3e2015-05-12 18:23:27 -0700153config MMCONF_BASE_ADDRESS
154 hex "MMIO Base Address"
155 default 0xe0000000
156
157config 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
163config 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
172config SERIAL_CPU_INIT
173 bool
174 default n
175
176config 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
183config SMM_RESERVED_SIZE
184 hex
185 default 0x200000
186
187config SMM_TSEG_SIZE
188 hex
189 default 0x800000
190
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700191config VGA_BIOS_ID
192 string
193 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700194
Aaron Durbine33a1722015-07-30 16:52:56 -0500195config UART_DEBUG
196 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500197 default n
Martin Roth1afcb232015-08-15 17:36:15 -0600198 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500199 select DRIVERS_UART
200 select DRIVERS_UART_8250MEM
201 select DRIVERS_UART_8250MEM_32
202
Aaron Durbin3953e392015-09-03 00:41:29 -0500203config CHIPSET_BOOTBLOCK_INCLUDE
204 string
205 default "soc/intel/skylake/bootblock/timestamp.inc"
206
Lee Leahyb0005132015-05-12 18:19:47 -0700207endif