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 |
Shuo Liu | a5487ba | 2024-03-18 00:42:42 +0800 | [diff] [blame] | 8 | ## TODO: GNR IBL codes are initially reused from EBG, will update later. |
| 9 | subdirs-$(CONFIG_SOC_INTEL_GRANITERAPIDS) += gnr ebg |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 10 | |
Naresh Solanki | 0813533 | 2022-12-05 11:42:10 +0100 | [diff] [blame] | 11 | 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] | 12 | romstage-y += romstage.c reset.c util.c spi.c pmutil.c memmap.c ddr.c |
Shuo Liu | c2ed5ea | 2024-05-11 03:23:23 +0800 | [diff] [blame^] | 13 | romstage-y += config.c |
Arthur Heymans | 1410224 | 2020-10-22 14:13:14 +0200 | [diff] [blame] | 14 | romstage-y += ../../../cpu/intel/car/romstage.c |
Tim Chu | 13c4445 | 2022-11-25 10:31:00 +0000 | [diff] [blame] | 15 | 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] | 16 | ramstage-y += memmap.c pch.c lockdown.c finalize.c |
Shuo Liu | 1c39bcc | 2024-03-26 22:57:18 +0800 | [diff] [blame] | 17 | ramstage-y += numa.c |
Shuo Liu | c2ed5ea | 2024-05-11 03:23:23 +0800 | [diff] [blame^] | 18 | ramstage-y += config.c |
Angel Pons | 6a2ece7 | 2021-04-17 13:30:40 +0200 | [diff] [blame] | 19 | ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c |
Johnny Lin | 2e1624f | 2023-03-13 09:18:29 +0800 | [diff] [blame] | 20 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += uncore_acpi.c acpi.c |
Shuo Liu | 1c39bcc | 2024-03-26 22:57:18 +0800 | [diff] [blame] | 21 | ramstage-$(CONFIG_SOC_INTEL_HAS_CXL) += uncore_acpi_cxl.c |
Rocky Phagura | 17a798b | 2020-10-08 13:32:41 -0700 | [diff] [blame] | 22 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c |
Shuo Liu | e43f387 | 2024-04-06 05:13:27 +0800 | [diff] [blame] | 23 | ramstage-$(CONFIG_XEON_SP_HAVE_IIO_IOAPIC) += iio_ioapic.c |
Angel Pons | e882269 | 2021-05-23 12:40:09 +0200 | [diff] [blame] | 24 | smm-y += smihandler.c pmutil.c |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 25 | postcar-y += spi.c |
| 26 | |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 27 | subdirs-$(CONFIG_SOC_INTEL_XEON_RAS) += ras |
| 28 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 29 | CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include |
Jonathan Zhang | fe17a7d | 2022-08-08 15:38:54 -0700 | [diff] [blame] | 30 | 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] | 31 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 32 | endif ## XEON_SP_COMMON_BASE |