2015-05-13 03:19:47 +02:00
|
|
|
ifeq ($(CONFIG_SOC_INTEL_SKYLAKE),y)
|
|
|
|
|
2015-11-24 19:35:06 +01:00
|
|
|
subdirs-y += nhlt
|
2015-05-13 03:19:47 +02:00
|
|
|
subdirs-y += romstage
|
2015-05-13 03:23:27 +02:00
|
|
|
subdirs-y += ../../../cpu/intel/microcode
|
|
|
|
subdirs-y += ../../../cpu/intel/turbo
|
2015-05-13 03:19:47 +02:00
|
|
|
subdirs-y += ../../../cpu/x86/lapic
|
|
|
|
subdirs-y += ../../../cpu/x86/mtrr
|
|
|
|
subdirs-y += ../../../cpu/x86/smm
|
|
|
|
subdirs-y += ../../../cpu/x86/tsc
|
|
|
|
|
2015-10-07 23:10:43 +02:00
|
|
|
verstage-y += gpio.c
|
|
|
|
verstage-y += memmap.c
|
|
|
|
verstage-y += monotonic_timer.c
|
|
|
|
verstage-y += pch.c
|
|
|
|
verstage-y += pmutil.c
|
|
|
|
verstage-y += pcr.c
|
|
|
|
verstage-y += tsc_freq.c
|
|
|
|
verstage-$(CONFIG_UART_DEBUG) += uart_debug.c
|
|
|
|
|
2015-07-14 13:16:40 +02:00
|
|
|
romstage-y += flash_controller.c
|
2015-05-13 03:23:27 +02:00
|
|
|
romstage-y += gpio.c
|
|
|
|
romstage-y += memmap.c
|
2015-08-28 08:58:18 +02:00
|
|
|
romstage-y += monotonic_timer.c
|
2015-05-13 03:23:27 +02:00
|
|
|
romstage-y += pch.c
|
|
|
|
romstage-y += pcr.c
|
|
|
|
romstage-y += pei_data.c
|
|
|
|
romstage-y += pmutil.c
|
|
|
|
romstage-y += smbus_common.c
|
|
|
|
romstage-y += tsc_freq.c
|
2015-07-30 23:52:56 +02:00
|
|
|
romstage-$(CONFIG_UART_DEBUG) += uart_debug.c
|
2015-05-13 03:23:27 +02:00
|
|
|
|
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += chip.c
|
|
|
|
ramstage-y += cpu.c
|
|
|
|
ramstage-y += cpu_info.c
|
2015-05-13 03:23:27 +02:00
|
|
|
ramstage-y += elog.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += finalize.c
|
2015-05-13 03:23:27 +02:00
|
|
|
ramstage-y += flash_controller.c
|
2015-09-28 11:42:08 +02:00
|
|
|
ramstage-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += fsp_reset.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += gpio.c
|
|
|
|
ramstage-y += igd.c
|
|
|
|
ramstage-y += lpc.c
|
2016-01-18 12:58:20 +01:00
|
|
|
ramstage-y += me_status.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += memmap.c
|
|
|
|
ramstage-y += monotonic_timer.c
|
|
|
|
ramstage-y += pch.c
|
|
|
|
ramstage-y += pcie.c
|
2015-05-13 03:23:27 +02:00
|
|
|
ramstage-y += pcr.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += pei_data.c
|
2015-05-13 03:23:27 +02:00
|
|
|
ramstage-y += pmc.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += pmutil.c
|
|
|
|
ramstage-y += ramstage.c
|
|
|
|
ramstage-y += smbus.c
|
|
|
|
ramstage-y += smbus_common.c
|
|
|
|
ramstage-y += smi.c
|
|
|
|
ramstage-y += smmrelocate.c
|
|
|
|
ramstage-y += systemagent.c
|
|
|
|
ramstage-y += tsc_freq.c
|
2015-05-13 03:23:27 +02:00
|
|
|
ramstage-y += uart.c
|
2015-07-30 23:52:56 +02:00
|
|
|
ramstage-$(CONFIG_UART_DEBUG) += uart_debug.c
|
2015-12-14 23:44:26 +01:00
|
|
|
ramstage-y += vr_config.c
|
2015-05-13 03:19:47 +02:00
|
|
|
ramstage-y += xhci.c
|
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
smm-y += cpu_info.c
|
|
|
|
smm-y += gpio.c
|
|
|
|
smm-y += monotonic_timer.c
|
|
|
|
smm-y += pcr.c
|
|
|
|
smm-y += pch.c
|
|
|
|
smm-y += pmutil.c
|
|
|
|
smm-y += smihandler.c
|
|
|
|
smm-$(CONFIG_SPI_FLASH_SMM) += flash_controller.c
|
|
|
|
smm-y += tsc_freq.c
|
2015-07-30 23:52:56 +02:00
|
|
|
smm-$(CONFIG_UART_DEBUG) += uart_debug.c
|
2015-05-13 03:23:27 +02:00
|
|
|
|
2015-09-10 07:38:06 +02:00
|
|
|
# cpu_microcode_bins += ???
|
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/skylake
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/skylake/include
|
2015-11-19 00:32:27 +01:00
|
|
|
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2015-09-10 00:05:06 +02:00
|
|
|
# Currently used for microcode path.
|
2015-05-13 03:23:27 +02:00
|
|
|
CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)
|
|
|
|
|
2015-12-15 00:53:21 +01:00
|
|
|
ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2
|
|
|
|
|
2015-05-13 03:19:47 +02:00
|
|
|
endif
|