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-07-01 12:26:49 +02:00
|
|
|
romstage-y += romstage.c reset.c util.c spi.c gpio.c pmutil.c
|
2020-10-15 22:32:51 +02:00
|
|
|
ramstage-y += uncore.c reset.c util.c lpc.c spi.c gpio.c nb_acpi.c ramstage.c chip_common.c
|
2020-06-11 20:18:02 +02:00
|
|
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += 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
|