blob: 9dd4cac8c31eb2547073f9dfa089c8f57d6e21d6 [file] [log] [blame]
Lee Leahyb0005132015-05-12 18:19:47 -07001ifeq ($(CONFIG_SOC_INTEL_SKYLAKE),y)
2
Lee Leahyb0005132015-05-12 18:19:47 -07003subdirs-y += romstage
Lee Leahy1d14b3e2015-05-12 18:23:27 -07004subdirs-y += ../../../cpu/intel/microcode
5subdirs-y += ../../../cpu/intel/turbo
Lee Leahyb0005132015-05-12 18:19:47 -07006subdirs-y += ../../../cpu/x86/lapic
7subdirs-y += ../../../cpu/x86/mtrr
8subdirs-y += ../../../cpu/x86/smm
9subdirs-y += ../../../cpu/x86/tsc
Lee Leahyb0005132015-05-12 18:19:47 -070010
Aaron Durbinb66d6732015-10-07 16:10:43 -050011verstage-y += gpio.c
12verstage-y += memmap.c
13verstage-y += monotonic_timer.c
14verstage-y += pch.c
15verstage-y += pmutil.c
16verstage-y += pcr.c
17verstage-y += tsc_freq.c
18verstage-$(CONFIG_UART_DEBUG) += uart_debug.c
19
Subratad92f6122015-07-14 16:46:40 +053020romstage-y += flash_controller.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070021romstage-y += gpio.c
22romstage-y += memmap.c
Aaron Durbinbdc1c872015-08-28 01:58:18 -050023romstage-y += monotonic_timer.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070024romstage-y += pch.c
25romstage-y += pcr.c
26romstage-y += pei_data.c
27romstage-y += pmutil.c
28romstage-y += smbus_common.c
29romstage-y += tsc_freq.c
Aaron Durbine33a1722015-07-30 16:52:56 -050030romstage-$(CONFIG_UART_DEBUG) += uart_debug.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070031
32ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
Lee Leahyb0005132015-05-12 18:19:47 -070033ramstage-y += chip.c
34ramstage-y += cpu.c
35ramstage-y += cpu_info.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070036ramstage-y += elog.c
Lee Leahyb0005132015-05-12 18:19:47 -070037ramstage-y += finalize.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070038ramstage-y += flash_controller.c
Lee Leahyb0005132015-05-12 18:19:47 -070039ramstage-y += gpio.c
Lee Leahyb0005132015-05-12 18:19:47 -070040ramstage-y += igd.c
Lee Leahyb0005132015-05-12 18:19:47 -070041ramstage-y += lpc.c
Lee Leahyb0005132015-05-12 18:19:47 -070042ramstage-y += memmap.c
Lee Leahyb0005132015-05-12 18:19:47 -070043ramstage-y += monotonic_timer.c
Lee Leahyb0005132015-05-12 18:19:47 -070044ramstage-y += pch.c
Lee Leahyb0005132015-05-12 18:19:47 -070045ramstage-y += pcie.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070046ramstage-y += pcr.c
Lee Leahyb0005132015-05-12 18:19:47 -070047ramstage-y += pei_data.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070048ramstage-y += pmc.c
Lee Leahyb0005132015-05-12 18:19:47 -070049ramstage-y += pmutil.c
Lee Leahyb0005132015-05-12 18:19:47 -070050ramstage-y += ramstage.c
Lee Leahyb0005132015-05-12 18:19:47 -070051ramstage-y += smbus.c
52ramstage-y += smbus_common.c
Lee Leahyb0005132015-05-12 18:19:47 -070053ramstage-y += smi.c
Lee Leahyb0005132015-05-12 18:19:47 -070054ramstage-y += smmrelocate.c
Lee Leahyb0005132015-05-12 18:19:47 -070055ramstage-y += systemagent.c
56ramstage-y += tsc_freq.c
Lee Leahy1d14b3e2015-05-12 18:23:27 -070057ramstage-y += uart.c
Aaron Durbine33a1722015-07-30 16:52:56 -050058ramstage-$(CONFIG_UART_DEBUG) += uart_debug.c
Lee Leahyb0005132015-05-12 18:19:47 -070059ramstage-y += xhci.c
Lee Leahyb0005132015-05-12 18:19:47 -070060
Lee Leahy1d14b3e2015-05-12 18:23:27 -070061smm-y += cpu_info.c
62smm-y += gpio.c
63smm-y += monotonic_timer.c
64smm-y += pcr.c
65smm-y += pch.c
66smm-y += pmutil.c
67smm-y += smihandler.c
68smm-$(CONFIG_SPI_FLASH_SMM) += flash_controller.c
69smm-y += tsc_freq.c
Aaron Durbine33a1722015-07-30 16:52:56 -050070smm-$(CONFIG_UART_DEBUG) += uart_debug.c
Lee Leahyb0005132015-05-12 18:19:47 -070071
Alexandru Gagniuc1d857002015-09-09 22:38:06 -070072# cpu_microcode_bins += ???
73
Lee Leahy1d14b3e2015-05-12 18:23:27 -070074CPPFLAGS_common += -I$(src)/soc/intel/skylake
75CPPFLAGS_common += -I$(src)/soc/intel/skylake/include
Stefan Reinauer1d057312015-11-18 15:32:27 -080076CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake
Lee Leahy1d14b3e2015-05-12 18:23:27 -070077
Aaron Durbin789f2b62015-09-09 17:05:06 -050078# Currently used for microcode path.
Lee Leahy1d14b3e2015-05-12 18:23:27 -070079CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)
80
Stefan Reinauer490006b2015-12-14 15:53:21 -080081ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2
82
Lee Leahyb0005132015-05-12 18:19:47 -070083endif