2020-05-09 13:22:30 +02:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-or-later
|
2020-01-16 20:16:45 +01:00
|
|
|
|
2020-03-17 06:46:57 +01:00
|
|
|
ifeq ($(CONFIG_XEON_SP_COMMON_BASE),y)
|
2020-01-16 20:16:45 +01:00
|
|
|
|
2020-03-17 06:46:57 +01:00
|
|
|
subdirs-$(CONFIG_SOC_INTEL_SKYLAKE_SP) += skx
|
2020-03-20 20:08:32 +01:00
|
|
|
subdirs-$(CONFIG_SOC_INTEL_COOPERLAKE_SP) += cpx
|
2020-01-16 20:16:45 +01:00
|
|
|
|
2020-05-24 05:29:00 +02:00
|
|
|
bootblock-y += bootblock.c spi.c lpc.c gpio.c pch.c
|
2020-10-22 14:03:46 +02:00
|
|
|
romstage-y += romstage.c reset.c util.c spi.c gpio.c pmutil.c memmap.c
|
2020-10-22 14:13:14 +02:00
|
|
|
romstage-y += ../../../cpu/intel/car/romstage.c
|
2020-12-02 19:33:02 +01:00
|
|
|
ramstage-y += uncore.c reset.c util.c lpc.c spi.c gpio.c ramstage.c chip_common.c
|
2020-11-12 21:17:56 +01:00
|
|
|
ramstage-y += memmap.c pch.c
|
2020-06-11 20:18:02 +02:00
|
|
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c
|
2020-12-02 19:33:02 +01:00
|
|
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += nb_acpi.c acpi.c
|
2020-10-08 22:32:41 +02:00
|
|
|
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c
|
|
|
|
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c pmc.c
|
2020-01-16 20:16:45 +01:00
|
|
|
postcar-y += spi.c
|
|
|
|
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
|
|
|
|
CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)
|
|
|
|
|
2020-03-17 06:46:57 +01:00
|
|
|
endif ## XEON_SP_COMMON_BASE
|