Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_INTEL_SKYLAKE),y) |
| 2 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 3 | subdirs-y += romstage |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 4 | subdirs-y += ../../../cpu/intel/microcode |
| 5 | subdirs-y += ../../../cpu/intel/turbo |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 6 | subdirs-y += ../../../cpu/x86/lapic |
| 7 | subdirs-y += ../../../cpu/x86/mtrr |
| 8 | subdirs-y += ../../../cpu/x86/smm |
| 9 | subdirs-y += ../../../cpu/x86/tsc |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 10 | |
Aaron Durbin | b66d673 | 2015-10-07 16:10:43 -0500 | [diff] [blame] | 11 | verstage-y += gpio.c |
| 12 | verstage-y += memmap.c |
| 13 | verstage-y += monotonic_timer.c |
| 14 | verstage-y += pch.c |
| 15 | verstage-y += pmutil.c |
| 16 | verstage-y += pcr.c |
| 17 | verstage-y += tsc_freq.c |
| 18 | verstage-$(CONFIG_UART_DEBUG) += uart_debug.c |
| 19 | |
Subrata | d92f612 | 2015-07-14 16:46:40 +0530 | [diff] [blame] | 20 | romstage-y += flash_controller.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 21 | romstage-y += gpio.c |
| 22 | romstage-y += memmap.c |
Aaron Durbin | bdc1c87 | 2015-08-28 01:58:18 -0500 | [diff] [blame] | 23 | romstage-y += monotonic_timer.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 24 | romstage-y += pch.c |
| 25 | romstage-y += pcr.c |
| 26 | romstage-y += pei_data.c |
| 27 | romstage-y += pmutil.c |
| 28 | romstage-y += smbus_common.c |
| 29 | romstage-y += tsc_freq.c |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 30 | romstage-$(CONFIG_UART_DEBUG) += uart_debug.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 31 | |
| 32 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 33 | ramstage-y += chip.c |
| 34 | ramstage-y += cpu.c |
| 35 | ramstage-y += cpu_info.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 36 | ramstage-y += elog.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 37 | ramstage-y += finalize.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 38 | ramstage-y += flash_controller.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 39 | ramstage-y += gpio.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 40 | ramstage-y += igd.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 41 | ramstage-y += lpc.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 42 | ramstage-y += memmap.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 43 | ramstage-y += monotonic_timer.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 44 | ramstage-y += pch.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 45 | ramstage-y += pcie.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 46 | ramstage-y += pcr.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 47 | ramstage-y += pei_data.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 48 | ramstage-y += pmc.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 49 | ramstage-y += pmutil.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 50 | ramstage-y += ramstage.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 51 | ramstage-y += smbus.c |
| 52 | ramstage-y += smbus_common.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 53 | ramstage-y += smi.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 54 | ramstage-y += smmrelocate.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 55 | ramstage-y += systemagent.c |
| 56 | ramstage-y += tsc_freq.c |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 57 | ramstage-y += uart.c |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 58 | ramstage-$(CONFIG_UART_DEBUG) += uart_debug.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 59 | ramstage-y += xhci.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 60 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 61 | smm-y += cpu_info.c |
| 62 | smm-y += gpio.c |
| 63 | smm-y += monotonic_timer.c |
| 64 | smm-y += pcr.c |
| 65 | smm-y += pch.c |
| 66 | smm-y += pmutil.c |
| 67 | smm-y += smihandler.c |
| 68 | smm-$(CONFIG_SPI_FLASH_SMM) += flash_controller.c |
| 69 | smm-y += tsc_freq.c |
Aaron Durbin | e33a172 | 2015-07-30 16:52:56 -0500 | [diff] [blame] | 70 | smm-$(CONFIG_UART_DEBUG) += uart_debug.c |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 71 | |
Alexandru Gagniuc | 1d85700 | 2015-09-09 22:38:06 -0700 | [diff] [blame] | 72 | # cpu_microcode_bins += ??? |
| 73 | |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 74 | CPPFLAGS_common += -I$(src)/soc/intel/skylake |
| 75 | CPPFLAGS_common += -I$(src)/soc/intel/skylake/include |
Stefan Reinauer | 1d05731 | 2015-11-18 15:32:27 -0800 | [diff] [blame] | 76 | CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/skylake |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 77 | |
Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 78 | # Currently used for microcode path. |
Lee Leahy | 1d14b3e | 2015-05-12 18:23:27 -0700 | [diff] [blame] | 79 | CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR) |
| 80 | |
Stefan Reinauer | 490006b | 2015-12-14 15:53:21 -0800 | [diff] [blame] | 81 | ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2 |
| 82 | |
Lee Leahy | b000513 | 2015-05-12 18:19:47 -0700 | [diff] [blame] | 83 | endif |