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 | |
Jincheng Li | 3199802 | 2024-03-13 15:06:26 +0800 | [diff] [blame] | 11 | romstage-y += romstage.c soc_util.c |
Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 12 | romstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 13 | romstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
| 14 | |
Patrick Rudolph | cb92d28 | 2024-03-21 08:05:03 +0100 | [diff] [blame] | 15 | ramstage-y += chip.c cpu.c soc_util.c ramstage.c soc_acpi.c reset.c |
Arthur Heymans | 550f55e | 2022-08-24 14:44:26 +0200 | [diff] [blame] | 16 | ramstage-y += crashlog.c ioat.c |
Shuo Liu | ec58beb | 2024-03-11 07:14:07 +0800 | [diff] [blame] | 17 | ramstage-y += ../chip_gen1.c |
Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 18 | ramstage-$(CONFIG_DISPLAY_HOBS) += hob_display.c |
| 19 | ramstage-$(CONFIG_DISPLAY_UPD_DATA) += upd_display.c |
Jonathan Zhang | 3ed903f | 2023-01-25 11:37:27 -0800 | [diff] [blame] | 20 | CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/spr/include -I$(src)/soc/intel/xeon_sp/spr |
| 21 | |
| 22 | endif ## CONFIG_SOC_INTEL_SAPPHIRERAPIDS_SP |