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 |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 7 | |
Tim Chu | 13c4445 | 2022-11-25 10:31:00 +0000 | [diff] [blame] | 8 | bootblock-y += bootblock.c spi.c lpc.c pch.c |
| 9 | romstage-y += romstage.c reset.c util.c spi.c pmutil.c memmap.c |
Arthur Heymans | 1410224 | 2020-10-22 14:13:14 +0200 | [diff] [blame] | 10 | romstage-y += ../../../cpu/intel/car/romstage.c |
Tim Chu | 13c4445 | 2022-11-25 10:31:00 +0000 | [diff] [blame] | 11 | 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] | 12 | ramstage-y += memmap.c pch.c lockdown.c finalize.c |
Angel Pons | 6a2ece7 | 2021-04-17 13:30:40 +0200 | [diff] [blame] | 13 | ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_PMC) += pmc.c pmutil.c |
Johnny Lin | 2e1624f | 2023-03-13 09:18:29 +0800 | [diff] [blame^] | 14 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += uncore_acpi.c acpi.c |
Rocky Phagura | 17a798b | 2020-10-08 13:32:41 -0700 | [diff] [blame] | 15 | ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smmrelocate.c |
Angel Pons | e882269 | 2021-05-23 12:40:09 +0200 | [diff] [blame] | 16 | smm-y += smihandler.c pmutil.c |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 17 | postcar-y += spi.c |
| 18 | |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 19 | subdirs-$(CONFIG_SOC_INTEL_XEON_RAS) += ras |
| 20 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 21 | CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include |
Jonathan Zhang | fe17a7d | 2022-08-08 15:38:54 -0700 | [diff] [blame] | 22 | 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] | 23 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 24 | endif ## XEON_SP_COMMON_BASE |