blob: 426f3596b0e119d9c71536de70d9bf0e7f34a625 [file] [log] [blame]
Lee Leahy77ff0b12015-05-05 15:07:29 -07001ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y)
2
Lee Leahy77ff0b12015-05-05 15:07:29 -07003subdirs-y += romstage
4subdirs-y += ../../../cpu/x86/lapic
5subdirs-y += ../../../cpu/x86/mtrr
6subdirs-y += ../../../cpu/x86/smm
7subdirs-y += ../../../cpu/x86/tsc
8subdirs-y += ../../../cpu/intel/microcode
9subdirs-y += ../../../cpu/intel/turbo
10
Lee Leahy32471722015-04-20 15:20:28 -070011romstage-y += gpio_support.c
Lee Leahy77ff0b12015-05-05 15:07:29 -070012romstage-y += iosf.c
Lee Leahyacb9c0b2015-07-02 11:55:18 -070013romstage-y += lpc_init.c
Lee Leahy32471722015-04-20 15:20:28 -070014romstage-y += memmap.c
15romstage-y += tsc_freq.c
16
Lee Leahy77ff0b12015-05-05 15:07:29 -070017ramstage-y += acpi.c
Lee Leahy32471722015-04-20 15:20:28 -070018ramstage-y += chip.c
19ramstage-y += cpu.c
Lee Leahy77ff0b12015-05-05 15:07:29 -070020ramstage-$(CONFIG_ELOG) += elog.c
Lee Leahy32471722015-04-20 15:20:28 -070021ramstage-y += emmc.c
22ramstage-y += gpio.c
23ifeq ($(CONFIG_GOP_SUPPORT),n)
24ramstage-y += gfx.c
25endif
Lee Leahy77ff0b12015-05-05 15:07:29 -070026ramstage-y += hda.c
Lee Leahy32471722015-04-20 15:20:28 -070027ramstage-y += iosf.c
28ramstage-y += lpe.c
29ramstage-y += lpss.c
30ramstage-y += memmap.c
31ramstage-y += northcluster.c
32ramstage-y += pcie.c
33ramstage-y += pmutil.c
34ramstage-y += ramstage.c
35ramstage-y += sata.c
36ramstage-y += scc.c
37ramstage-y += sd.c
38ramstage-y += smm.c
39ramstage-y += southcluster.c
40ramstage-y += spi.c
41ramstage-$(CONFIG_ALT_CBFS_LOAD_PAYLOAD) += spi_loading.c
42ramstage-y += tsc_freq.c
Lee Leahy77ff0b12015-05-05 15:07:29 -070043
44# Remove as ramstage gets fleshed out
45ramstage-y += placeholders.c
46
Lee Leahyacb9c0b2015-07-02 11:55:18 -070047smm-y += lpc_init.c
Lee Leahy32471722015-04-20 15:20:28 -070048smm-y += pmutil.c
49smm-y += smihandler.c
50smm-y += spi.c
51smm-y += tsc_freq.c
52
Alexandru Gagniuc1d857002015-09-09 22:38:06 -070053# cpu_microcode_bins += ???
54
Lee Leahy32471722015-04-20 15:20:28 -070055CPPFLAGS_common += -I$(src)/soc/intel/braswell/
56CPPFLAGS_common += -I$(src)/soc/intel/braswell/include
57
58CPPFLAGS_common += -I3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)
59
Lee Leahy77ff0b12015-05-05 15:07:29 -070060endif