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 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 5 | subdirs-$(CONFIG_SOC_INTEL_SKYLAKE_SP) += skx |
Andrey Petrov | 2e41075 | 2020-03-20 12:08:32 -0700 | [diff] [blame] | 6 | subdirs-$(CONFIG_SOC_INTEL_COOPERLAKE_SP) += cpx |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 7 | |
Rocky Phagura | c62c98a | 2020-05-23 20:29:00 -0700 | [diff] [blame] | 8 | bootblock-y += bootblock.c spi.c lpc.c gpio.c pch.c |
Arthur Heymans | 7f44929 | 2020-10-22 14:03:46 +0200 | [diff] [blame] | 9 | romstage-y += romstage.c reset.c util.c spi.c gpio.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 |
Marc Jones | 63e2a84 | 2020-12-02 11:33:02 -0700 | [diff] [blame] | 11 | ramstage-y += uncore.c reset.c util.c lpc.c spi.c gpio.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 |
Marc Jones | 63e2a84 | 2020-12-02 11:33:02 -0700 | [diff] [blame] | 14 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += nb_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 | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 22 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 23 | endif ## XEON_SP_COMMON_BASE |