Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | ifeq ($(CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP),y) |
| 4 | |
| 5 | subdirs-y += ../../../../cpu/intel/turbo |
| 6 | subdirs-y += ../../../../cpu/x86/lapic |
| 7 | subdirs-y += ../../../../cpu/x86/mtrr |
| 8 | subdirs-y += ../../../../cpu/x86/tsc |
| 9 | subdirs-y += ../../../../cpu/intel/microcode |
| 10 | |
| 11 | romstage-y += romstage.c soc_util.c ddr.c |
| 12 | romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 13 | romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| 14 | |
| 15 | ramstage-y += chip.c cpu.c soc_util.c ramstage.c soc_acpi.c xhci.c numa.c reset.c |
Arthur Heymans | 550f55e | 2022-08-24 14:44:26 +0200 | [diff] [blame] | 16 | ramstage-y += crashlog.c ioat.c |
Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 17 | ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 18 | ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 19 | CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/spr/include -I$(src)/soc/intel/xeon_sp/spr |
| 20 | |
| 21 | endif ## CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP |