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-03-22 12:57:36 +01:00
|
|
|
bootblock-y += bootblock.c spi.c lpc.c gpio.c
|
|
|
|
romstage-y += romstage.c reset.c util.c spi.c gpio.c
|
|
|
|
ramstage-y += uncore.c reset.c util.c lpc.c spi.c gpio.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
|