97321db21d
De-duplicate and prepare for common ACPI. Move common northbridge ACPI code to nb_acpi.c. There are a few differences between the skx and cpx defined FSP hob names and CSTACKS that are managed with #if (CONFIG(SOC_INTEL_*_SP)). Change-Id: I47ab1df3474d18643ef5ffc8199e09ea3dd32ccf Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45850 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
17 lines
569 B
Makefile
17 lines
569 B
Makefile
## SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ifeq ($(CONFIG_XEON_SP_COMMON_BASE),y)
|
|
|
|
subdirs-$(CONFIG_SOC_INTEL_SKYLAKE_SP) += skx
|
|
subdirs-$(CONFIG_SOC_INTEL_COOPERLAKE_SP) += cpx
|
|
|
|
bootblock-y += bootblock.c spi.c lpc.c gpio.c pch.c
|
|
romstage-y += romstage.c reset.c util.c spi.c gpio.c pmutil.c
|
|
ramstage-y += uncore.c reset.c util.c lpc.c spi.c gpio.c nb_acpi.c
|
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c
|
|
postcar-y += spi.c
|
|
|
|
CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
|
|
CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)
|
|
|
|
endif ## XEON_SP_COMMON_BASE
|