1 ifeq ($(CONFIG_SOC_INTEL_SKYLAKE),y)
5 subdirs-y += ../../../cpu/intel/microcode
6 subdirs-y += ../../../cpu/intel/turbo
7 subdirs-y += ../../../cpu/x86/lapic
8 subdirs-y += ../../../cpu/x86/mtrr
9 subdirs-y += ../../../cpu/x86/smm
10 subdirs-y += ../../../cpu/x86/tsc
12 bootblock-y += bootblock/bootblock.c
13 bootblock-y += bootblock/cpu.c
15 bootblock-y += bootblock/pch.c
16 bootblock-y += bootblock/report_platform.c
17 bootblock-$(CONFIG_UART_DEBUG) += bootblock/uart.c
18 bootblock-$(CONFIG_UART_DEBUG) += uart_debug.c
22 bootblock-y += pmutil.c
27 verstage-$(CONFIG_UART_DEBUG) += uart_debug.c
28 verstage-y += pmutil.c
35 romstage-y += memmap.c
38 romstage-y += pei_data.c
39 romstage-y += pmutil.c
40 romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += reset.c
42 romstage-$(CONFIG_UART_DEBUG) += uart_debug.c
44 ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
45 ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += chip.c
46 ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += chip_fsp20.c
50 ramstage-y += finalize.c
56 ramstage-y += lockdown.c
59 ramstage-y += memmap.c
61 ramstage-y += pei_data.c
63 ramstage-y += pmutil.c
64 ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += reset.c
67 ramstage-y += smmrelocate.c
69 ramstage-y += systemagent.c
71 ramstage-$(CONFIG_UART_DEBUG) += uart_debug.c
72 ramstage-y += vr_config.c
78 smm-$(CONFIG_SPI_FLASH_SMM) += spi.c
79 smm-$(CONFIG_UART_DEBUG) += uart_debug.c
83 postcar-$(CONFIG_UART_DEBUG) += uart_debug.c
85 # cpu_microcode_bins += ???
87 CPPFLAGS_common += -I$(src)/soc/intel/skylake
88 CPPFLAGS_common += -I$(src)/soc/intel/skylake/include
90 ifeq ($(CONFIG_PLATFORM_USES_FSP1_1),y)
91 CPPFLAGS_common += -I$(src)/soc/intel/skylake/include/fsp11
92 CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake
94 CPPFLAGS_common += -I$(src)/soc/intel/skylake/include/fsp20
95 CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/skykabylake
98 # Currently used for microcode path.
99 CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARDDIR)
101 ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2