Martin Roth | 9231f0b | 2022-10-28 22:39:23 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 2 | ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y) |
| 3 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 4 | subdirs-y += romstage |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 5 | subdirs-y += ../../../cpu/intel/microcode |
| 6 | subdirs-y += ../../../cpu/intel/turbo |
Matt DeVillier | d3d0f07 | 2018-11-10 17:44:36 -0600 | [diff] [blame] | 7 | subdirs-y += ../../../cpu/intel/common |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 8 | |
Frans Hendriks | 4e0ec59 | 2019-06-06 10:07:17 +0200 | [diff] [blame] | 9 | bootblock-y += gpio_support.c |
| 10 | bootblock-y += bootblock/bootblock.c |
| 11 | bootblock-y += lpc_init.c |
| 12 | bootblock-y += pmutil.c |
| 13 | bootblock-y += tsc_freq.c |
| 14 | |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 15 | romstage-y += gpio_support.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 16 | romstage-y += iosf.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 17 | romstage-y += memmap.c |
Aaron Durbin | b19e33f | 2017-09-15 14:32:13 -0600 | [diff] [blame] | 18 | romstage-y += pmutil.c |
Michał Żygowski | 1119428 | 2019-03-27 10:39:55 +0100 | [diff] [blame] | 19 | romstage-y += smbus.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 20 | romstage-y += tsc_freq.c |
| 21 | |
Arthur Heymans | be291e8 | 2019-01-06 07:35:11 +0100 | [diff] [blame] | 22 | postcar-y += memmap.c |
| 23 | postcar-y += iosf.c |
Philipp Deppenwiese | 66f9a09 | 2018-11-08 10:59:40 +0100 | [diff] [blame] | 24 | postcar-y += tsc_freq.c |
| 25 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 26 | ramstage-y += acpi.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 27 | ramstage-y += chip.c |
| 28 | ramstage-y += cpu.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 29 | ramstage-$(CONFIG_ELOG) += elog.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 30 | ramstage-y += emmc.c |
Angel Pons | 6ee7751 | 2020-07-12 15:47:07 +0200 | [diff] [blame] | 31 | ramstage-y += fadt.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 32 | ramstage-y += gpio.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 33 | ramstage-y += gfx.c |
Frans Hendriks | 863853c | 2019-06-18 12:18:55 +0200 | [diff] [blame] | 34 | ramstage-y += smbus.c |
Matt DeVillier | a9492a6 | 2018-06-20 00:40:48 -0500 | [diff] [blame] | 35 | |
Subrata Banik | ed7275f | 2015-08-22 10:36:41 +0530 | [diff] [blame] | 36 | ramstage-y += gpio_support.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 37 | ramstage-y += iosf.c |
| 38 | ramstage-y += lpe.c |
| 39 | ramstage-y += lpss.c |
| 40 | ramstage-y += memmap.c |
| 41 | ramstage-y += northcluster.c |
| 42 | ramstage-y += pcie.c |
| 43 | ramstage-y += pmutil.c |
| 44 | ramstage-y += ramstage.c |
| 45 | ramstage-y += sata.c |
| 46 | ramstage-y += scc.c |
| 47 | ramstage-y += sd.c |
| 48 | ramstage-y += smm.c |
| 49 | ramstage-y += southcluster.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 50 | ramstage-y += tsc_freq.c |
shkim | cc728f0 | 2015-09-22 17:53:58 +0900 | [diff] [blame] | 51 | ramstage-y += xhci.c |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 52 | |
| 53 | # Remove as ramstage gets fleshed out |
| 54 | ramstage-y += placeholders.c |
Lee Leahy | acb9c0b | 2015-07-02 11:55:18 -0700 | [diff] [blame] | 55 | smm-y += lpc_init.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 56 | smm-y += pmutil.c |
| 57 | smm-y += smihandler.c |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 58 | smm-y += tsc_freq.c |
| 59 | |
Frans Hendriks | 9c90609 | 2019-05-10 15:00:46 +0200 | [diff] [blame] | 60 | verstage-y += pmutil.c |
| 61 | verstage-y += tsc_freq.c |
| 62 | |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 63 | CPPFLAGS_common += -I$(src)/soc/intel/braswell/ |
| 64 | CPPFLAGS_common += -I$(src)/soc/intel/braswell/include |
Matt DeVillier | fd7440d | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 65 | CPPFLAGS_common += -I$(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)) |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 66 | |
Michał Żygowski | 6e61c5e | 2020-03-04 18:32:37 +0100 | [diff] [blame] | 67 | cpu_microcode_bins += $(wildcard 3rdparty/intel-microcode/intel-ucode/06-4c-*) |
| 68 | |
Martin Roth | f812c44 | 2016-01-04 12:43:22 -0700 | [diff] [blame] | 69 | ifneq ($(CONFIG_VGA_BIOS_FILE),) |
| 70 | #we will assume that the vbios names will remain as they are now: vgabios.bin and vgabios_c0.bin |
| 71 | BRASWELL_C0_VBIOS= $(subst .bin,_c0.bin,$(call strip_quotes,$(CONFIG_VGA_BIOS_FILE))) |
| 72 | |
| 73 | cbfs-files-$(CONFIG_VGA_BIOS) += pci8086,22b1.rom |
| 74 | pci8086,22b1.rom-file := $(BRASWELL_C0_VBIOS) |
| 75 | pci8086,22b1.rom-type := optionrom |
Martin Roth | f812c44 | 2016-01-04 12:43:22 -0700 | [diff] [blame] | 76 | endif # ifneq ($(CONFIG_VGA_BIOS_FILE),) |
| 77 | |
| 78 | endif # ifeq ($(CONFIG_SOC_INTEL_BRASWELL),y) |