Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y) |
| 2 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 3 | subdirs-y += romstage |
| 4 | subdirs-y += ../../../cpu/x86/lapic |
| 5 | subdirs-y += ../../../cpu/x86/mtrr |
| 6 | subdirs-y += ../../../cpu/x86/smm |
| 7 | subdirs-y += ../../../cpu/x86/tsc |
| 8 | subdirs-y += ../../../cpu/intel/microcode |
| 9 | subdirs-y += ../../../cpu/intel/turbo |
| 10 | |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 11 | romstage-y += gpio_support.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 12 | romstage-y += iosf.c |
Lee Leahy | acb9c0b | 2015-07-02 11:55:18 -0700 | [diff] [blame] | 13 | romstage-y += lpc_init.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 14 | romstage-y += memmap.c |
| 15 | romstage-y += tsc_freq.c |
| 16 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 17 | ramstage-y += acpi.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 18 | ramstage-y += chip.c |
| 19 | ramstage-y += cpu.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 20 | ramstage-$(CONFIG_ELOG) += elog.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 21 | ramstage-y += emmc.c |
| 22 | ramstage-y += gpio.c |
| 23 | ifeq ($(CONFIG_GOP_SUPPORT),n) |
| 24 | ramstage-y += gfx.c |
| 25 | endif |
Subrata Banik | ed7275f | 2015-08-22 10:36:41 +0530 | [diff] [blame] | 26 | ramstage-y += gpio_support.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 27 | ramstage-y += hda.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 28 | ramstage-y += iosf.c |
| 29 | ramstage-y += lpe.c |
| 30 | ramstage-y += lpss.c |
| 31 | ramstage-y += memmap.c |
| 32 | ramstage-y += northcluster.c |
| 33 | ramstage-y += pcie.c |
| 34 | ramstage-y += pmutil.c |
| 35 | ramstage-y += ramstage.c |
| 36 | ramstage-y += sata.c |
| 37 | ramstage-y += scc.c |
| 38 | ramstage-y += sd.c |
| 39 | ramstage-y += smm.c |
| 40 | ramstage-y += southcluster.c |
| 41 | ramstage-y += spi.c |
| 42 | ramstage-$(CONFIG_ALT_CBFS_LOAD_PAYLOAD) += spi_loading.c |
| 43 | ramstage-y += tsc_freq.c |
shkim | cc728f0 | 2015-09-22 17:53:58 +0900 | [diff] [blame] | 44 | ramstage-y += xhci.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 45 | |
| 46 | # Remove as ramstage gets fleshed out |
| 47 | ramstage-y += placeholders.c |
Lee Leahy | acb9c0b | 2015-07-02 11:55:18 -0700 | [diff] [blame] | 48 | smm-y += lpc_init.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 49 | smm-y += pmutil.c |
| 50 | smm-y += smihandler.c |
| 51 | smm-y += spi.c |
| 52 | smm-y += tsc_freq.c |
| 53 | |
Alexandru Gagniuc | 1d85700 | 2015-09-09 22:38:06 -0700 | [diff] [blame] | 54 | # cpu_microcode_bins += ??? |
| 55 | |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 56 | CPPFLAGS_common += -I$(src)/soc/intel/braswell/ |
| 57 | CPPFLAGS_common += -I$(src)/soc/intel/braswell/include |
Stefan Reinauer | 1d05731 | 2015-11-18 15:32:27 -0800 | [diff] [blame] | 58 | CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/braswell |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 59 | |
Iru Cai | 2128d62 | 2016-09-02 16:37:39 +0800 | [diff] [blame] | 60 | CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(MAINBOARDDIR) |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 61 | |
Martin Roth | f812c44 | 2016-01-04 12:43:22 -0700 | [diff] [blame] | 62 | ifneq ($(CONFIG_GOP_SUPPORT),y) |
| 63 | ifneq ($(CONFIG_VGA_BIOS_FILE),) |
| 64 | #we will assume that the vbios names will remain as they are now: vgabios.bin and vgabios_c0.bin |
| 65 | BRASWELL_C0_VBIOS= $(subst .bin,_c0.bin,$(call strip_quotes,$(CONFIG_VGA_BIOS_FILE))) |
| 66 | |
| 67 | cbfs-files-$(CONFIG_VGA_BIOS) += pci8086,22b1.rom |
| 68 | pci8086,22b1.rom-file := $(BRASWELL_C0_VBIOS) |
| 69 | pci8086,22b1.rom-type := optionrom |
| 70 | |
| 71 | endif # ifneq ($(CONFIG_GOP_SUPPORT),y) |
| 72 | endif # ifneq ($(CONFIG_VGA_BIOS_FILE),) |
| 73 | |
| 74 | endif # ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y) |