mb/system76/cml-u/dt: Make use of chipset devicetree
[coreboot.git] / src / soc / intel / xeon_sp / Makefile.mk
blob35b998c850d4db2bbc1daa4b255a78e78d36b891
1 ## SPDX-License-Identifier: GPL-2.0-or-later
3 ifeq ($(CONFIG_XEON_SP_COMMON_BASE),y)
5 subdirs-$(CONFIG_SOC_INTEL_SKYLAKE_SP) += skx lbg
6 subdirs-$(CONFIG_SOC_INTEL_COOPERLAKE_SP) += cpx lbg
7 subdirs-$(CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP) += spr ebg
8 ## TODO: GNR IBL codes are initially reused from EBG, will update later.
9 subdirs-$(CONFIG_SOC_INTEL_GRANITERAPIDS) += gnr ebg
11 bootblock-y += bootblock.c spi.c lpc.c pch.c report_platform.c
12 romstage-y += romstage.c reset.c util.c spi.c pmutil.c memmap.c ddr.c
13 romstage-y += config.c
14 romstage-y += ../../../cpu/intel/car/romstage.c
15 ramstage-y += uncore.c reset.c util.c lpc.c spi.c ramstage.c chip_common.c
16 ramstage-y += memmap.c pch.c lockdown.c finalize.c
17 ramstage-y += numa.c
18 ramstage-y += config.c
19 ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c
20 ramstage-$(CONFIG_HAVE_ACPI_TABLES) += uncore_acpi.c acpi.c
21 ramstage-$(CONFIG_SOC_INTEL_HAS_CXL) += uncore_acpi_cxl.c
22 ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
23 ramstage-$(CONFIG_XEON_SP_HAVE_IIO_IOAPIC) += iio_ioapic.c
24 smm-y += smihandler.c pmutil.c
25 postcar-y += spi.c
27 subdirs-$(CONFIG_SOC_INTEL_XEON_RAS) += ras
29 CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
30 CPPFLAGS_common += -include $(src)/soc/intel/xeon_sp/include/soc/fsp_upd.h
32 endif ## XEON_SP_COMMON_BASE