Elyes HAOUAS | fbf3a47 | 2020-05-09 13:22:30 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-or-later |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 2 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 3 | ifeq ($(CONFIG_XEON_SP_COMMON_BASE),y) |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 4 | |
Tim Chu | 13c4445 | 2022-11-25 10:31:00 +0000 | [diff] [blame] | 5 | subdirs-$(CONFIG_SOC_INTEL_SKYLAKE_SP) += skx lbg |
| 6 | subdirs-$(CONFIG_SOC_INTEL_COOPERLAKE_SP) += cpx lbg |
Tim Chu | 84fe84d | 2022-12-13 12:11:45 +0000 | [diff] [blame] | 7 | subdirs-$(CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP) += spr ebg |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 8 | |
Naresh Solanki | 0813533 | 2022-12-05 11:42:10 +0100 | [diff] [blame] | 9 | bootblock-y += bootblock.c spi.c lpc.c pch.c report_platform.c |
Jincheng Li | 3199802 | 2024-03-13 15:06:26 +0800 | [diff] [blame] | 10 | romstage-y += romstage.c reset.c util.c spi.c pmutil.c memmap.c ddr.c |
Arthur Heymans | 1410224 | 2020-10-22 14:13:14 +0200 | [diff] [blame] | 11 | romstage-y += ../../../cpu/intel/car/romstage.c |
Tim Chu | 13c4445 | 2022-11-25 10:31:00 +0000 | [diff] [blame] | 12 | ramstage-y += uncore.c reset.c util.c lpc.c spi.c ramstage.c chip_common.c |
Marc Jones | 352ca5b | 2021-03-18 17:01:06 -0600 | [diff] [blame] | 13 | ramstage-y += memmap.c pch.c lockdown.c finalize.c |
Angel Pons | 6a2ece7 | 2021-04-17 13:30:40 +0200 | [diff] [blame] | 14 | ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c |
Johnny Lin | 2e1624f | 2023-03-13 09:18:29 +0800 | [diff] [blame] | 15 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += uncore_acpi.c acpi.c |
Shuo Liu | 64d2fd0 | 2023-03-29 20:14:11 +0800 | [diff] [blame] | 16 | ramstage-$(CONFIG_SOC_INTEL_HAS_CXL) += uncore_acpi_cxl.c numa.c |
Rocky Phagura | 17a798b | 2020-10-08 13:32:41 -0700 | [diff] [blame] | 17 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c |
Angel Pons | e882269 | 2021-05-23 12:40:09 +0200 | [diff] [blame] | 18 | smm-y += smihandler.c pmutil.c |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 19 | postcar-y += spi.c |
| 20 | |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 21 | subdirs-$(CONFIG_SOC_INTEL_XEON_RAS) += ras |
| 22 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 23 | CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include |
Jonathan Zhang | fe17a7d | 2022-08-08 15:38:54 -0700 | [diff] [blame] | 24 | CPPFLAGS_common += -include $(src)/soc/intel/xeon_sp/include/soc/fsp_upd.h |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 25 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 26 | endif ## XEON_SP_COMMON_BASE |